MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / XmlUnitTestResultPrinter

Method XmlUnitTestResultPrinter

tests/external/gmock-1.7.0/gtest/src/gtest.cc:3085–3092  ·  view source on GitHub ↗

Creates a new XmlUnitTestResultPrinter.

Source from the content-addressed store, hash-verified

3083
3084// Creates a new XmlUnitTestResultPrinter.
3085XmlUnitTestResultPrinter::XmlUnitTestResultPrinter(const char* output_file)
3086 : output_file_(output_file) {
3087 if (output_file_.c_str() == NULL || output_file_.empty()) {
3088 fprintf(stderr, "XML output file may not be null\n");
3089 fflush(stderr);
3090 exit(EXIT_FAILURE);
3091 }
3092}
3093
3094// Called after the unit test ends.
3095void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test,

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected