2021-05-23 20:02:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "TestCase.h"
|
|
|
|
|
|
|
|
#include <vector>
|
2021-09-26 20:42:35 +00:00
|
|
|
#include <string>
|
2021-05-23 20:02:38 +00:00
|
|
|
|
|
|
|
class TestCaseRunner
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
void AddTestCase(const std::string& label, TestCasePtr testCase);
|
|
|
|
|
|
|
|
bool Run();
|
|
|
|
|
|
|
|
private:
|
|
|
|
using TestInstance = std::pair<std::string, TestCasePtr>;
|
|
|
|
std::vector<TestInstance> mCases;
|
|
|
|
};
|