MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / HasNonfatalFailure

Method HasNonfatalFailure

test/common/gtest/gtest.cpp:3670–3672  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3668
3669// Returns true iff the test has a non-fatal failure.
3670bool TestResult::HasNonfatalFailure() const {
3671 return CountIf(test_part_results_, TestPartNonfatallyFailed) > 0;
3672}
3673
3674// Gets the number of all test parts. This is the sum of the number
3675// 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