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

Function GetMutableSuiteCase

tests/gtest/gtest-all.cc:995–998  ·  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

993 // Gets the i-th test suite among all the test suites. i can range from 0 to
994 // total_test_suite_count() - 1. If i is not in that range, returns NULL.
995 TestSuite* GetMutableSuiteCase(int i) {
996 const int index = GetElementOr(test_suite_indices_, i, -1);
997 return index < 0 ? nullptr : test_suites_[static_cast<size_t>(index)];
998 }
999
1000 // Provides access to the event listener list.
1001 TestEventListeners* listeners() { return &listeners_; }

Callers 1

RunAllTestsMethod · 0.85

Calls 1

GetElementOrFunction · 0.85

Tested by

no test coverage detected