FileNameTest.h 593 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef FILENAMETEST_H
  2. #define FILENAMETEST_H
  3. #include <cppunit/extensions/HelperMacros.h>
  4. #include "core/basics/FileName.h"
  5. /**
  6. * CppUnit-Testcase.
  7. * Tests for FileName.
  8. */
  9. class FileNameTest : public CppUnit::TestFixture {
  10. CPPUNIT_TEST_SUITE( FileNameTest );
  11. CPPUNIT_TEST( testFileName );
  12. CPPUNIT_TEST( testFileNameSlash );
  13. CPPUNIT_TEST_SUITE_END();
  14. private:
  15. public:
  16. void setUp();
  17. void tearDown();
  18. /**
  19. * Test FileName
  20. */
  21. void testFileName();
  22. /**
  23. * Test FileName addSlash/removeSlash
  24. */
  25. void testFileNameSlash();
  26. };
  27. #endif // FILENAMETEST_H