| 52 | TestResult* result; |
| 53 | |
| 54 | void setup() |
| 55 | { |
| 56 | mock = new StringBufferTestOutput(); |
| 57 | printer = mock; |
| 58 | tst = new UtestShell("group", "test", "file", 10); |
| 59 | f = new TestFailure(tst, "failfile", 20, "message"); |
| 60 | f2 = new TestFailure(tst, "file", 20, "message"); |
| 61 | f3 = new TestFailure(tst, "file", 2, "message"); |
| 62 | result = new TestResult(*mock); |
| 63 | result->setTotalExecutionTime(10); |
| 64 | millisTime = 0; |
| 65 | UT_PTR_SET(GetPlatformSpecificTimeInMillis, MockGetPlatformSpecificTimeInMillis); |
| 66 | TestOutput::setWorkingEnvironment(TestOutput::eclipse); |
| 67 | |
| 68 | } |
| 69 | void teardown() |
| 70 | { |
| 71 | TestOutput::setWorkingEnvironment(TestOutput::detectEnvironment); |
nothing calls this directly
no test coverage detected