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

Method SingleFailureChecker

tests/gtest/gtest-all.cc:2178–2181  ·  view source on GitHub ↗

The constructor of SingleFailureChecker remembers where to look up test part results, what type of failure we expect, and what substring the failure message should contain.

Source from the content-addressed store, hash-verified

2176// test part results, what type of failure we expect, and what
2177// substring the failure message should contain.
2178SingleFailureChecker::SingleFailureChecker(const TestPartResultArray* results,
2179 TestPartResult::Type type,
2180 const std::string& substr)
2181 : results_(results), type_(type), substr_(substr) {}
2182
2183// The destructor of SingleFailureChecker verifies that the given
2184// TestPartResultArray contains exactly one failure that has the given

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected