00001 #ifndef UNITTEST_DEFERREDTESTRESULT_H
00002 #define UNITTEST_DEFERREDTESTRESULT_H
00003
00004 #include "Config.h"
00005
00006 #include <string>
00007 #include <vector>
00008
00009 namespace UnitTest {
00010
00011 struct DeferredTestResult {
00012 DeferredTestResult();
00013 DeferredTestResult ( char const* suite, char const* test );
00014 ~DeferredTestResult();
00015
00016 std::string suiteName;
00017 std::string testName;
00018 std::string failureFile;
00019
00020 typedef std::pair< int, std::string > Failure;
00021 typedef std::vector< Failure > FailureVec;
00022 FailureVec failures;
00023
00024 float timeElapsed;
00025 bool failed;
00026 };
00027
00028 }
00029
00030 #endif //UNITTEST_DEFERREDTESTRESULT_H