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.
| 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. |
| 3720 | TestInfo* 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. |
nothing calls this directly
no test coverage detected