aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/CppTestHarness/TestReporter.h
blob: 352de8ce7c4d1c275bf95b304673434b5aae0ce6 (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
#ifndef TEST_REPORTER_H
#define TEST_REPORTER_H

#include <string>

namespace CppTestHarness
{

class TestReporter
{
public:
	virtual ~TestReporter();

	virtual void ReportFailure(char const* file, int line, std::string failure) = 0;
	virtual void ReportSingleResult(const std::string& testName, bool failed) = 0;
	virtual void ReportSummary(int testCount, int failureCount) = 0;

protected:
	TestReporter();
};

}
#endif