| 244 | } |
| 245 | |
| 246 | void JUnitTestOutput::writeFailure(JUnitTestCaseResultNode* node) |
| 247 | { |
| 248 | SimpleString buf = StringFromFormat( |
| 249 | "<failure message=\"%s:%d: %s\" type=\"AssertionFailedError\">\n", |
| 250 | node->failure_->getFileName().asCharString(), |
| 251 | (int) node->failure_->getFailureLineNumber(), |
| 252 | encodeXmlText(node->failure_->getMessage()).asCharString()); |
| 253 | writeToFile(buf.asCharString()); |
| 254 | writeToFile("</failure>\n"); |
| 255 | } |
| 256 | |
| 257 | |
| 258 | void JUnitTestOutput::writeFileEnding() |
nothing calls this directly
no test coverage detected