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.
| 4272 | // Returns the i-th test among all the tests. i can range from 0 to |
| 4273 | // total_test_count() - 1. If i is not in that range, returns NULL. |
| 4274 | TestInfo* TestSuite::GetMutableTestInfo(int i) { |
| 4275 | const int index = GetElementOr(test_indices_, i, -1); |
| 4276 | return index < 0 ? nullptr : test_info_list_[static_cast<size_t>(index)]; |
| 4277 | } |
| 4278 | |
| 4279 | // Adds a test to this test suite. Will delete the test upon |
| 4280 | // destruction of the TestSuite object. |
nothing calls this directly
no test coverage detected