-
Notifications
You must be signed in to change notification settings - Fork 0
/
Test.h
24 lines (19 loc) · 850 Bytes
/
Test.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include "FileUtils.h";
class Test
{
private:
void Log(std::string message);
void Compare(bool actual, bool should, std::string testname);
void Compare(int actual, int should, std::string testname);
void Compare(std::string actual, std::string should, std::string testname);
void Compare(char* resultIs, char* resultExpected, std::string testname);
void Compare(std::filesystem::path resultIs, std::filesystem::path resultExpected, std::string testname);
void LogResult(std::string resultIs, std::string resultShould, std::string testname, bool success);
void TestFolderBasics(std::filesystem::path testPath);
void TestFileBasics(std::filesystem::path testPath);
void TestDiscovery(std::filesystem::path testPath);
void TestConversions(std::filesystem::path testPath);
public:
int RunAllTests(std::filesystem::path);
};