test_utils.h 771 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef TESTS_UTILS_TEST_UTILS_H
  2. #define TESTS_UTILS_TEST_UTILS_H
  3. #include <QtTest>
  4. namespace tests
  5. {
  6. class TestUtils : public QObject
  7. {
  8. Q_OBJECT
  9. private slots:
  10. // Define test cases here per slot.
  11. // PathUtils Tests.
  12. void testParentDirPath_data();
  13. void testParentDirPath();
  14. void testCleanPath_data();
  15. void testCleanPath();
  16. void testAreSamePaths_data();
  17. void testAreSamePaths();
  18. void testPathContains_data();
  19. void testPathContains();
  20. void testConcatenateFilePath_data();
  21. void testConcatenateFilePath();
  22. // FileUtils Tests.
  23. void testRenameFile();
  24. void testIsText();
  25. };
  26. } // ns tests
  27. #endif // TESTS_UTILS_TEST_UTILS_H