Lines Matching defs:expected
82 * Ensure that Builder builds locales that have the expected
365 errln("expected exception on add to extension key set");
424 errln("expected exception when add to locale key set");
1249 String expected = (data.length == 1) ? data[0] : data[1];
1254 assertEquals("Language tag roundtrip by forLanguageTag with input: " + in, expected, out);
1261 assertEquals("Language tag roundtrip by Builder.setLanguageTag with input: " + in, expected, out);
1273 String expected = (data.length == 1) ? data[0] : data[1];
1277 assertEquals("Empty country field with non-empty script/extension with input: " + in, expected, out);
1299 private void checkCalendar(Locale loc, String expected) {
1301 assertEquals("Wrong calendar", expected, cal.getClass().getName());
1304 private void checkDigit(Locale loc, Character expected) {
1307 assertEquals("Wrong digit zero char", expected, zero);
1316 errln(msg + ": expected true");
1322 errln(msg + ": expected false");
1334 errln(msg + ": expected " + e + " but got " + v);
1343 errln(msg + ": expected not equal " + e);
1349 errln(msg + ": expected null but got '" + o + "'");
1355 errln(msg + ": expected non null");
1371 failMsg = "expected " + exceptionClass.getName() + " but no exception thrown.";
1375 failMsg = "expected " + exceptionClass.getName() + " but caught " + e;