| 126 | } |
| 127 | |
| 128 | void JUnitTestOutput::printCurrentTestStarted(const UtestShell& test) |
| 129 | { |
| 130 | impl_->results_.testCount_++; |
| 131 | impl_->results_.group_ = test.getGroup(); |
| 132 | impl_->results_.startTime_ = (size_t) GetPlatformSpecificTimeInMillis(); |
| 133 | |
| 134 | if (impl_->results_.tail_ == NULLPTR) { |
| 135 | impl_->results_.head_ = impl_->results_.tail_ |
| 136 | = new JUnitTestCaseResultNode; |
| 137 | } |
| 138 | else { |
| 139 | impl_->results_.tail_->next_ = new JUnitTestCaseResultNode; |
| 140 | impl_->results_.tail_ = impl_->results_.tail_->next_; |
| 141 | } |
| 142 | impl_->results_.tail_->name_ = test.getName(); |
| 143 | impl_->results_.tail_->file_ = test.getFile(); |
| 144 | impl_->results_.tail_->lineNumber_ = test.getLineNumber(); |
| 145 | if (!test.willRun()) { |
| 146 | impl_->results_.tail_->ignored_ = true; |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | SimpleString JUnitTestOutput::createFileName(const SimpleString& group) |
| 151 | { |
nothing calls this directly
no test coverage detected