|
Revision 706, 0.5 kB
(checked in by smidl, 16 years ago)
|
|
eol-native
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | #ifndef UNITTEST_TESTREPORTER_H |
|---|
| 2 | #define UNITTEST_TESTREPORTER_H |
|---|
| 3 | |
|---|
| 4 | namespace UnitTest { |
|---|
| 5 | |
|---|
| 6 | class TestDetails; |
|---|
| 7 | |
|---|
| 8 | class TestReporter { |
|---|
| 9 | public: |
|---|
| 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 |
|---|