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

Method ~SingleFailureChecker

tests/gtest/gtest-all.cc:2187–2189  ·  view source on GitHub ↗

The destructor of SingleFailureChecker verifies that the given TestPartResultArray contains exactly one failure that has the given type and contains the given substring. If that's not the case, a non-fatal failure will be generated.

Source from the content-addressed store, hash-verified

2185// type and contains the given substring. If that's not the case, a
2186// non-fatal failure will be generated.
2187SingleFailureChecker::~SingleFailureChecker() {
2188 EXPECT_PRED_FORMAT3(HasOneFailure, *results_, type_, substr_);
2189}
2190
2191DefaultGlobalTestPartResultReporter::DefaultGlobalTestPartResultReporter(
2192 UnitTestImpl* unit_test) : unit_test_(unit_test) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected