1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-05-07 19:27:19 +02:00

Major plugin refactor and cleanup.

Switched to POCO library for unified platform/library interface.
Deprecated the external module API. It was creating more problems than solving.
Removed most built-in libraries in favor of system libraries for easier maintenance.
Cleaned and secured code with help from static analyzers.
This commit is contained in:
Sandu Liviu Catalin
2021-01-30 08:51:39 +02:00
parent e0e34b4030
commit 4a6bfc086c
6219 changed files with 1209835 additions and 454916 deletions
+48
View File
@@ -0,0 +1,48 @@
//
// 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