2
0

BsFileSystemTestSuite.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "Testing/BsTestSuite.h"
  5. namespace bs
  6. {
  7. class BS_UTILITY_EXPORT FileSystemTestSuite : public TestSuite
  8. {
  9. public:
  10. FileSystemTestSuite();
  11. void startUp() override;
  12. void shutDown() override;
  13. private:
  14. void testExists_yes_file();
  15. void testExists_yes_dir();
  16. void testExists_no();
  17. void testGetFileSize_zero();
  18. void testGetFileSize_not_zero();
  19. void testIsFile_yes();
  20. void testIsFile_no();
  21. void testIsDirectory_yes();
  22. void testIsDirectory_no();
  23. void testRemove_file();
  24. void testRemove_directory();
  25. void testMove();
  26. void testMove_overwrite_existing();
  27. void testMove_no_overwrite_existing();
  28. void testCopy();
  29. void testCopy_recursive();
  30. void testCopy_overwrite_existing();
  31. void testCopy_no_overwrite_existing();
  32. void testGetChildren();
  33. void testGetLastModifiedTime();
  34. void testGetTempDirectoryPath();
  35. Path mTestDirectory;
  36. };
  37. }