Add source code for ctrtool

This commit is contained in:
jakcron
2022-03-12 16:00:33 +08:00
parent 6ad2f13c50
commit 800f5776bc
681 changed files with 219734 additions and 0 deletions
@@ -0,0 +1,21 @@
#pragma once
#include "ITestClass.h"
class io_VirtualFileSystem_TestClass : public ITestClass
{
public:
void runAllTests();
private:
void test_CreateUninitializedFs_DefaultConstructor();
void test_BadFsSnapshot_CreateConstructor();
void test_CreateFs_CreateConstructor();
void test_ThrowsOnBadPermissions_OpenFile();
void test_ThrowsOnBadFileEntry_OpenFile();
void test_ThrowsOnBadFileEntry_GetDirectoryListing();
void test_ThrowsOnBadFileEntry_SetWorkingDirectory();
void test_WorksForAllValidPaths_OpenFile();
void test_WorksForAllValidPaths_GetDirectoryListing();
void test_WorksForAllValidPaths_SetWorkingDirectory();
void test_WorksForAllValidPaths_GetWorkingDirectory();
void test_DisposeWillChangeStateToUninitialized();
};