MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / GetTestInfo

Method GetTestInfo

rtpose_wrapper/src/gtest/gtest-all.cpp:3713–3716  ·  view source on GitHub ↗

Returns the i-th test among all the tests. i can range from 0 to total_test_count() - 1. If i is not in that range, returns NULL.

Source from the content-addressed store, hash-verified

3711// Returns the i-th test among all the tests. i can range from 0 to
3712// total_test_count() - 1. If i is not in that range, returns NULL.
3713const TestInfo* TestCase::GetTestInfo(int i) const {
3714 const int index = GetElementOr(test_indices_, i, -1);
3715 return index < 0 ? NULL : test_info_list_[index];
3716}
3717
3718// Returns the i-th test among all the tests. i can range from 0 to
3719// total_test_count() - 1. If i is not in that range, returns NULL.

Callers 2

PrintFailedTestsMethod · 0.80
PrintXmlTestCaseMethod · 0.80

Calls 1

GetElementOrFunction · 0.85

Tested by

no test coverage detected