summaryrefslogtreecommitdiff
path: root/src/keltest/test.h
blob: 24f008f92cc371e3bce138197e0e2c89b41f735f (plain)
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 <string>
#include <stdexcept>

namespace keltest {
class test_runner;
class test_case {
private:
	std::string file;
	uint32_t line;
	std::string description;
	test_case* next;
	test_case** prev;
public:
	test_case(std::string file_, uint32_t line_, std::string description_);
	~test_case();

	virtual void run() = 0;
};
}
#include "macro.h"