Lines Matching defs:expected

95     // this is the expected output for 123.45, with no '<' in it.
125 UnicodeString expected(text1);
127 if (result != expected) {
128 errln((UnicodeString)"expected '" + TestUtility::hex(expected) + "'\nbut got: '" + TestUtility::hex(result) + "'");
132 // errln("expected 123.45 but got: %g", parseResult.getDouble());
137 UnicodeString expected(text2);
140 if (result != expected) {
141 errln((UnicodeString)"expected '" + TestUtility::hex(expected) + "'\nbut got: '" + TestUtility::hex(result) + "'");
146 // errln("expected 123.0045 but got: %g", parseResult.getDouble());
315 UnicodeString expected("four point five","");
319 if(result != expected) {
320 errln("Formatted 4.5, expected " + expected + " got " + result);
322 logln("Formatted 4.5, expected " + expected + " got " + result);
325 expected = "four";
327 if(result != expected) {
328 errln("Formatted 4, expected " + expected + " got " + result);
330 logln("Formatted 4, expected " + expected + " got " + result);
336 if(result != expected) {
337 errln("Formatted 4 int64_t, expected " + expected + " got " + result);
339 logln("Formatted 4 int64_t, expected " + expected + " got " + result);
346 if(result != expected) {
347 errln("Formatted 4 int64_t, expected " + expected + " got " + result);
349 logln("Formatted 4 int64_t, expected " + expected + " got " + result);
2019 UnicodeString expected(UNICODE_STRING_SIMPLE("1.234 million"));
2020 if (expected != res) {
2022 msg.append(expected);
2046 UnicodeString expected[] = {
2056 if (result != expected[0]) {
2057 errln("Format Error - Got: " + result + " Expected: " + expected[0]);
2067 if (result != expected[1]) {
2068 errln("Format Error - Got: " + result + " Expected: " + expected[1]);
2334 if (status != U_INVALID_FORMAT_ERROR) { // I would have expected U_PARSE_ERROR, but NumberFormat::parse gives U_INVALID_FORMAT_ERROR
2395 msg.append(", expected ");
2419 msg.append(", expected ");
2479 msg.append(", expected ");