Revision 706, 0.5 kB
(checked in by smidl, 15 years ago)
|
eol-native
|
-
Property svn:eol-style set to
native
|
Rev | Line | |
---|
[418] | 1 | #ifndef UNITTEST_TESTREPORTER_H |
---|
| 2 | #define UNITTEST_TESTREPORTER_H |
---|
| 3 | |
---|
| 4 | namespace UnitTest { |
---|
| 5 | |
---|
| 6 | class TestDetails; |
---|
| 7 | |
---|
[477] | 8 | class TestReporter { |
---|
[418] | 9 | public: |
---|
[477] | 10 | virtual ~TestReporter(); |
---|
[418] | 11 | |
---|
[477] | 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; |
---|
[418] | 16 | }; |
---|
| 17 | |
---|
| 18 | } |
---|
| 19 | #endif |
---|