Lines Matching refs:Join
123 EXPECT_EQ("", string_utils::Join(",", {})); in TEST()
124 EXPECT_EQ("abc", string_utils::Join(",", {"abc"})); in TEST()
125 EXPECT_EQ("abc,,xyz", string_utils::Join(",", {"abc", "", "xyz"})); in TEST()
126 EXPECT_EQ("abc,defg", string_utils::Join(",", {"abc", "defg"})); in TEST()
127 EXPECT_EQ("1 : 2 : 3", string_utils::Join(" : ", {"1", "2", "3"})); in TEST()
128 EXPECT_EQ("1:2", string_utils::Join(":", std::set<std::string>{"1", "2"})); in TEST()
129 EXPECT_EQ("1:2", string_utils::Join(":", std::vector<std::string>{"1", "2"})); in TEST()
130 EXPECT_EQ("1:2", string_utils::Join(":", std::list<std::string>{"1", "2"})); in TEST()
131 EXPECT_EQ("123", string_utils::Join("", {"1", "2", "3"})); in TEST()
135 EXPECT_EQ("ab,cd", string_utils::Join(",", "ab", "cd")); in TEST()
136 EXPECT_EQ("key = value", string_utils::Join(" = ", "key", "value")); in TEST()