root/library/tests/unittest-cpp/TestReporter.h @ 1210

Revision 706, 0.5 kB (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
Line 
1#ifndef UNITTEST_TESTREPORTER_H
2#define UNITTEST_TESTREPORTER_H
3
4namespace UnitTest {
5
6class TestDetails;
7
8class TestReporter {
9public:
10        virtual ~TestReporter();
11
12        virtual void ReportTestStart ( TestDetails const& test ) = 0;
13        virtual void ReportFailure ( TestDetails const& test, char const* failure ) = 0;
14        virtual void ReportTestFinish ( TestDetails const& test, float secondsElapsed ) = 0;
15        virtual void ReportSummary ( int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed ) = 0;
16};
17
18}
19#endif
Note: See TracBrowser for help on using the browser.