BsFileSystemTestSuite.h 1.1 KB

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