Gets the i-th test case among all the test cases. i can range from 0 to total_test_case_count() - 1. If i is not in that range, returns NULL.
| 960 | // Gets the i-th test case among all the test cases. i can range from 0 to |
| 961 | // total_test_case_count() - 1. If i is not in that range, returns NULL. |
| 962 | const TestCase* GetTestCase(int i) const { |
| 963 | const int index = GetElementOr(test_case_indices_, i, -1); |
| 964 | return index < 0 ? NULL : test_cases_[i]; |
| 965 | } |
| 966 | |
| 967 | // Gets the i-th test case among all the test cases. i can range from 0 to |
| 968 | // total_test_case_count() - 1. If i is not in that range, returns NULL. |
no test coverage detected