| 74 | } |
| 75 | |
| 76 | void Tester::writeTestTime() |
| 77 | { |
| 78 | float timeTaken = testTimer.nsecsElapsed()/1000000.0f; |
| 79 | #ifndef Q_OS_WIN |
| 80 | output << "\e[0;33m"; |
| 81 | #endif |
| 82 | output << QString("%1ms").arg(timeTaken,10,'f',2); |
| 83 | #ifndef Q_OS_WIN |
| 84 | output << "\e[0m"; |
| 85 | #endif |
| 86 | testTimer.invalidate(); |
| 87 | } |
| 88 | |
| 89 | void Tester::writePass() |
| 90 | { |
nothing calls this directly
no outgoing calls
no test coverage detected