1#ifndef UNITTEST_DEFERREDTESTREPORTER_H
2#define UNITTEST_DEFERREDTESTREPORTER_H
6#ifndef UNITTEST_NO_DEFERRED_REPORTER
8#include "TestReporter.h"
9#include "DeferredTestResult.h"
13UNITTEST_STDVECTOR_LINKAGE(UnitTest::DeferredTestResult);
18class UNITTEST_LINKAGE DeferredTestReporter :
public TestReporter
21 virtual void ReportTestStart(TestDetails
const& details);
22 virtual void ReportFailure(TestDetails
const& details,
char const* failure);
23 virtual void ReportTestFinish(TestDetails
const& details,
float secondsElapsed);
25 typedef std::vector< DeferredTestResult > DeferredTestResultList;
26 DeferredTestResultList& GetResults();
29 DeferredTestResultList m_results;