Home | History | Annotate | Download | only in tests

Lines Matching full:reporter

35 DEF_TEST(String, reporter) {
41 REPORTER_ASSERT(reporter, a.isEmpty());
42 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
50 REPORTER_ASSERT(reporter, !a.isEmpty());
51 REPORTER_ASSERT(reporter, a.size() == 5);
52 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
53 REPORTER_ASSERT(reporter, a.equals("hello", 5));
54 REPORTER_ASSERT(reporter, a.equals("hello"));
55 REPORTER_ASSERT(reporter, !a.equals("help"));
57 REPORTER_ASSERT(reporter, a.startsWith("hell"));
58 REPORTER_ASSERT(reporter, a.startsWith('h'));
59 REPORTER_ASSERT(reporter, !a.startsWith( "ell"));
60 REPORTER_ASSERT(reporter, !a.startsWith( 'e'));
61 REPORTER_ASSERT(reporter, a.startsWith(""));
62 REPORTER_ASSERT(reporter, a.endsWith("llo"));
63 REPORTER_ASSERT(reporter, a.endsWith('o'));
64 REPORTER_ASSERT(reporter, !a.endsWith("ll" ));
65 REPORTER_ASSERT(reporter, !a.endsWith('l'));
66 REPORTER_ASSERT(reporter, a.endsWith(""));
67 REPORTER_ASSERT(reporter, a.contains("he"));
68 REPORTER_ASSERT(reporter, a.contains("ll"));
69 REPORTER_ASSERT(reporter, a.contains("lo"));
70 REPORTER_ASSERT(reporter, a.contains("hello"));
71 REPORTER_ASSERT(reporter, !a.contains("hellohello"));
72 REPORTER_ASSERT(reporter, a.contains(""));
73 REPORTER_ASSERT(reporter, a.contains('e'));
74 REPORTER_ASSERT(reporter, !a.contains('z'));
80 REPORTER_ASSERT(reporter, a == e && a == f && a == g);
84 REPORTER_ASSERT(reporter, a != b && a != c && b == c);
91 REPORTER_ASSERT(reporter, a.equals("hello world") && a == e && a == f);
95 REPORTER_ASSERT(reporter, a.isEmpty() && b.isEmpty() && a == b);
104 REPORTER_ASSERT(reporter, a.equals("2147483647"));
107 REPORTER_ASSERT(reporter, a.equals("-2147483647"));
110 REPORTER_ASSERT(reporter, a.equals("-2147483648"));
114 REPORTER_ASSERT(reporter, a.equals("2147483647"));
117 REPORTER_ASSERT(reporter, a.equals("2147483649"));
120 REPORTER_ASSERT(reporter, a.equals("4294967295"));
124 REPORTER_ASSERT(reporter, a.equals("9223372036854775807"));
127 REPORTER_ASSERT(reporter, a.equals("-9223372036854775807"));
130 REPORTER_ASSERT(reporter, a.equals("-9223372036854775808"));
133 REPORTER_ASSERT(reporter, a.equals("000000016777216"));
136 REPORTER_ASSERT(reporter, a.equals("-000000016777216"));
140 REPORTER_ASSERT(reporter, a.equals("9223372036854775807"));
143 REPORTER_ASSERT(reporter, a.equals("9223372036854775809"));
146 REPORTER_ASSERT(reporter, a.equals("18446744073709551615"));
149 REPORTER_ASSERT(reporter, a.equals("000000016777216"));
170 REPORTER_ASSERT(reporter, a.size() <= SkStrAppendScalar_MaxSize);
172 REPORTER_ASSERT(reporter, a.equals(gRec[i].fString));
175 REPORTER_ASSERT(reporter, SkStringPrintf("%i", 0).equals("0"));
179 REPORTER_ASSERT(reporter, buffer[18] == 'a');
180 REPORTER_ASSERT(reporter, buffer[19] == 'a');
181 REPORTER_ASSERT(reporter, buffer[20] == 'a');
183 REPORTER_ASSERT(reporter, buffer[18] == ' ');
184 REPORTER_ASSERT(reporter, buffer[19] == 0);
185 REPORTER_ASSERT(reporter, buffer[20] == 'a');