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

Revision 418, 0.6 kB (checked in by vbarta, 15 years ago)

#27: added UnitTest?++ to bdm sources, changed test_user_data to use it

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{
11
12struct DeferredTestResult
13{
14        DeferredTestResult();
15    DeferredTestResult(char const* suite, char const* test);
16    ~DeferredTestResult();
17   
18    std::string suiteName;
19    std::string testName;
20    std::string failureFile;
21   
22    typedef std::pair< int, std::string > Failure;
23    typedef std::vector< Failure > FailureVec;
24    FailureVec failures;
25   
26    float timeElapsed;
27        bool failed;
28};
29
30}
31
32#endif //UNITTEST_DEFERREDTESTRESULT_H
Note: See TracBrowser for help on using the browser.