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.
| 2734 | // Returns the i-th test among all the tests. i can range from 0 to |
| 2735 | // total_test_count() - 1. If i is not in that range, returns NULL. |
| 2736 | const TestInfo* TestCase::GetTestInfo(int i) const { |
| 2737 | const int index = GetElementOr(test_indices_, i, -1); |
| 2738 | return index < 0 ? NULL : test_info_list_[index]; |
| 2739 | } |
| 2740 | |
| 2741 | // Returns the i-th test among all the tests. i can range from 0 to |
| 2742 | // total_test_count() - 1. If i is not in that range, returns NULL. |
no test coverage detected