MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / GetTestSuite

Function GetTestSuite

tests/gtest/gtest-all.cc:983–986  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

981 // Gets the i-th test suite among all the test suites. i can range from 0 to
982 // total_test_suite_count() - 1. If i is not in that range, returns NULL.
983 const TestSuite* GetTestSuite(int i) const {
984 const int index = GetElementOr(test_suite_indices_, i, -1);
985 return index < 0 ? nullptr : test_suites_[static_cast<size_t>(i)];
986 }
987
988 // Legacy API is deprecated but still available
989#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_

Callers 2

GetTestCaseFunction · 0.85
AddTestInfoFunction · 0.85

Calls 1

GetElementOrFunction · 0.85

Tested by

no test coverage detected