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 (testCanonicalPath);
15 CPPUNIT_TEST (testTouchFile);
16 CPPUNIT_TEST (testStatFile);
17 CPPUNIT_TEST_SUITE_END ();
20 void testPathIsWithin ();
21 void testCopyFileASCIIFilename ();
22 void testCopyFileUTF8Filename ();
23 void testOpenFileUTF8Filename ();
24 void testFindFilesMatchingPattern ();
25 void testClearDirectory ();
26 void testRemoveDirectory ();
27 void testCanonicalPath ();
28 void testTouchFile ();