root/library/tests/unittest-cpp/TestReporter.h @ 552

Revision 477, 0.5 kB (checked in by mido, 15 years ago)

panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc

Line 
1#ifndef UNITTEST_TESTREPORTER_H
2#define UNITTEST_TESTREPORTER_H
3
4namespace UnitTest {
5
6class TestDetails;
7
8class TestReporter {
9public:
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
Note: See TracBrowser for help on using the browser.