Gets the i-th test suite among all the test suites. i can range from 0 to total_test_suite_count() - 1. If i is not in that range, returns NULL.
| 5240 | // Gets the i-th test suite among all the test suites. i can range from 0 to |
| 5241 | // total_test_suite_count() - 1. If i is not in that range, returns NULL. |
| 5242 | const TestSuite* UnitTest::GetTestSuite(int i) const { |
| 5243 | return impl()->GetTestSuite(i); |
| 5244 | } |
| 5245 | |
| 5246 | // Legacy API is deprecated but still available |
| 5247 | #ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_ |
no test coverage detected