| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "Testing/BsTestSuite.h"
- namespace bs
- {
- class BS_UTILITY_EXPORT FileSystemTestSuite : public TestSuite
- {
- public:
- FileSystemTestSuite();
- void startUp() override;
- void shutDown() override;
- private:
- void testExists_yes_file();
- void testExists_yes_dir();
- void testExists_no();
- void testGetFileSize_zero();
- void testGetFileSize_not_zero();
- void testIsFile_yes();
- void testIsFile_no();
- void testIsDirectory_yes();
- void testIsDirectory_no();
- void testRemove_file();
- void testRemove_directory();
- void testMove();
- void testMove_overwrite_existing();
- void testMove_no_overwrite_existing();
- void testCopy();
- void testCopy_recursive();
- void testCopy_overwrite_existing();
- void testCopy_no_overwrite_existing();
- void testGetChildren();
- void testGetLastModifiedTime();
- void testGetTempDirectoryPath();
- Path mTestDirectory;
- };
- }
|