]> granicus.if.org Git - icu/commitdiff
ICU-9742 removing tests depending on closed CldrBug:3058
authorSteven R. Loomis <srl@icu-project.org>
Wed, 11 Sep 2013 00:51:18 +0000 (00:51 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Wed, 11 Sep 2013 00:51:18 +0000 (00:51 +0000)
X-SVN-Rev: 34265

icu4c/source/test/cintltst/cldrtest.c
icu4c/source/test/cintltst/creststn.c

index a94d4f8d3d3f3a914e9aa63d3818c1d4e40697ed..65780c1ec11cb16f76532d82fed1a830ecf3c178 100644 (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);
index 9b0611eb5e4846635a225ec7075a36a8888bfd4a..8444da45a04ad5be459550d71cdc3f245e2e4700 100644 (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;