PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/extlibs/UnitTest++/source/DeferredTestResult.h

https://bitbucket.org/hugoruscitti/pilascpp
C++ Header | 29 lines | 21 code | 8 blank | 0 comment | 0 complexity | 7982a46ba3cfb24682d319a57295f485 MD5 | raw file
 1#ifndef UNITTEST_DEFERREDTESTRESULT_H
 2#define UNITTEST_DEFERREDTESTRESULT_H
 3
 4#include <string>
 5#include <vector>
 6
 7namespace UnitTest
 8{
 9
10struct 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