0274d61139a524eb7fceeac5073f5f196119b79e
[ardour.git] / libs / pbd / test / filesystem_test.h
1 #include <cppunit/TestFixture.h>
2 #include <cppunit/extensions/HelperMacros.h>
3
4 class FilesystemTest : public CppUnit::TestFixture
5 {
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 ();
18
19 public:
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 ();
29         void testStatFile ();
30 };
31