ICU-4450 update tests

X-SVN-Rev: 17993
This commit is contained in:
Ram Viswanadha 2005-06-23 18:23:03 +00:00
parent a6b5a59896
commit 4232bf88c3
3 changed files with 5 additions and 5 deletions

View file

@ -274,7 +274,7 @@ static void TestCalendar()
}
ucal_getTimeZoneDisplayName(caldef, UCAL_SHORT_DST, "en_US", result, resultlength, &status);
u_uastrcpy(tzdname, "PT");
u_uastrcpy(tzdname, "PDT");
if(u_strcmp(tzdname, result) != 0){
log_err("FAIL: got the wrong time zone(SHORT_DST) display name %s, wanted %s\n", austrdup(result), austrdup(tzdname));
}
@ -286,7 +286,7 @@ static void TestCalendar()
}
ucal_getTimeZoneDisplayName(caldef, UCAL_SHORT_STANDARD, "en_US", result, resultlength, &status);
u_uastrcpy(tzdname, "PT");
u_uastrcpy(tzdname, "PST");
if(u_strcmp(tzdname, result) != 0){
log_err("FAIL: got the wrong time zone(SHORT_STANDARD) display name %s, wanted %s\n", austrdup(result), austrdup(tzdname));
}

View file

@ -170,7 +170,7 @@ static void TestDateFormat()
log_err("FAIL: Date Format for US locale failed using udat_format()\n");
/*format using fr */
u_unescape("10 juil. 96 16 h 05 HP (\\u00c9UA)", temp, 30);
u_unescape("10 juil. 96 16 h 05 HAP (\\u00c9UA)", temp, 30);
if(result != NULL) {
free(result);
result = NULL;
@ -443,7 +443,7 @@ static void TestSymbols()
VerifygetSymbols(def, UDAT_AM_PMS, 1, "PM");
VerifygetSymbols(fr, UDAT_SHORT_MONTHS, 0, "janv.");
VerifygetSymbols(def, UDAT_SHORT_MONTHS, 11, "Dec");
VerifygetSymbols(def,UDAT_LOCALIZED_CHARS, 0, "GyMdkHmsSEDFwWahKzYeugAZ");
VerifygetSymbols(def,UDAT_LOCALIZED_CHARS, 0, "GyMdkHmsSEDFwWahKzYeugAZvcL");
if(result != NULL) {

View file

@ -42,7 +42,7 @@ static const char* const txt_testResultStrings[] = {
"Quotes ', {, a 1 {0}",
"Quotes ', {, a 1 {0}",
"You deposited 1 times an amount of $3,456.00 on 1/12/70",
"{2,time,full}, for 3,456, 1 is 5:46:40 AM PT and full date is Monday, January 12, 1970",
"{2,time,full}, for 3,456, 1 is 5:46:40 AM PST and full date is Monday, January 12, 1970",
"{1,number,percent} for 1 is 345,600%"
};