root/library/tests/unittest-cpp/DeferredTestReporter.h @ 867

Revision 706, 0.6 kB (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
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
10namespace UnitTest {
11
12class DeferredTestReporter : public TestReporter {
13public:
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
21private:
22        DeferredTestResultList m_results;
23};
24
25}
26
27#endif
Note: See TracBrowser for help on using the browser.