1 #include <cppunit/TestFixture.h>
2 #include <cppunit/extensions/HelperMacros.h>
4 class FilesystemTest : public CppUnit::TestFixture
6 CPPUNIT_TEST_SUITE (FilesystemTest);
7 CPPUNIT_TEST (testPathIsWithin);
8 CPPUNIT_TEST (testCopyFileASCIIFilename);
9 CPPUNIT_TEST (testCopyFileUTF8Filename);
10 CPPUNIT_TEST (testOpenFileUTF8Filename);
11 CPPUNIT_TEST (testFindFilesMatchingPattern);
12 CPPUNIT_TEST (testClearDirectory);
13 CPPUNIT_TEST (testRemoveDirectory);
14 CPPUNIT_TEST (testCanonicalPathASCII);
15 CPPUNIT_TEST (testCanonicalPathUTF8);
16 CPPUNIT_TEST (testTouchFile);
17 CPPUNIT_TEST (testStatFile);
18 CPPUNIT_TEST_SUITE_END ();
21 void testPathIsWithin ();
22 void testCopyFileASCIIFilename ();
23 void testCopyFileUTF8Filename ();
24 void testOpenFileUTF8Filename ();
25 void testFindFilesMatchingPattern ();
26 void testClearDirectory ();
27 void testRemoveDirectory ();
28 void testCanonicalPathASCII ();
29 void testCanonicalPathUTF8 ();
30 void testTouchFile ();