ICU-9742 removing tests depending on closed CldrBug:3058

X-SVN-Rev: 34265
This commit is contained in:
Steven R. Loomis 2013-09-11 00:51:18 +00:00
parent 90fd46df00
commit b3d29d3d8c
2 changed files with 0 additions and 17 deletions

View File

@ -971,15 +971,6 @@ static void VerifyTranslation(void) {
if (U_FAILURE(errorCode)) {
log_err("error uloc_getDisplayCountry returned %s\n", u_errorName(errorCode));
}
else if ((uprv_strstr(currLoc, "ti_") != currLoc && uprv_strstr(currLoc, "sr_Latn_XK") != currLoc) || isICUVersionAtLeast(52, 0, 2)) {
/* TODO: FIX or REMOVE this test! Was: restore DisplayCountry test for ti_* when cldrbug 3058 is fixed) - but CldrBug:3058 is wontfix */
/* For sr_Latn_XK we need to wait until the names get updated from sr[_Cyrl] later in CLDR 24 */
strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, mergedExemplarSet, FALSE, &badChar);
if (strIdx >= 0) {
log_err("getDisplayCountry(%s) at index %d returned characters not in the exemplar characters: %04X.\n",
currLoc, strIdx, badChar);
}
}
{
UResourceBundle* cal = ures_getByKey(currentLocale, "calendar", NULL, &errorCode);
UResourceBundle* greg = ures_getByKeyWithFallback(cal, "gregorian", NULL, &errorCode);

View File

@ -280,14 +280,6 @@ static void TestErrorCodes(void) {
status = U_USING_DEFAULT_WARNING;
r = ures_open(U_ICUDATA_REGION, "ti", &status);
checkStatus(__LINE__, U_USING_DEFAULT_WARNING, status);
/* we look up the resource which is aliased and at our level */
/* TODO: restore the following test when cldrbug 3058: is fixed - but CldrBug:3058 is WONTFIX */
if(U_SUCCESS(status) && r != NULL && isICUVersionAtLeast(52, 0, 2)) {
status = U_USING_DEFAULT_WARNING;
r2 = ures_getByKey(r, "Countries", r2, &status);
checkStatus(__LINE__, U_USING_DEFAULT_WARNING, status);
}
ures_close(r);
status = U_USING_FALLBACK_WARNING;