MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / XmlUnitTestResultPrinter

Method XmlUnitTestResultPrinter

cpp/test/src/gtest.cc:3420–3427  ·  view source on GitHub ↗

Creates a new XmlUnitTestResultPrinter.

Source from the content-addressed store, hash-verified

3418
3419// Creates a new XmlUnitTestResultPrinter.
3420XmlUnitTestResultPrinter::XmlUnitTestResultPrinter(const char* output_file)
3421 : output_file_(output_file) {
3422 if (output_file_.c_str() == NULL || output_file_.empty()) {
3423 fprintf(stderr, "XML output file may not be null\n");
3424 fflush(stderr);
3425 exit(EXIT_FAILURE);
3426 }
3427}
3428
3429// Called after the unit test ends.
3430void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test,

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected