Creates a new XmlUnitTestResultPrinter.
| 5048 | |
| 5049 | // Creates a new XmlUnitTestResultPrinter. |
| 5050 | XmlUnitTestResultPrinter::XmlUnitTestResultPrinter(const char* output_file) |
| 5051 | : output_file_(output_file) { |
| 5052 | if (output_file_.empty()) { |
| 5053 | GTEST_LOG_(FATAL) << "XML output file may not be null"; |
| 5054 | } |
| 5055 | } |
| 5056 | |
| 5057 | // Called after the unit test ends. |
| 5058 | void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, |
nothing calls this directly
no outgoing calls
no test coverage detected