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

Method GetMutableTestInfo

rtpose_wrapper/src/gtest/gtest-all.cpp:3720–3723  ·  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

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.
3720TestInfo* TestCase::GetMutableTestInfo(int i) {
3721 const int index = GetElementOr(test_indices_, i, -1);
3722 return index < 0 ? NULL : test_info_list_[index];
3723}
3724
3725// Adds a test to this test case. Will delete the test upon
3726// destruction of the TestCase object.

Callers

nothing calls this directly

Calls 1

GetElementOrFunction · 0.85

Tested by

no test coverage detected