19 lines
288 B
C
19 lines
288 B
C
|
#pragma once
|
||
|
|
||
|
#include "TestCase.h"
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
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;
|
||
|
};
|