summaryrefslogtreecommitdiff
path: root/src/keltest/test.h
blob: cd23f285e08120fa1078d5fe332b066ee402bd75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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;

	friend class test_runner;
public:
	test_case(std::string file_, uint32_t line_, std::string description_);
	~test_case();

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