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

Method HasNonfatalFailure

tests/gtest/gtest-all.cc:3719–3721  ·  view source on GitHub ↗

Returns true iff the test has a non-fatal failure.

Source from the content-addressed store, hash-verified

3717
3718// Returns true iff the test has a non-fatal failure.
3719bool TestResult::HasNonfatalFailure() const {
3720 return CountIf(test_part_results_, TestPartNonfatallyFailed) > 0;
3721}
3722
3723// Gets the number of all test parts. This is the sum of the number
3724// of successful test parts and the number of failed test parts.

Callers

nothing calls this directly

Calls 3

CountIfFunction · 0.85
GetUnitTestImplFunction · 0.85
current_test_resultMethod · 0.80

Tested by

no test coverage detected