00001 #ifndef UNITTEST_TESTREPORTER_H
00002 #define UNITTEST_TESTREPORTER_H
00003
00004 namespace UnitTest {
00005
00006 class TestDetails;
00007
00008 class TestReporter {
00009 public:
00010 virtual ~TestReporter();
00011
00012 virtual void ReportTestStart ( TestDetails const& test ) = 0;
00013 virtual void ReportFailure ( TestDetails const& test, char const* failure ) = 0;
00014 virtual void ReportTestFinish ( TestDetails const& test, float secondsElapsed ) = 0;
00015 virtual void ReportSummary ( int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed ) = 0;
00016 };
00017
00018 }
00019 #endif