34 #ifndef D_TestResult_h 35 #define D_TestResult_h 44 TestResult(TestOutput&);
45 DEFAULT_COPY_CONSTRUCTOR(TestResult)
46 virtual ~TestResult();
48 virtual void testsStarted();
49 virtual void testsEnded();
50 virtual void currentGroupStarted(UtestShell* test);
51 virtual void currentGroupEnded(UtestShell* test);
52 virtual void currentTestStarted(UtestShell* test);
53 virtual void currentTestEnded(UtestShell* test);
55 virtual void countTest();
56 virtual void countRun();
57 virtual void countCheck();
58 virtual void countFilteredOut();
59 virtual void countIgnored();
60 virtual void addFailure(
const TestFailure& failure);
61 virtual void print(
const char* text);
63 int getTestCount()
const 67 int getRunCount()
const 71 int getCheckCount()
const 75 int getFilteredOutCount()
const 77 return filteredOutCount_;
79 int getIgnoredCount()
const 83 int getFailureCount()
const 88 long getTotalExecutionTime()
const;
89 void setTotalExecutionTime(
long exTime);
91 long getCurrentTestTotalExecutionTime()
const;
92 long getCurrentGroupTotalExecutionTime()
const;
100 int filteredOutCount_;
102 double totalExecutionTime_;
104 double currentTestTimeStarted_;
105 double currentTestTotalExecutionTime_;
106 double currentGroupTimeStarted_;
107 double currentGroupTotalExecutionTime_;