Revision 477, 0.6 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_DEFERREDTESTREPORTER_H |
---|
2 | #define UNITTEST_DEFERREDTESTREPORTER_H |
---|
3 | |
---|
4 | #include "TestReporter.h" |
---|
5 | #include "DeferredTestResult.h" |
---|
6 | #include "Config.h" |
---|
7 | |
---|
8 | #include <vector> |
---|
9 | |
---|
10 | namespace UnitTest { |
---|
11 | |
---|
12 | class DeferredTestReporter : public TestReporter { |
---|
13 | public: |
---|
14 | virtual void ReportTestStart ( TestDetails const& details ); |
---|
15 | virtual void ReportFailure ( TestDetails const& details, char const* failure ); |
---|
16 | virtual void ReportTestFinish ( TestDetails const& details, float secondsElapsed ); |
---|
17 | |
---|
18 | typedef std::vector< DeferredTestResult > DeferredTestResultList; |
---|
19 | DeferredTestResultList& GetResults(); |
---|
20 | |
---|
21 | private: |
---|
22 | DeferredTestResultList m_results; |
---|
23 | }; |
---|
24 | |
---|
25 | } |
---|
26 | |
---|
27 | #endif |
---|