Lines Matching refs:str
101 std::string str = "hello world, world!"; in TEST() local
102 replaceAll(str, "world", "earth"); in TEST()
103 EXPECT_EQ(str, "hello earth, earth!"); in TEST()
108 std::string str = "hello world"; in TEST() local
109 replaceAll(str, "xxx", "abc"); in TEST()
110 EXPECT_EQ(str, "hello world"); in TEST()
115 std::string str = "apple apple"; in TEST() local
116 replaceAll(str, "apple", ""); in TEST()
117 EXPECT_EQ(str, " "); in TEST()
122 std::string str = "abc"; in TEST() local
123 replaceAll(str, "", "x"); in TEST()
124 EXPECT_EQ(str, "abc"); in TEST()
129 std::string str = "Hello hEllo heLLo"; in TEST() local
130 iReplaceAll(str, "hello", "hi"); in TEST()
131 EXPECT_EQ(str, "hi hi hi"); in TEST()
136 std::string str = "Hello World! WORLD world"; in TEST() local
137 iReplaceAll(str, "world", "Earth"); in TEST()
138 EXPECT_EQ(str, "Hello Earth! Earth Earth"); in TEST()
143 std::string str = "Good Morning"; in TEST() local
144 iReplaceAll(str, "night", "day"); in TEST()
145 EXPECT_EQ(str, "Good Morning"); in TEST()
150 std::string str = "ABC abc AbC"; in TEST() local
151 iReplaceAll(str, "abc", ""); in TEST()
152 EXPECT_EQ(str, " "); in TEST()