1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef FILENAMETEST_H
- #define FILENAMETEST_H
- #include <cppunit/extensions/HelperMacros.h>
- #include "core/basics/FileName.h"
- /**
- * CppUnit-Testcase.
- * Tests for FileName.
- */
- class FileNameTest : public CppUnit::TestFixture {
- CPPUNIT_TEST_SUITE( FileNameTest );
- CPPUNIT_TEST( testFileName );
- CPPUNIT_TEST( testFileNameSlash );
- CPPUNIT_TEST( testPathRelative );
- CPPUNIT_TEST_SUITE_END();
-
- private:
-
- public:
- void setUp();
- void tearDown();
- /**
- * Test FileName
- */
- void testFileName();
- /**
- * Test FileName addSlash/removeSlash
- */
- void testFileNameSlash();
- /**
- * Test FileName for relative and absolute path recognition
- */
- void testPathRelative();
- };
- #endif // FILENAMETEST_H
|