c200bb2ba7d92ad2fd14b8ba7084c2733c6e1de5
[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_SUITE_END ();
16
17 public:
18         void testPathIsWithin ();
19         void testCopyFileASCIIFilename ();
20         void testCopyFileUTF8Filename ();
21         void testOpenFileUTF8Filename ();
22         void testFindFilesMatchingPattern ();
23         void testClearDirectory ();
24         void testRemoveDirectory ();
25         void testCanonicalPath ();
26 };
27