ziptest.cxx (f8e2c85a) ziptest.cxx (86e1cf34)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 63 unchanged lines hidden (view full) ---

72 CPPUNIT_ASSERT_MESSAGE("Content in zip file was not found.", isPassed);
73}
74
75//------------------------------------------------
76void Test::test_getContent()
77{
78 TestZipImpl testImpl(documentName.c_str());
79 bool isPassed = testImpl.test_getContent();
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 63 unchanged lines hidden (view full) ---

72 CPPUNIT_ASSERT_MESSAGE("Content in zip file was not found.", isPassed);
73}
74
75//------------------------------------------------
76void Test::test_getContent()
77{
78 TestZipImpl testImpl(documentName.c_str());
79 bool isPassed = testImpl.test_getContent();
80 CPPUNIT_ASSERT_MESSAGE("Couldn't recieve content buffer form zipfile.", isPassed);
80 CPPUNIT_ASSERT_MESSAGE("Couldn't receive content buffer form zipfile.", isPassed);
81}
82
83//#####################################
84// register test suites
85
86CPPUNIT_PLUGIN_IMPLEMENT();
87
81}
82
83//#####################################
84// register test suites
85
86CPPUNIT_PLUGIN_IMPLEMENT();
87