blob: 7f8ec2a02d540e829dcd5576c983cce93c7cd890 (
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
25
26
27
28
29
30
31
32
33
|
#ifndef TEST_RESULTS_H
#define TEST_RESULTS_H
#include <string>
namespace CppTestHarness
{
class TestReporter;
class TestResults
{
public:
explicit TestResults(TestReporter& reporter);
void ReportFailure(char const* file, int line, std::string failure);
void ReportDone(const std::string& testName);
bool Failed() const;
private:
bool m_failure;
TestReporter& m_testReporter;
// revoked
TestResults(TestResults const&);
TestResults& operator =(TestResults const&);
};
}
#endif
|