ICU-22534 BRS75 Remove fixed logKnownIssue for CLDR-17024

CLDR-17024 is fixed in CLDR45 and the test now passed.
Remove the logKnownIssue so it will test and report future breakage.
This commit is contained in:
Frank Tang 2024-03-28 12:22:22 -07:00 committed by Frank Yung-Fong Tang
parent 070a1f420b
commit 0127e4f760
2 changed files with 2 additions and 11 deletions

View file

@ -337,8 +337,7 @@ TimeZoneFormatTest::TestTimeZoneRoundTrip() {
}
} else {
// Specific or generic: raw offset must be preserved.
if (inRaw != outRaw && !(uprv_strncmp(LOCALES[locidx].getName(),"ku",2)==0 && tzid->compare(u"America/Miquelon",16)==0
&& logKnownIssue("CLDR-17024", "TestTimeZoneRoundTrip exhaustive fail with tz=America/Miquelon, locale=ku"))) {
if (inRaw != outRaw) {
errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid
+ ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
+ ", time=" + DATES[datidx] + ", str=" + tzstr

View file

@ -274,8 +274,7 @@ public class TimeZoneFormatTest extends CoreTestFmwk {
}
} else {
// Specific or generic: raw offset must be preserved.
if (inOffsets[0] != outOffsets[0] && !(LOCALES[locidx].getName().startsWith("ku") && tzids[tzidx].equals("America/Miquelon")
&& logKnownIssue("CLDR-17024", "TestTimeZoneRoundTrip exhaust. fail with tz=America/Miquelon, locale=ku"))) {
if (inOffsets[0] != outOffsets[0] ) {
if (JDKTZ && tzids[tzidx].startsWith("SystemV/")) {
// JDK uses rule SystemV for these zones while
// ICU handles these zones as aliases of existing time zones
@ -426,13 +425,6 @@ public class TimeZoneFormatTest extends CoreTestFmwk {
continue;
}
if ((id.equals("America/Miquelon") || id.equals("America/Hermosillo") || id.equals("America/Mazatlan"))
&& PATTERNS[patidx].equals("v")
&& LOCALES[locidx].getName().startsWith("ku")
&& logKnownIssue("CLDR-17024", "TestTimeRoundTrip fail with tz=America/Miquelon, pattern=v, locale=ku")) {
continue;
}
BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone(id, TimeZone.TIMEZONE_ICU);
TimeZone tz = TimeZone.getTimeZone(id);
sdf.setTimeZone(tz);