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

Method JsonUnitTestResultPrinter

tests/gtest/gtest-all.cc:5481–5486  ·  view source on GitHub ↗

Creates a new JsonUnitTestResultPrinter.

Source from the content-addressed store, hash-verified

5479
5480// Creates a new JsonUnitTestResultPrinter.
5481JsonUnitTestResultPrinter::JsonUnitTestResultPrinter(const char* output_file)
5482 : output_file_(output_file) {
5483 if (output_file_.empty()) {
5484 GTEST_LOG_(FATAL) << "JSON output file may not be null";
5485 }
5486}
5487
5488void JsonUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test,
5489 int /*iteration*/) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected