MCPcopy Create free account
hub / github.com/apache/brpc / TEST

Function TEST

test/string_split_unittest.cc:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171TEST(SplitStringUsingSubstrTest, EmptyString) {
172 std::vector<std::string> results;
173 SplitStringUsingSubstr(std::string(), "DELIMITER", &results);
174 const char* const expected[] = { "" };
175 AssertElements(results, expected, arraysize(expected));
176}
177
178TEST(StringUtilTest, SplitString) {
179 std::vector<std::wstring> r;

Callers

nothing calls this directly

Calls 7

SplitStringUsingSubstrFunction · 0.85
AssertElementsFunction · 0.85
SplitStringDontTrimFunction · 0.85
SplitStringFunction · 0.70
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected