mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-7008 Skip testing Asia/Amman in VTimeZone round trip test for now.
X-SVN-Rev: 26153
This commit is contained in:
parent
771dda07f2
commit
34f50d9180
1 changed files with 14 additions and 0 deletions
|
@ -25,6 +25,8 @@
|
|||
#define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break
|
||||
#define HOUR (60*60*1000)
|
||||
|
||||
static const UVersionInfo ICU_432 = {4,3,2,0};
|
||||
|
||||
static const char *const TESTZIDS[] = {
|
||||
"AGT",
|
||||
"America/New_York",
|
||||
|
@ -773,6 +775,12 @@ TimeZoneRuleTest::TestVTimeZoneRoundTrip(void) {
|
|||
errln("FAIL: error returned while enumerating timezone IDs.");
|
||||
break;
|
||||
}
|
||||
if (!isICUVersionAtLeast(ICU_432)) {
|
||||
// See ticket#7008
|
||||
if (*tzid == UnicodeString("Asia/Amman")) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
|
||||
VTimeZone *vtz_org = VTimeZone::createVTimeZoneByID(*tzid);
|
||||
vtz_org->setTZURL("http://source.icu-project.org/timezone");
|
||||
|
@ -866,6 +874,12 @@ TimeZoneRuleTest::TestVTimeZoneRoundTripPartial(void) {
|
|||
errln("FAIL: error returned while enumerating timezone IDs.");
|
||||
break;
|
||||
}
|
||||
if (!isICUVersionAtLeast(ICU_432)) {
|
||||
// See ticket#7008
|
||||
if (*tzid == UnicodeString("Asia/Amman")) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid);
|
||||
VTimeZone *vtz_org = VTimeZone::createVTimeZoneByID(*tzid);
|
||||
VTimeZone *vtz_new = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue