root/library/tests/unittest-cpp/DeferredTestResult.h @ 813

Revision 706, 0.5 kB (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
Line 
1#ifndef UNITTEST_DEFERREDTESTRESULT_H
2#define UNITTEST_DEFERREDTESTRESULT_H
3
4#include "Config.h"
5
6#include <string>
7#include <vector>
8
9namespace UnitTest {
10
11struct 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
Note: See TracBrowser for help on using the browser.