Mercurial > fife-parpg
comparison ext/UnitTest++/src/DeferredTestResult.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_DEFERREDTESTRESULT_H | |
2 #define UNITTEST_DEFERREDTESTRESULT_H | |
3 | |
4 #include <string> | |
5 #include <vector> | |
6 | |
7 namespace UnitTest | |
8 { | |
9 | |
10 struct DeferredTestResult | |
11 { | |
12 DeferredTestResult(); | |
13 DeferredTestResult(char const* suite, char const* test); | |
14 | |
15 std::string suiteName; | |
16 std::string testName; | |
17 std::string failureFile; | |
18 | |
19 typedef std::pair< int, std::string > Failure; | |
20 typedef std::vector< Failure > FailureVec; | |
21 FailureVec failures; | |
22 | |
23 float timeElapsed; | |
24 bool failed; | |
25 }; | |
26 | |
27 } | |
28 | |
29 #endif //UNITTEST_DEFERREDTESTRESULT_H |