mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
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:
parent
070a1f420b
commit
0127e4f760
2 changed files with 2 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue