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

Function SplitIntoTestNames

tests/gtest/gtest-all.cc:11693–11700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11691}
11692
11693static std::vector<std::string> SplitIntoTestNames(const char* src) {
11694 std::vector<std::string> name_vec;
11695 src = SkipSpaces(src);
11696 for (; src != nullptr; src = SkipComma(src)) {
11697 name_vec.push_back(StripTrailingSpaces(GetPrefixUntilComma(src)));
11698 }
11699 return name_vec;
11700}
11701
11702// Verifies that registered_tests match the test names in
11703// registered_tests_; returns registered_tests if successful, or

Callers 1

Calls 4

SkipSpacesFunction · 0.85
SkipCommaFunction · 0.85
StripTrailingSpacesFunction · 0.85
GetPrefixUntilCommaFunction · 0.85

Tested by

no test coverage detected