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.
| 992 | // Gets the i-th test case among all the test cases. i can range from 0 to |
| 993 | // total_test_case_count() - 1. If i is not in that range, returns NULL. |
| 994 | TestCase* GetMutableTestCase(int i) { |
| 995 | const int index = GetElementOr(test_case_indices_, i, -1); |
| 996 | return index < 0 ? NULL : test_cases_[index]; |
| 997 | } |
| 998 | |
| 999 | // Provides access to the event listener list. |
| 1000 | TestEventListeners* listeners() { return &listeners_; } |
no test coverage detected