mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-04-07 04:47:14 +02:00
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.
66 lines
1.2 KiB
C++
66 lines
1.2 KiB
C++
//
|
|
// PathTest.h
|
|
//
|
|
// Definition of the PathTest class.
|
|
//
|
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef PathTest_INCLUDED
|
|
#define PathTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class PathTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
PathTest(const std::string& name);
|
|
~PathTest();
|
|
|
|
void testParseUnix1();
|
|
void testParseUnix2();
|
|
void testParseUnix3();
|
|
void testParseUnix4();
|
|
void testParseUnix5();
|
|
void testParseWindows1();
|
|
void testParseWindows2();
|
|
void testParseWindows3();
|
|
void testParseWindows4();
|
|
void testParseVMS1();
|
|
void testParseVMS2();
|
|
void testParseVMS3();
|
|
void testParseVMS4();
|
|
void testParseGuess();
|
|
void testTryParse();
|
|
void testStatics();
|
|
void testBaseNameExt();
|
|
void testAbsolute();
|
|
void testRobustness();
|
|
void testParent();
|
|
void testForDirectory();
|
|
void testExpand();
|
|
void testListRoots();
|
|
void testFind();
|
|
void testSwap();
|
|
void testResolve();
|
|
void testPushPop();
|
|
void testWindowsSystem();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // PathTest_INCLUDED
|