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