MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / XmlUnitTestResultPrinter

Method XmlUnitTestResultPrinter

tests/gtest/gtest-all.cc:5050–5055  ·  view source on GitHub ↗

Creates a new XmlUnitTestResultPrinter.

Source from the content-addressed store, hash-verified

5048
5049// Creates a new XmlUnitTestResultPrinter.
5050XmlUnitTestResultPrinter::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.
5058void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected