- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

# DeferredTestReporter.h

    00001 #ifndef UNITTEST_DEFERREDTESTREPORTER_H
    00002 #define UNITTEST_DEFERREDTESTREPORTER_H
    00003
    00004 #include "TestReporter.h"
    00005 #include "DeferredTestResult.h"
    00006 #include "Config.h"
    00007
    00008 #include <vector>
    00009
    00010 namespace UnitTest {
    00011
    00012 class DeferredTestReporter : public TestReporter {
    00013 public:
    00014         virtual void ReportTestStart ( TestDetails const& details );
    00015         virtual void ReportFailure ( TestDetails const& details, char const* failure );
    00016         virtual void ReportTestFinish ( TestDetails const& details, float secondsElapsed );
    00017
    00018         typedef std::vector< DeferredTestResult > DeferredTestResultList;
    00019         DeferredTestResultList& GetResults();
    00020
    00021 private:
    00022         DeferredTestResultList m_results;
    00023 };
    00024
    00025 }
    00026
    00027 #endif