Lines Matching refs:REPORTER_ASSERT
41 REPORTER_ASSERT(reporter, a.isEmpty()); in DEF_TEST()
42 REPORTER_ASSERT(reporter, a == b && a == c && a == d); in DEF_TEST()
50 REPORTER_ASSERT(reporter, !a.isEmpty()); in DEF_TEST()
51 REPORTER_ASSERT(reporter, a.size() == 5); in DEF_TEST()
52 REPORTER_ASSERT(reporter, a == b && a == c && a == d); in DEF_TEST()
53 REPORTER_ASSERT(reporter, a.equals("hello", 5)); in DEF_TEST()
54 REPORTER_ASSERT(reporter, a.equals("hello")); in DEF_TEST()
55 REPORTER_ASSERT(reporter, !a.equals("help")); in DEF_TEST()
57 REPORTER_ASSERT(reporter, a.startsWith("hell")); in DEF_TEST()
58 REPORTER_ASSERT(reporter, a.startsWith('h')); in DEF_TEST()
59 REPORTER_ASSERT(reporter, !a.startsWith( "ell")); in DEF_TEST()
60 REPORTER_ASSERT(reporter, !a.startsWith( 'e')); in DEF_TEST()
61 REPORTER_ASSERT(reporter, a.startsWith("")); in DEF_TEST()
62 REPORTER_ASSERT(reporter, a.endsWith("llo")); in DEF_TEST()
63 REPORTER_ASSERT(reporter, a.endsWith('o')); in DEF_TEST()
64 REPORTER_ASSERT(reporter, !a.endsWith("ll" )); in DEF_TEST()
65 REPORTER_ASSERT(reporter, !a.endsWith('l')); in DEF_TEST()
66 REPORTER_ASSERT(reporter, a.endsWith("")); in DEF_TEST()
67 REPORTER_ASSERT(reporter, a.contains("he")); in DEF_TEST()
68 REPORTER_ASSERT(reporter, a.contains("ll")); in DEF_TEST()
69 REPORTER_ASSERT(reporter, a.contains("lo")); in DEF_TEST()
70 REPORTER_ASSERT(reporter, a.contains("hello")); in DEF_TEST()
71 REPORTER_ASSERT(reporter, !a.contains("hellohello")); in DEF_TEST()
72 REPORTER_ASSERT(reporter, a.contains("")); in DEF_TEST()
73 REPORTER_ASSERT(reporter, a.contains('e')); in DEF_TEST()
74 REPORTER_ASSERT(reporter, !a.contains('z')); in DEF_TEST()
80 REPORTER_ASSERT(reporter, a == e && a == f && a == g); in DEF_TEST()
84 REPORTER_ASSERT(reporter, a != b && a != c && b == c); in DEF_TEST()
91 REPORTER_ASSERT(reporter, a.equals("hello world") && a == e && a == f); in DEF_TEST()
95 REPORTER_ASSERT(reporter, a.isEmpty() && b.isEmpty() && a == b); in DEF_TEST()
104 REPORTER_ASSERT(reporter, a.equals("2147483647")); in DEF_TEST()
107 REPORTER_ASSERT(reporter, a.equals("-2147483647")); in DEF_TEST()
110 REPORTER_ASSERT(reporter, a.equals("-2147483648")); in DEF_TEST()
114 REPORTER_ASSERT(reporter, a.equals("2147483647")); in DEF_TEST()
117 REPORTER_ASSERT(reporter, a.equals("2147483649")); in DEF_TEST()
120 REPORTER_ASSERT(reporter, a.equals("4294967295")); in DEF_TEST()
124 REPORTER_ASSERT(reporter, a.equals("9223372036854775807")); in DEF_TEST()
127 REPORTER_ASSERT(reporter, a.equals("-9223372036854775807")); in DEF_TEST()
130 REPORTER_ASSERT(reporter, a.equals("-9223372036854775808")); in DEF_TEST()
133 REPORTER_ASSERT(reporter, a.equals("000000016777216")); in DEF_TEST()
136 REPORTER_ASSERT(reporter, a.equals("-000000016777216")); in DEF_TEST()
140 REPORTER_ASSERT(reporter, a.equals("9223372036854775807")); in DEF_TEST()
143 REPORTER_ASSERT(reporter, a.equals("9223372036854775809")); in DEF_TEST()
146 REPORTER_ASSERT(reporter, a.equals("18446744073709551615")); in DEF_TEST()
149 REPORTER_ASSERT(reporter, a.equals("000000016777216")); in DEF_TEST()
152 REPORTER_ASSERT(reporter, a.equals("0")); in DEF_TEST()
154 REPORTER_ASSERT(reporter, a.equals("3.14")); in DEF_TEST()
156 REPORTER_ASSERT(reporter, a.equals("hello skia")); in DEF_TEST()
177 REPORTER_ASSERT(reporter, a.size() <= SkStrAppendScalar_MaxSize); in DEF_TEST()
183 REPORTER_ASSERT(reporter, SkStringPrintf("%i", 0).equals("0")); in DEF_TEST()
187 REPORTER_ASSERT(reporter, buffer[18] == 'a'); in DEF_TEST()
188 REPORTER_ASSERT(reporter, buffer[19] == 'a'); in DEF_TEST()
189 REPORTER_ASSERT(reporter, buffer[20] == 'a'); in DEF_TEST()
191 REPORTER_ASSERT(reporter, buffer[18] == ' '); in DEF_TEST()
192 REPORTER_ASSERT(reporter, buffer[19] == 0); in DEF_TEST()
193 REPORTER_ASSERT(reporter, buffer[20] == 'a'); in DEF_TEST()
195 REPORTER_ASSERT(reporter, SkStringPrintf("%i", 0).equals("0")); in DEF_TEST()
199 REPORTER_ASSERT(reporter, a.size() == 2000); in DEF_TEST()
208 REPORTER_ASSERT(reporter, a.size() == 2000); in DEF_TEST()
221 REPORTER_ASSERT(r, results.count() == 6); in DEF_TEST()
222 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST()
223 REPORTER_ASSERT(r, results[1].equals("b")); in DEF_TEST()
224 REPORTER_ASSERT(r, results[2].equals("c")); in DEF_TEST()
225 REPORTER_ASSERT(r, results[3].equals("dee")); in DEF_TEST()
226 REPORTER_ASSERT(r, results[4].equals("f")); in DEF_TEST()
227 REPORTER_ASSERT(r, results[5].equals("g")); in DEF_TEST()
231 REPORTER_ASSERT(r, results.count() == 0); in DEF_TEST()
235 REPORTER_ASSERT(r, results.count() == 0); in DEF_TEST()
239 REPORTER_ASSERT(r, results.count() == 1); in DEF_TEST()
240 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST()
245 REPORTER_ASSERT(r, results.count() == 13); in DEF_TEST()
246 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST()
247 REPORTER_ASSERT(r, results[1].equals("")); in DEF_TEST()
248 REPORTER_ASSERT(r, results[2].equals("b")); in DEF_TEST()
249 REPORTER_ASSERT(r, results[3].equals("c")); in DEF_TEST()
250 REPORTER_ASSERT(r, results[4].equals("dee")); in DEF_TEST()
251 REPORTER_ASSERT(r, results[5].equals("")); in DEF_TEST()
252 REPORTER_ASSERT(r, results[6].equals("f")); in DEF_TEST()
253 REPORTER_ASSERT(r, results[7].equals("")); in DEF_TEST()
254 REPORTER_ASSERT(r, results[8].equals("")); in DEF_TEST()
255 REPORTER_ASSERT(r, results[9].equals("")); in DEF_TEST()
256 REPORTER_ASSERT(r, results[10].equals("")); in DEF_TEST()
257 REPORTER_ASSERT(r, results[11].equals("g")); in DEF_TEST()
258 REPORTER_ASSERT(r, results[12].equals("")); in DEF_TEST()
262 REPORTER_ASSERT(r, results.count() == 2); in DEF_TEST()
263 REPORTER_ASSERT(r, results[0].equals("")); in DEF_TEST()
264 REPORTER_ASSERT(r, results[1].equals("")); in DEF_TEST()
268 REPORTER_ASSERT(r, results.count() == 0); in DEF_TEST()
272 REPORTER_ASSERT(r, results.count() == 1); in DEF_TEST()
273 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST()
277 REPORTER_ASSERT(r, results.count() == 3); in DEF_TEST()
278 REPORTER_ASSERT(r, results[0].equals("")); in DEF_TEST()
279 REPORTER_ASSERT(r, results[1].equals("")); in DEF_TEST()
280 REPORTER_ASSERT(r, results[2].equals("")); in DEF_TEST()
284 REPORTER_ASSERT(r, results.count() == 4); in DEF_TEST()
285 REPORTER_ASSERT(r, results[0].equals("")); in DEF_TEST()
286 REPORTER_ASSERT(r, results[1].equals("a")); in DEF_TEST()
287 REPORTER_ASSERT(r, results[2].equals("b")); in DEF_TEST()
288 REPORTER_ASSERT(r, results[3].equals("")); in DEF_TEST()