MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / SplitIntoTestNames

Function SplitIntoTestNames

test/common/gtest/gtest.cpp:10366–10373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10364}
10365
10366static std::vector<std::string> SplitIntoTestNames(const char* src) {
10367 std::vector<std::string> name_vec;
10368 src = SkipSpaces(src);
10369 for (; src != NULL; src = SkipComma(src)) {
10370 name_vec.push_back(StripTrailingSpaces(GetPrefixUntilComma(src)));
10371 }
10372 return name_vec;
10373}
10374
10375// Verifies that registered_tests match the test names in
10376// defined_test_names_; returns registered_tests if successful, or

Callers 1

Calls 5

SkipSpacesFunction · 0.85
SkipCommaFunction · 0.85
StripTrailingSpacesFunction · 0.85
GetPrefixUntilCommaFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected