Lines Matching defs:expected
158 // Additional input data & expected result for test3()
230 int expected = Character.codePointCount(sb, j, length);
231 check(result != expected, "codePointCount(input["+i+"], "+j+", "+length+")",
232 result, expected);
236 int expected = Character.codePointCount(sb, 0, j);
237 check(result != expected, "codePointCount(input["+i+"], 0, "+j+")",
238 result, expected);
268 int expected = j;
272 expected--;
275 check(result != expected,
277 result, expected);
282 int expected = j;
286 expected++;
289 check(result != expected,
291 result, expected);
311 static void testCodePoint(boolean isAt, StringBuilder sb, int index, int expected) {
314 check(c != expected,
316 + sb + ">", c, expected);
378 static void check(boolean err, String s, int got, int expected) {
383 + ", expected "
384 + toHexString(expected));
388 static void check(boolean err, String s, StringBuilder got, String expected) {
393 + ">, expected <"
394 + toHexString(expected)