comparison ext/UnitTest++/src/DeferredTestReporter.h @ 37:0d325e9d5953

added unittest++ files into ext. Not hooked into build scripts yet
author jasoka@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 12 Jul 2008 12:00:57 +0000
parents
children
comparison
equal deleted inserted replaced
36:6f1227f4932b 37:0d325e9d5953
1 #ifndef UNITTEST_DEFERREDTESTREPORTER_H
2 #define UNITTEST_DEFERREDTESTREPORTER_H
3
4 #include "TestReporter.h"
5 #include "DeferredTestResult.h"
6
7 #include <vector>
8
9 namespace UnitTest
10 {
11
12 class DeferredTestReporter : public TestReporter
13 {
14 public:
15 virtual void ReportTestStart(TestDetails const& details);
16 virtual void ReportFailure(TestDetails const& details, char const* failure);
17 virtual void ReportTestFinish(TestDetails const& details, float secondsElapsed);
18
19 typedef std::vector< DeferredTestResult > DeferredTestResultList;
20 DeferredTestResultList& GetResults();
21
22 private:
23 DeferredTestResultList m_results;
24 };
25
26 }
27
28 #endif