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

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
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.