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

Revision 418, 0.6 kB (checked in by vbarta, 15 years ago)

#27: added UnitTest?++ to bdm sources, changed test_user_data to use it

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{
12
13class DeferredTestReporter : public TestReporter
14{
15public:
16    virtual void ReportTestStart(TestDetails const& details);
17    virtual void ReportFailure(TestDetails const& details, char const* failure);
18    virtual void ReportTestFinish(TestDetails const& details, float secondsElapsed);
19
20    typedef std::vector< DeferredTestResult > DeferredTestResultList;
21    DeferredTestResultList& GetResults();
22
23private:
24    DeferredTestResultList m_results;
25};
26
27}
28
29#endif
Note: See TracBrowser for help on using the browser.