1//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
2//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
3#pragma once
4
5#include "Testing/BsTestSuite.h"
6
7namespace bs
8{
9 class FileSystemTestSuite : public TestSuite
10 {
11 public:
12 FileSystemTestSuite();
13 void startUp() override;
14 void shutDown() override;
15
16 private:
17 void testExists_yes_file();
18 void testExists_yes_dir();
19 void testExists_no();
20 void testGetFileSize_zero();
21 void testGetFileSize_not_zero();
22 void testIsFile_yes();
23 void testIsFile_no();
24 void testIsDirectory_yes();
25 void testIsDirectory_no();
26 void testRemove_file();
27 void testRemove_directory();
28 void testMove();
29 void testMove_overwrite_existing();
30 void testMove_no_overwrite_existing();
31 void testCopy();
32 void testCopy_recursive();
33 void testCopy_overwrite_existing();
34 void testCopy_no_overwrite_existing();
35 void testGetChildren();
36 void testGetLastModifiedTime();
37 void testGetTempDirectoryPath();
38
39 Path mTestDirectory;
40 };
41}
42