• Home
  • Raw
  • Download

Lines Matching refs:StringReplace

317   ASSERT_EQ("abcabc", android::base::StringReplace("abcabc", "z", "Z", false));  in TEST()
318 ASSERT_EQ("", android::base::StringReplace("", "z", "Z", false)); in TEST()
319 ASSERT_EQ("abcabc", android::base::StringReplace("abcabc", "", "Z", false)); in TEST()
322 ASSERT_EQ("Abcabc", android::base::StringReplace("abcabc", "a", "A", false)); in TEST()
323 ASSERT_EQ("aBcabc", android::base::StringReplace("abcabc", "b", "B", false)); in TEST()
324 ASSERT_EQ("abCabc", android::base::StringReplace("abcabc", "c", "C", false)); in TEST()
327 ASSERT_EQ("foobcabc", android::base::StringReplace("abcabc", "a", "foo", false)); in TEST()
328 ASSERT_EQ("afoocabc", android::base::StringReplace("abcabc", "b", "foo", false)); in TEST()
329 ASSERT_EQ("abfooabc", android::base::StringReplace("abcabc", "c", "foo", false)); in TEST()
332 ASSERT_EQ("xxyz", android::base::StringReplace("abcxyz", "abc", "x", false)); in TEST()
333 ASSERT_EQ("axyz", android::base::StringReplace("abcxyz", "bcx", "x", false)); in TEST()
334 ASSERT_EQ("abcx", android::base::StringReplace("abcxyz", "xyz", "x", false)); in TEST()
339 ASSERT_EQ("abcabc", android::base::StringReplace("abcabc", "z", "Z", true)); in TEST()
340 ASSERT_EQ("", android::base::StringReplace("", "z", "Z", true)); in TEST()
341 ASSERT_EQ("abcabc", android::base::StringReplace("abcabc", "", "Z", true)); in TEST()
344 ASSERT_EQ("AbcAbc", android::base::StringReplace("abcabc", "a", "A", true)); in TEST()
345 ASSERT_EQ("aBcaBc", android::base::StringReplace("abcabc", "b", "B", true)); in TEST()
346 ASSERT_EQ("abCabC", android::base::StringReplace("abcabc", "c", "C", true)); in TEST()
349 ASSERT_EQ("foobcfoobc", android::base::StringReplace("abcabc", "a", "foo", true)); in TEST()
350 ASSERT_EQ("afoocafooc", android::base::StringReplace("abcabc", "b", "foo", true)); in TEST()
351 ASSERT_EQ("abfooabfoo", android::base::StringReplace("abcabc", "c", "foo", true)); in TEST()
354 ASSERT_EQ("xxyzx", android::base::StringReplace("abcxyzabc", "abc", "x", true)); in TEST()
355 ASSERT_EQ("<xx>", android::base::StringReplace("<abcabc>", "abc", "x", true)); in TEST()