Lines Matching refs:REPORTER_ASSERT
23 REPORTER_ASSERT(reporter, a.isEmpty());
24 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
32 REPORTER_ASSERT(reporter, !a.isEmpty());
33 REPORTER_ASSERT(reporter, a.size() == 5);
34 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
35 REPORTER_ASSERT(reporter, a.equals("hello", 5));
36 REPORTER_ASSERT(reporter, a.equals("hello"));
37 REPORTER_ASSERT(reporter, !a.equals("help"));
39 REPORTER_ASSERT(reporter, a.startsWith("hell"));
40 REPORTER_ASSERT(reporter, a.startsWith('h'));
41 REPORTER_ASSERT(reporter, !a.startsWith( "ell"));
42 REPORTER_ASSERT(reporter, !a.startsWith( 'e'));
43 REPORTER_ASSERT(reporter, a.startsWith(""));
44 REPORTER_ASSERT(reporter, a.endsWith("llo"));
45 REPORTER_ASSERT(reporter, a.endsWith('o'));
46 REPORTER_ASSERT(reporter, !a.endsWith("ll" ));
47 REPORTER_ASSERT(reporter, !a.endsWith('l'));
48 REPORTER_ASSERT(reporter, a.endsWith(""));
49 REPORTER_ASSERT(reporter, a.contains("he"));
50 REPORTER_ASSERT(reporter, a.contains("ll"));
51 REPORTER_ASSERT(reporter, a.contains("lo"));
52 REPORTER_ASSERT(reporter, a.contains("hello"));
53 REPORTER_ASSERT(reporter, !a.contains("hellohello"));
54 REPORTER_ASSERT(reporter, a.contains(""));
55 REPORTER_ASSERT(reporter, a.contains('e'));
56 REPORTER_ASSERT(reporter, !a.contains('z'));
62 REPORTER_ASSERT(reporter, a == e && a == f && a == g);
66 REPORTER_ASSERT(reporter, a != b && a != c && b == c);
73 REPORTER_ASSERT(reporter, a.equals("hello world") && a == e && a == f);
77 REPORTER_ASSERT(reporter, a.isEmpty() && b.isEmpty() && a == b);
86 REPORTER_ASSERT(reporter, a.equals("2147483647"));
89 REPORTER_ASSERT(reporter, a.equals("-2147483647"));
92 REPORTER_ASSERT(reporter, a.equals("-2147483648"));
96 REPORTER_ASSERT(reporter, a.equals("2147483647"));
99 REPORTER_ASSERT(reporter, a.equals("2147483649"));
102 REPORTER_ASSERT(reporter, a.equals("4294967295"));
106 REPORTER_ASSERT(reporter, a.equals("9223372036854775807"));
109 REPORTER_ASSERT(reporter, a.equals("-9223372036854775807"));
112 REPORTER_ASSERT(reporter, a.equals("-9223372036854775808"));
115 REPORTER_ASSERT(reporter, a.equals("000000016777216"));
118 REPORTER_ASSERT(reporter, a.equals("-000000016777216"));
122 REPORTER_ASSERT(reporter, a.equals("9223372036854775807"));
125 REPORTER_ASSERT(reporter, a.equals("9223372036854775809"));
128 REPORTER_ASSERT(reporter, a.equals("18446744073709551615"));
131 REPORTER_ASSERT(reporter, a.equals("000000016777216"));
134 REPORTER_ASSERT(reporter, a.equals("0"));
136 REPORTER_ASSERT(reporter, a.equals("3.14"));
138 REPORTER_ASSERT(reporter, a.equals("hello skia"));
163 REPORTER_ASSERT(reporter, a.size() <= kSkStrAppendScalar_MaxSize);
169 REPORTER_ASSERT(reporter, SkStringPrintf("%i", 0).equals("0"));
173 REPORTER_ASSERT(reporter, str.size() == 2000);
175 REPORTER_ASSERT(reporter, str[i] == ' ');
190 REPORTER_ASSERT(reporter, a[0] == 'X');
196 REPORTER_ASSERT(reporter, a[1999] == 'X');
205 REPORTER_ASSERT(r, results.count() == 6);
206 REPORTER_ASSERT(r, results[0].equals("a"));
207 REPORTER_ASSERT(r, results[1].equals("b"));
208 REPORTER_ASSERT(r, results[2].equals("c"));
209 REPORTER_ASSERT(r, results[3].equals("dee"));
210 REPORTER_ASSERT(r, results[4].equals("f"));
211 REPORTER_ASSERT(r, results[5].equals("g"));
215 REPORTER_ASSERT(r, results.count() == 0);
219 REPORTER_ASSERT(r, results.count() == 0);
223 REPORTER_ASSERT(r, results.count() == 1);
224 REPORTER_ASSERT(r, results[0].equals("a"));
229 REPORTER_ASSERT(r, results.count() == 13);
230 REPORTER_ASSERT(r, results[0].equals("a"));
231 REPORTER_ASSERT(r, results[1].equals(""));
232 REPORTER_ASSERT(r, results[2].equals("b"));
233 REPORTER_ASSERT(r, results[3].equals("c"));
234 REPORTER_ASSERT(r, results[4].equals("dee"));
235 REPORTER_ASSERT(r, results[5].equals(""));
236 REPORTER_ASSERT(r, results[6].equals("f"));
237 REPORTER_ASSERT(r, results[7].equals(""));
238 REPORTER_ASSERT(r, results[8].equals(""));
239 REPORTER_ASSERT(r, results[9].equals(""));
240 REPORTER_ASSERT(r, results[10].equals(""));
241 REPORTER_ASSERT(r, results[11].equals("g"));
242 REPORTER_ASSERT(r, results[12].equals(""));
246 REPORTER_ASSERT(r, results.count() == 2);
247 REPORTER_ASSERT(r, results[0].equals(""));
248 REPORTER_ASSERT(r, results[1].equals(""));
252 REPORTER_ASSERT(r, results.count() == 0);
256 REPORTER_ASSERT(r, results.count() == 1);
257 REPORTER_ASSERT(r, results[0].equals("a"));
261 REPORTER_ASSERT(r, results.count() == 3);
262 REPORTER_ASSERT(r, results[0].equals(""));
263 REPORTER_ASSERT(r, results[1].equals(""));
264 REPORTER_ASSERT(r, results[2].equals(""));
268 REPORTER_ASSERT(r, results.count() == 4);
269 REPORTER_ASSERT(r, results[0].equals(""));
270 REPORTER_ASSERT(r, results[1].equals("a"));
271 REPORTER_ASSERT(r, results[2].equals("b"));
272 REPORTER_ASSERT(r, results[3].equals(""));
317 REPORTER_ASSERT(r, SkStringFromUTF16(test1, SK_ARRAY_COUNT(test1)).equals("????? ?????"));
322 REPORTER_ASSERT(r, SkStringFromUTF16(test2, SK_ARRAY_COUNT(test2)).equals("ABCDE FGHIJ"));
327 REPORTER_ASSERT(r, SkStringFromUTF16(test3, SK_ARRAY_COUNT(test3)).equals("αβγδε ζηθικ"));
336 REPORTER_ASSERT(r, str.equals("hello world"));
347 REPORTER_ASSERT(r, str.equals("123hello world"));
358 REPORTER_ASSERT(r, str.equals("hello world123"));
386 REPORTER_ASSERT(r, str[0] == 'X');
399 REPORTER_ASSERT(r, str[1999] == 'X');
414 REPORTER_ASSERT(r, s.equals("hello world!"));
416 REPORTER_ASSERT(r, s.equals(""));
421 REPORTER_ASSERT(r, s.equals("hello world!"));
423 REPORTER_ASSERT(r, s.equals("hello"));
428 REPORTER_ASSERT(r, s.equals("hello world!"));
430 REPORTER_ASSERT(r, 0 == strcmp(s.c_str(), "hello world!")); // no promises about data past \0
431 REPORTER_ASSERT(r, s.size() == 25);
438 REPORTER_ASSERT(r, s.equals("hello world!"));
440 REPORTER_ASSERT(r, 0 == strcmp(s.c_str(), "hello world!"));
441 REPORTER_ASSERT(r, s.size() == 25);
443 REPORTER_ASSERT(r, s.equals("hello"));
447 REPORTER_ASSERT(r, s.equals("hello world!"));
449 REPORTER_ASSERT(r, s.equals("hello"));
451 REPORTER_ASSERT(r, 0 == strcmp(s.c_str(), "hello"));
452 REPORTER_ASSERT(r, s.size() == 25);