| 1 | // | 
|---|
| 2 | // PathTest.h | 
|---|
| 3 | // | 
|---|
| 4 | // Definition of the PathTest class. | 
|---|
| 5 | // | 
|---|
| 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. | 
|---|
| 7 | // and Contributors. | 
|---|
| 8 | // | 
|---|
| 9 | // SPDX-License-Identifier:	BSL-1.0 | 
|---|
| 10 | // | 
|---|
| 11 |  | 
|---|
| 12 |  | 
|---|
| 13 | #ifndef PathTest_INCLUDED | 
|---|
| 14 | #define PathTest_INCLUDED | 
|---|
| 15 |  | 
|---|
| 16 |  | 
|---|
| 17 | #include "Poco/Foundation.h" | 
|---|
| 18 | #include "Poco/CppUnit/TestCase.h" | 
|---|
| 19 |  | 
|---|
| 20 |  | 
|---|
| 21 | class PathTest: public CppUnit::TestCase | 
|---|
| 22 | { | 
|---|
| 23 | public: | 
|---|
| 24 | PathTest(const std::string& name); | 
|---|
| 25 | ~PathTest(); | 
|---|
| 26 |  | 
|---|
| 27 | void testParseUnix1(); | 
|---|
| 28 | void testParseUnix2(); | 
|---|
| 29 | void testParseUnix3(); | 
|---|
| 30 | void testParseUnix4(); | 
|---|
| 31 | void testParseUnix5(); | 
|---|
| 32 | void testExpandVariableFromPath(); | 
|---|
| 33 | void testParseWindows1(); | 
|---|
| 34 | void testParseWindows2(); | 
|---|
| 35 | void testParseWindows3(); | 
|---|
| 36 | void testParseWindows4(); | 
|---|
| 37 | void testParseWindows5(); | 
|---|
| 38 | void testParseVMS1(); | 
|---|
| 39 | void testParseVMS2(); | 
|---|
| 40 | void testParseVMS3(); | 
|---|
| 41 | void testParseVMS4(); | 
|---|
| 42 | void testParseGuess(); | 
|---|
| 43 | void testTryParse(); | 
|---|
| 44 | void testStatics(); | 
|---|
| 45 | void testBaseNameExt(); | 
|---|
| 46 | void testAbsolute(); | 
|---|
| 47 | void testRobustness(); | 
|---|
| 48 | void testParent(); | 
|---|
| 49 | void testForDirectory(); | 
|---|
| 50 | void testExpand(); | 
|---|
| 51 | void testListRoots(); | 
|---|
| 52 | void testFind(); | 
|---|
| 53 | void testSwap(); | 
|---|
| 54 | void testResolve(); | 
|---|
| 55 | void testPushPop(); | 
|---|
| 56 | void testWindowsSystem(); | 
|---|
| 57 |  | 
|---|
| 58 | void setUp(); | 
|---|
| 59 | void tearDown(); | 
|---|
| 60 |  | 
|---|
| 61 | static CppUnit::Test* suite(); | 
|---|
| 62 |  | 
|---|
| 63 | private: | 
|---|
| 64 | }; | 
|---|
| 65 |  | 
|---|
| 66 |  | 
|---|
| 67 | #endif // PathTest_INCLUDED | 
|---|
| 68 |  | 
|---|