MCPcopy Create free account
hub / github.com/apache/singa / XmlUnitTestResultPrinter

Method XmlUnitTestResultPrinter

test/gtest/gtest-all.cc:4569–4576  ·  view source on GitHub ↗

Creates a new XmlUnitTestResultPrinter.

Source from the content-addressed store, hash-verified

4567
4568// Creates a new XmlUnitTestResultPrinter.
4569XmlUnitTestResultPrinter::XmlUnitTestResultPrinter(const char* output_file)
4570 : output_file_(output_file) {
4571 if (output_file_.c_str() == NULL || output_file_.empty()) {
4572 fprintf(stderr, "XML output file may not be null\n");
4573 fflush(stderr);
4574 exit(EXIT_FAILURE);
4575 }
4576}
4577
4578// Called after the unit test ends.
4579void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test,

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected