Revision 418, 0.5 kB
(checked in by vbarta, 15 years ago)
|
#27: added UnitTest?++ to bdm sources, changed test_user_data to use it
|
Rev | Line | |
---|
[418] | 1 | #ifndef UNITTEST_TESTREPORTER_H |
---|
| 2 | #define UNITTEST_TESTREPORTER_H |
---|
| 3 | |
---|
| 4 | namespace UnitTest { |
---|
| 5 | |
---|
| 6 | class TestDetails; |
---|
| 7 | |
---|
| 8 | class TestReporter |
---|
| 9 | { |
---|
| 10 | public: |
---|
| 11 | virtual ~TestReporter(); |
---|
| 12 | |
---|
| 13 | virtual void ReportTestStart(TestDetails const& test) = 0; |
---|
| 14 | virtual void ReportFailure(TestDetails const& test, char const* failure) = 0; |
---|
| 15 | virtual void ReportTestFinish(TestDetails const& test, float secondsElapsed) = 0; |
---|
| 16 | virtual void ReportSummary(int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed) = 0; |
---|
| 17 | }; |
---|
| 18 | |
---|
| 19 | } |
---|
| 20 | #endif |
---|