| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // CompressTest.h
- //
- // Definition of the CompressTest class.
- //
- // Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
- // and Contributors.
- //
- // SPDX-License-Identifier: BSL-1.0
- //
- #ifndef CompressTest_INCLUDED
- #define CompressTest_INCLUDED
- #include "Poco/Zip/Zip.h"
- #include "CppUnit/TestCase.h"
- class CompressTest: public CppUnit::TestCase
- {
- public:
- CompressTest(const std::string& name);
- ~CompressTest();
- void testSingleFile();
- void testDirectory();
- void testManipulator();
- void testManipulatorDel();
- void testManipulatorReplace();
- void testSetZipComment();
- static const Poco::UInt64 KB = 1024;
- static const Poco::UInt64 MB = 1024*KB;
- void createDataFile(const std::string& path, Poco::UInt64 size);
- void testZip64();
- void setUp();
- void tearDown();
- static CppUnit::Test* suite();
- private:
- };
- #endif // CompressTest_INCLUDED
|