Lines Matching refs:ASSERT_EQ

28   ASSERT_EQ(1U, parts.size());  in TEST()
29 ASSERT_EQ("", parts[0]); in TEST()
34 ASSERT_EQ(1U, parts.size()); in TEST()
35 ASSERT_EQ("foo", parts[0]); in TEST()
40 ASSERT_EQ(3U, parts.size()); in TEST()
41 ASSERT_EQ("foo", parts[0]); in TEST()
42 ASSERT_EQ("bar", parts[1]); in TEST()
43 ASSERT_EQ("baz", parts[2]); in TEST()
48 ASSERT_EQ(3U, parts.size()); in TEST()
49 ASSERT_EQ("foo", parts[0]); in TEST()
50 ASSERT_EQ("", parts[1]); in TEST()
51 ASSERT_EQ("bar", parts[2]); in TEST()
56 ASSERT_EQ(3U, parts.size()); in TEST()
57 ASSERT_EQ("foo", parts[0]); in TEST()
58 ASSERT_EQ("bar", parts[1]); in TEST()
59 ASSERT_EQ("", parts[2]); in TEST()
65 ASSERT_EQ(2U, parts.size()); in TEST()
66 ASSERT_EQ("foo", parts[0]); in TEST()
67 ASSERT_EQ("bar", parts[1]); in TEST()
72 ASSERT_EQ(3U, parts.size()); in TEST()
73 ASSERT_EQ("foo", parts[0]); in TEST()
74 ASSERT_EQ("bar", parts[1]); in TEST()
75 ASSERT_EQ("baz", parts[2]); in TEST()
80 ASSERT_EQ(3U, parts.size()); in TEST()
81 ASSERT_EQ("foo", parts[0]); in TEST()
82 ASSERT_EQ("", parts[1]); in TEST()
83 ASSERT_EQ("bar", parts[2]); in TEST()
87 ASSERT_EQ("", android::base::Trim("")); in TEST()
91 ASSERT_EQ("foo", android::base::Trim("foo")); in TEST()
95 ASSERT_EQ("foo", android::base::Trim(" foo")); in TEST()
99 ASSERT_EQ("foo", android::base::Trim("foo ")); in TEST()
103 ASSERT_EQ("foo", android::base::Trim(" foo ")); in TEST()
107 ASSERT_EQ("foo bar", android::base::Trim("foo bar")); in TEST()
111 ASSERT_EQ("foo", android::base::Trim("\v\tfoo\n\f")); in TEST()
116 ASSERT_EQ("", android::base::Join(list, ',')); in TEST()
121 ASSERT_EQ("foo", android::base::Join(list, ',')); in TEST()
126 ASSERT_EQ("foo,bar,baz", android::base::Join(list, ',')); in TEST()
131 ASSERT_EQ(",,,", android::base::Join(list, ',')); in TEST()
136 ASSERT_EQ("1,2,3", android::base::Join(list, ',')); in TEST()
302 ASSERT_EQ("foo.bar", s); in TEST()
304 ASSERT_EQ("bar", s); in TEST()
310 ASSERT_EQ("foo.bar", s); in TEST()
312 ASSERT_EQ("foo", s); in TEST()
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()