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

Method GetTestPartResult

test/common/gtest/gtest.cpp:3501–3505  ·  view source on GitHub ↗

Returns the i-th test part result among all the results. i can range from 0 to total_part_count() - 1. If i is not in that range, aborts the program.

Source from the content-addressed store, hash-verified

3499// range from 0 to total_part_count() - 1. If i is not in that range,
3500// aborts the program.
3501const BaseTestPartResult* TestResult::GetTestPartResult(int i) const {
3502 if (i < 0 || i >= total_part_count())
3503 internal::posix::Abort();
3504 return test_part_results_.at(i);
3505}
3506
3507// Returns the i-th test property. i can range from 0 to
3508// test_property_count() - 1. If i is not in that range, aborts the

Callers 2

HasOneFailureFunction · 0.80
OutputXmlTestInfoMethod · 0.80

Calls 1

AbortFunction · 0.70

Tested by

no test coverage detected