diff --git a/icu4c/source/test/intltest/callimts.cpp b/icu4c/source/test/intltest/callimts.cpp index bfb946db4ef..973da7cb11d 100644 --- a/icu4c/source/test/intltest/callimts.cpp +++ b/icu4c/source/test/intltest/callimts.cpp @@ -418,7 +418,7 @@ CalendarLimitTest::doLimitsTest(Calendar& cal, if (maxActual < maxLow || maxActual > maxHigh) { if ( uprv_strcmp(cal.getType(), "chinese") == 0 && testMillis >= 1802044800000.0 && - logKnownIssue("12620", "chinese calendar failures for some actualMax tests")) { + logKnownIssue("ICU-12620", "chinese calendar failures for some actualMax tests")) { logln((UnicodeString)"KnownFail: [" + cal.getType() + "] " + ymdToString(cal, ymd) + " Range for max of " + FIELD_NAME[f] + "(" + f + @@ -436,7 +436,7 @@ CalendarLimitTest::doLimitsTest(Calendar& cal, // timebomb per #9967, fix with #9972 if ( uprv_strcmp(cal.getType(), "dangi") == 0 && testMillis >= 1865635198000.0 && - logKnownIssue("9972", "as per #9967")) { // Feb 2029 gregorian, end of dangi 4361 + logKnownIssue("ICU-9972", "as per #9967")) { // Feb 2029 gregorian, end of dangi 4361 logln((UnicodeString)"KnownFail: [" + cal.getType() + "] " + ymdToString(cal, ymd) + " " + FIELD_NAME[f] + "(" + f + ")=" + v + @@ -445,7 +445,7 @@ CalendarLimitTest::doLimitsTest(Calendar& cal, maxLow + ".." + maxHigh + ")"); } else if ( uprv_strcmp(cal.getType(), "chinese") == 0 && testMillis >= 1832544000000.0 && - logKnownIssue("12620", "chinese calendar failures for some actualMax tests")) { + logKnownIssue("ICU-12620", "chinese calendar failures for some actualMax tests")) { logln((UnicodeString)"KnownFail: [" + cal.getType() + "] " + ymdToString(cal, ymd) + " " + FIELD_NAME[f] + "(" + f + ")=" + v + diff --git a/icu4c/source/test/intltest/g7coll.cpp b/icu4c/source/test/intltest/g7coll.cpp index 8ef4fd7188c..387c6c76790 100644 --- a/icu4c/source/test/intltest/g7coll.cpp +++ b/icu4c/source/test/intltest/g7coll.cpp @@ -115,7 +115,7 @@ void G7CollationTest::TestG7Locales(/* char* par */) if (rules.isEmpty() && (locale == Locale::getCanadaFrench() || locale == Locale::getJapanese())) { dataerrln("%s Collator missing rule string", locale.getName()); - if (logKnownIssue("10671", "TestG7Locales does not test ignore-punctuation")) { + if (logKnownIssue("ICU-10671", "TestG7Locales does not test ignore-punctuation")) { continue; } } else { diff --git a/icu4c/source/test/intltest/loctest.cpp b/icu4c/source/test/intltest/loctest.cpp index 0238f1b8567..b16f7b5b09c 100644 --- a/icu4c/source/test/intltest/loctest.cpp +++ b/icu4c/source/test/intltest/loctest.cpp @@ -5646,14 +5646,6 @@ public: } }; -bool isKnownSourceForCLDR17099(const std::string& s) { - if (s.compare("qaa-Cyrl-CH") == 0) { - return true; - } - - return false; -} - void U_CALLCONV testLikelySubtagsLineFn(void *context, char *fields[][2], int32_t fieldCount, @@ -5664,9 +5656,6 @@ testLikelySubtagsLineFn(void *context, (void)fieldCount; LocaleTest* THIS = (LocaleTest*)context; std::string source(trim(std::string(fields[0][0], fields[0][1]-fields[0][0]))); - if (isKnownSourceForCLDR17099(source) && THIS->logKnownIssue("CLDR-17099", "likelySubtags.txt wrong for qaa-Cyrl-CH")) { - return; - } std::string addLikely(trim(std::string(fields[1][0], fields[1][1]-fields[1][0]))); std::string removeFavorScript(trim(std::string(fields[2][0], fields[2][1]-fields[2][0]))); if (removeFavorScript.length() == 0) { diff --git a/icu4c/source/test/intltest/numbertest_range.cpp b/icu4c/source/test/intltest/numbertest_range.cpp index e3e84c63de1..a337e8d8a2d 100644 --- a/icu4c/source/test/intltest/numbertest_range.cpp +++ b/icu4c/source/test/intltest/numbertest_range.cpp @@ -1037,7 +1037,6 @@ void NumberRangeFormatterTest::test21358_SignPosition() { } { - // TODO(CLDR-14111): Add spacing between range separator and sign LocalizedNumberRangeFormatter lnrf = NumberRangeFormatter::withLocale("de-CH"); UnicodeString actual = lnrf.formatFormattableRange(2, -3, status).toString(status); assertEquals("Positive to negative range", u"2–-3", actual); diff --git a/icu4c/source/test/intltest/transtst.cpp b/icu4c/source/test/intltest/transtst.cpp index a9000729864..a0b2fddcc26 100644 --- a/icu4c/source/test/intltest/transtst.cpp +++ b/icu4c/source/test/intltest/transtst.cpp @@ -2151,7 +2151,7 @@ void TransliteratorTest::TestSTV() { for (j=0; j<3; ++j) { if (SOURCES[j] == nullptr) continue; if (s.caseCompare(SOURCES[j],0)==0) { - if (j!=2 || !logKnownIssue("21911", "ICU4C cannot create inverse of (or unregister) Any-Xxxx/Variant transform created from both-direction transform")) { + if (j!=2 || !logKnownIssue("ICU-21911", "ICU4C cannot create inverse of (or unregister) Any-Xxxx/Variant transform created from both-direction transform")) { errln((UnicodeString)"FAIL: unregister(" + s + "-*) failed"); } } @@ -3685,7 +3685,7 @@ void TransliteratorTest::TestIncrementalProgress() { #if UCONFIG_NO_BREAK_ITERATION && id.compare((UnicodeString)"Latin-Thai/") != 0 #endif - && !(logKnownIssue("21911", "ICU4C cannot create inverse of Any-Xxxx/Variant transform created from both-direction transform") && + && !(logKnownIssue("ICU-21911", "ICU4C cannot create inverse of Any-Xxxx/Variant transform created from both-direction transform") && id.startsWith((UnicodeString)"Any-") && (id.endsWith((UnicodeString)"/UNGEGN") || id.startsWith((UnicodeString)"Any-Ethiopic/") || id.startsWith((UnicodeString)"Any-Braille/") || id.endsWith((UnicodeString)"/Gurage_2013") || id.endsWith((UnicodeString)"/Gutgarts") || id.endsWith((UnicodeString)"/Tekie_Alibekit") || diff --git a/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/number/NumberRangeFormatterTest.java b/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/number/NumberRangeFormatterTest.java index 04f8b703a8f..fd95fd89002 100644 --- a/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/number/NumberRangeFormatterTest.java +++ b/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/number/NumberRangeFormatterTest.java @@ -967,7 +967,6 @@ public class NumberRangeFormatterTest extends CoreTestFmwk { } { - // TODO(CLDR-14111): Add spacing between range separator and sign LocalizedNumberRangeFormatter lnrf = NumberRangeFormatter .withLocale(ULocale.forLanguageTag("de-CH")); String actual = lnrf.formatRange(2, -3).toString(); diff --git a/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java b/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java index 849b9b106cf..6b270de7cbe 100644 --- a/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java +++ b/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java @@ -717,9 +717,8 @@ public final class ICUResourceBundleTest extends CoreTestFmwk { } Set localLangExceptions = new HashSet<>(); - if (logKnownIssue("cldrbug:17001", "No localized language name for nmg, vmw")) { + if (logKnownIssue("ICU-22681", "No localized language name for nmg")) { localLangExceptions.add("nmg"); - localLangExceptions.add("vmw"); } for (int i = 0; i < locales.length; ++i) { diff --git a/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/DateIntervalFormatTest.java b/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/DateIntervalFormatTest.java index 24e7f96851a..98d584d2095 100644 --- a/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/DateIntervalFormatTest.java +++ b/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/DateIntervalFormatTest.java @@ -1815,7 +1815,7 @@ public class DateIntervalFormatTest extends CoreTestFmwk { String firstPart = patternInfo.getFirstPart(); String secondPart = patternInfo.getSecondPart(); if (!matches(dateFormatPattern, firstPart, secondPart)) { - if (logKnownIssue("11585", "incompatible pattern between date format and date interval format")) { + if (logKnownIssue("ICU-11585", "incompatible pattern between date format and date interval format")) { logln("For skeleton " + skeleton + "/locale " + locale + ": mismatch between date format «" + dateFormatPattern + "» and date interval format «" + firstPart + secondPart + "»."); } else {