2012-05-28 12:48:39 -04:00
|
|
|
#include <cppunit/TestFixture.h>
|
|
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
|
|
|
|
class FilesystemTest : public CppUnit::TestFixture
|
|
|
|
{
|
|
|
|
CPPUNIT_TEST_SUITE (FilesystemTest);
|
|
|
|
CPPUNIT_TEST (testPathIsWithin);
|
2014-06-24 23:51:58 -04:00
|
|
|
CPPUNIT_TEST (testCopyFileASCIIFilename);
|
|
|
|
CPPUNIT_TEST (testCopyFileUTF8Filename);
|
2015-07-25 02:33:54 -04:00
|
|
|
CPPUNIT_TEST (testOpenFileUTF8Filename);
|
2014-06-24 07:27:37 -04:00
|
|
|
CPPUNIT_TEST (testFindFilesMatchingPattern);
|
2014-06-25 07:43:15 -04:00
|
|
|
CPPUNIT_TEST (testClearDirectory);
|
|
|
|
CPPUNIT_TEST (testRemoveDirectory);
|
2014-12-02 08:40:50 -05:00
|
|
|
CPPUNIT_TEST (testCanonicalPath);
|
2012-05-28 12:48:39 -04:00
|
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
|
|
|
|
public:
|
|
|
|
void testPathIsWithin ();
|
2014-06-24 23:51:58 -04:00
|
|
|
void testCopyFileASCIIFilename ();
|
|
|
|
void testCopyFileUTF8Filename ();
|
2015-07-25 02:33:54 -04:00
|
|
|
void testOpenFileUTF8Filename ();
|
2014-06-24 07:27:37 -04:00
|
|
|
void testFindFilesMatchingPattern ();
|
2014-06-25 07:43:15 -04:00
|
|
|
void testClearDirectory ();
|
|
|
|
void testRemoveDirectory ();
|
2014-12-02 08:40:50 -05:00
|
|
|
void testCanonicalPath ();
|
2012-05-28 12:48:39 -04:00
|
|
|
};
|
|
|
|
|