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
00012 struct DeferredTestResult
00013 {
00014 DeferredTestResult();
00015 DeferredTestResult(char const* suite, char const* test);
00016 ~DeferredTestResult();
00017
00018 std::string suiteName;
00019 std::string testName;
00020 std::string failureFile;
00021
00022 typedef std::pair< int, std::string > Failure;
00023 typedef std::vector< Failure > FailureVec;
00024 FailureVec failures;
00025
00026 float timeElapsed;
00027 bool failed;
00028 };
00029
00030 }
00031
00032 #endif //UNITTEST_DEFERREDTESTRESULT_H