Skip to content

Commit

Permalink
ICU-22723 ICU76: Update known issue references to cloned reports. BRS #…
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-oly committed Sep 25, 2024
1 parent 0924c72 commit 109008d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 19 deletions.
5 changes: 2 additions & 3 deletions icu4c/source/test/intltest/dtptngts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1391,9 +1391,8 @@ void IntlTestDateTimePatternGeneratorAPI::testJjMapping() {
continue;
}
// Now check that shortPattern and jPattern use the same hour cycle
if ((uprv_strncmp(localeID, "csw", 3) == 0 || uprv_strncmp(localeID, "kxv_", 4) == 0 || uprv_strncmp(localeID, "zh_Hans_MY", 10) == 0
|| uprv_strncmp(localeID, "yue_Hant_CN", 11) == 0)
&& logKnownIssue("CLDR-17199", "Need timeFormats with h for csw, kxv_Xxxx, zh_Hans_MY, yue_Hant_CN")) {
if ((uprv_strncmp(localeID, "yue_Hant_CN", 11) == 0)
&& logKnownIssue("CLDR-17979", "Need timeFormats with h for yue_Hant_CN")) {
continue;
}
UnicodeString jPatSkeleton = DateTimePatternGenerator::staticGetSkeleton(jPattern, status);
Expand Down
8 changes: 4 additions & 4 deletions icu4c/source/test/intltest/loctest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4131,7 +4131,7 @@ LocaleTest::TestAddLikelyAndMinimizeSubtags() {
const char* const org = item.from;
const char* const exp = item.add;
if (uprv_strcmp(org,"und_Hant_CN") == 0 &&
logKnownIssue("CLDR-17908", "und_Hant_CN changed expected result for Likely Subtags")) {
logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
continue;
}
Locale res(org);
Expand All @@ -4148,7 +4148,7 @@ LocaleTest::TestAddLikelyAndMinimizeSubtags() {
const char* const org = item.from;
const char* const exp = item.remove;
if (uprv_strcmp(org,"und_Hant_CN") == 0 &&
logKnownIssue("CLDR-17908", "und_Hant_CN changed expected result for Likely Subtags")) {
logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
continue;
}
Locale res(org);
Expand Down Expand Up @@ -5719,7 +5719,7 @@ void LocaleTest::TestIsRightToLeft() {
assertFalse("fil LTR", Locale("fil").isRightToLeft());
assertFalse("he-Zyxw LTR", Locale("he-Zyxw").isRightToLeft());

if (logKnownIssue("CLDR-17908", "und_Hant_CN changed expected result for Likely Subtags")) {
if (logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
return;
}
}
Expand Down Expand Up @@ -5928,7 +5928,7 @@ testLikelySubtagsLineFn(void *context,

if ( (uprv_strcmp(source.c_str(), "und-Latn-MU") == 0 || uprv_strcmp(source.c_str(), "und-Latn-RS") == 0 || uprv_strcmp(source.c_str(), "und-Latn-SL") == 0
|| uprv_strcmp(source.c_str(), "und-Latn-TK") == 0 || uprv_strcmp(source.c_str(), "und-Latn-ZM") == 0 )
&& THIS->logKnownIssue("CLDR-17908", "und_Hant_CN changed expected result for Likely Subtags")) {
&& THIS->logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
return;
}

Expand Down
9 changes: 1 addition & 8 deletions icu4c/source/test/intltest/tzfmttst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,17 +620,10 @@ void TimeZoneFormatTest::RunTimeRoundTripTests(int32_t threadNumber) {
continue;
}

if ((*tzid == "America/Miquelon" || *tzid == "America/Hermosillo" || *tzid == "America/Mazatlan")
&& uprv_strncmp(gLocaleData->locales[locidx].getName(),"ku",2) == 0
&& uprv_strcmp(PATTERNS[patidx], "v") == 0
&& logKnownIssue("CLDR-17024", "TestTimeRoundTrip fail with tz=America/Miquelon, pattern=v, locale=ku")) {
continue;
}


BasicTimeZone *tz = dynamic_cast<BasicTimeZone*>(TimeZone::createTimeZone(*tzid));
sdf->setTimeZone(*tz);


UDate t = gLocaleData->START_TIME;
TimeZoneTransition tzt;
UBool tztAvail = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4167,7 +4167,7 @@ else if (!res.toString().equals(exp)) {

for (int i = 0; i < full_data.length; i++) {
if (full_data[i][0].equals("und_Hant_CN") &&
logKnownIssue("CLDR-17908", "und_Hant_CN changed expected result for Likely Subtags")) {
logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags")) {
continue;
}
ULocale org = new ULocale(full_data[i][0]);
Expand Down Expand Up @@ -5720,7 +5720,7 @@ public void likelySubtagsDataDriven(TestCase test) {
} else {
if ( ( test.source.equals("und-Latn-MU") || test.source.equals("und-Latn-RS") || test.source.equals("und-Latn-SL")
|| test.source.equals("und-Latn-TK") || test.source.equals("und-Latn-ZM") )
&& logKnownIssue("CLDR-17908", "und_Hant_CN changed expected result for Likely Subtags") ) {
&& logKnownIssue("CLDR-17981", "und_Hant_CN changed expected result for Likely Subtags") ) {
return;
}
assertEquals("addLikelySubtags(" + test.source + ")",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ public void TestFirstDayOfWeek() {
// ssh => ssh_Arab_AE => Saturday
verifyFirstDayOfWeek("ssh", Calendar.MONDAY);
// wbl_Arab => wbl_Arab_AF => Saturday
if (!logKnownIssue("CLDR-17907", "wbl-Arab returns wrong first day of the week, probably caused by wrong Likely Subtag algo")) {
// Also known as CLDR-17907
if (!logKnownIssue("ICU-22924", "wbl-Arab returns wrong first day of the week, probably caused by wrong Likely Subtag algo")) {
verifyFirstDayOfWeek("wbl-Arab", Calendar.SATURDAY);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public void Testel() throws IOException {

@Test
public void TestCyrillic() throws IOException {
if (logKnownIssue("CLDR-16218", "ICU4C Transliterator RoundTripTest finds many problems with updated Cyrillic-Latin transform")) {
if (logKnownIssue("CLDR-17976", "ICU4C Transliterator RoundTripTest finds many problems with updated Cyrillic-Latin transform")) {
return;
}
long start = System.currentTimeMillis();
Expand Down

0 comments on commit 109008d

Please sign in to comment.