Home | History | Annotate | Download | only in cintltst

Lines Matching refs:expected

138             log_err("FAIL: Error in MessageFormat on testcase : %d\n GOT %s EXPECTED %s\n", i, 
170 log_err("FAIL: Error in MessageFormat on testcase : %d\n GOT %s EXPECTED %s\n", i,
218 log_err("FAIL: Error in MessageFormat on testcase : %d\n GOT %s EXPECTED %s\n", i,
232 log_err("FAIL: Did not get expected error for umsg_parse(). Expected: U_ILLEGAL_ARGUMENT_ERROR Got: %s \n",u_errorName(ec));
247 log_err("FAIL: Expected U_BUFFER_OVERFLOW error while preflighting got: %s for testCasePatterns[%d]",u_errorName(ec),i);
263 UChar pattern[100], expected[100];
274 u_uastrcpy(expected, "There are abc files on Jul 10, 1996");
289 else if(u_strcmp(result, expected)==0)
292 log_err("FAIL: Error in MessageFormat on test#1 \n GOT: %s EXPECTED: %s\n",
293 austrdup(result), austrdup(expected) );
299 u_uastrcpy(expected, "The disk \"MyDisk\" contains 23 file(s)");
320 else if(u_strcmp(result, expected)==0)
323 log_err("FAIL: Error in MessageFormat on test#2\n GOT: %s EXPECTED: %s\n",
324 austrdup(result), austrdup(expected) );
331 u_uastrcpy(expected, "You made a deposit of $500.00");
345 else if(u_strcmp(result, expected)==0)
348 log_err("FAIL: Error in MessageFormat on test#3\n GOT: %s EXPECTED %s\n", austrdup(result),
349 austrdup(expected) );
364 UChar expected[100];
396 u_uastrcpy(expected, "On March 18, 1999, there was a disturbance in force on planet 7");
417 if(u_strcmp(result, expected)==0)
420 log_err("FAIL: Error in MessageFormat on test#4\n GOT: %s EXPECTED: %s\n", austrdup(result),
421 austrdup(expected) );
446 log_err("FAIL: parseMessage didn't parse the date successfully\n GOT: %s EXPECTED %s\n",
466 UChar expected[100];
496 u_uastrcpy(expected, "On March 18, 1999, there was a disturbance in force on planet 7");
511 else if(u_strcmp(result, expected)==0)
514 log_err("FAIL: Error in MessageFormat on test#4\n GOT: %s EXPECTED: %s\n", austrdup(result),
515 austrdup(expected) );
540 log_err("FAIL: parseMessage didn't parse the date successfully\n GOT: %s EXPECTED %s\n",
560 UChar expected[100];
589 u_uastrcpy(expected, "On March 18, 1999, there was a disturbance in force on planet 7");
604 else if(u_strcmp(result, expected)==0)
607 log_err("FAIL: Error in MessageFormat on test#4\n GOT: %s EXPECTED: %s\n", austrdup(result),
608 austrdup(expected) );
633 log_err("FAIL: parseMessage didn't parse the date successfully\n GOT: %s EXPECTED %s\n",
655 UChar expected[100];
664 u_uastrcpy(expected, "Kirti est all\\u00E9e \\u00E0 Paris.");
673 if(u_strcmp(result, expected)==0)
676 log_err("FAIL: Error in MessageFormat on Select test#1\n GOT %s EXPECTED %s\n", austrdup(result),
677 austrdup(expected) );
694 u_uastrcpy(expected, "Noname est all\\u00E9 \\u00E0 Paris.");
703 if(u_strcmp(result, expected)==0)
706 log_err("FAIL: Error in MessageFormat on Select test#2\n GOT %s EXPECTED %s\n", austrdup(result),
707 austrdup(expected) );
725 UChar expected[100];
733 u_uastrcpy(expected, "The disk MyDisk contains 100 files");
742 if(u_strcmp(result, expected)==0)
745 log_err("FAIL: Error in MessageFormat on test#6\n GOT %s EXPECTED %s\n", austrdup(result),
746 austrdup(expected) );
755 u_uastrcpy(expected, "The disk MyDisk contains no files");
765 if(u_strcmp(result, expected)==0)
768 log_err("FAIL: Error in MessageFormat on test#7\n GOT: %s EXPECTED %s\n", austrdup(result),
769 austrdup(expected) );
778 u_uastrcpy(expected, "The disk MyDisk contains one file");
788 if(u_strcmp(result, expected)==0)
791 log_err("FAIL: Error in MessageFormat on test#8\n GOT %s EXPECTED: %s\n", austrdup(result),
792 austrdup(expected) );
897 log_err("FAIL: Error in MessageFormat on testcase : %d\n GOT %s EXPECTED %s\n", i,
995 log_data_err("FAIL: got \"%s\", expected \"%s\" -> %s (Are you missing data?)\n", cresult, EXP, u_errorName(status));
1049 log_err("umsg_setLocale and umsg_getLocale methods failed. Expected:%s Got: %s \n", locale, retLoc);
1067 log_err("umsg_toPattern method failed. Expected: %s Got: %s \n",PAT,cresult);
1085 UChar expected[sizeof(expectedChars)];
1088 u_uastrncpy(expected, expectedChars, sizeof(expected)/sizeof(expected[0]));
1094 if (u_strcmp(result, expected) != 0) {
1095 log_err("u_formatMessage didn't return expected result\n");