Revision 477, 0.5 kB
(checked in by mido, 15 years ago)
|
panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc
|
Line | |
---|
1 | #ifndef UNITTEST_DEFERREDTESTRESULT_H |
---|
2 | #define UNITTEST_DEFERREDTESTRESULT_H |
---|
3 | |
---|
4 | #include "Config.h" |
---|
5 | |
---|
6 | #include <string> |
---|
7 | #include <vector> |
---|
8 | |
---|
9 | namespace UnitTest { |
---|
10 | |
---|
11 | struct DeferredTestResult { |
---|
12 | DeferredTestResult(); |
---|
13 | DeferredTestResult ( char const* suite, char const* test ); |
---|
14 | ~DeferredTestResult(); |
---|
15 | |
---|
16 | std::string suiteName; |
---|
17 | std::string testName; |
---|
18 | std::string failureFile; |
---|
19 | |
---|
20 | typedef std::pair< int, std::string > Failure; |
---|
21 | typedef std::vector< Failure > FailureVec; |
---|
22 | FailureVec failures; |
---|
23 | |
---|
24 | float timeElapsed; |
---|
25 | bool failed; |
---|
26 | }; |
---|
27 | |
---|
28 | } |
---|
29 | |
---|
30 | #endif //UNITTEST_DEFERREDTESTRESULT_H |
---|