ICU-7586 Updated the time bombs in TimeZoneRuleTest.

X-SVN-Rev: 27960
This commit is contained in:
Yoshito Umaoka 2010-04-20 04:34:32 +00:00
parent e7ef45a1f0
commit a9544d7008

View File

@ -30,7 +30,7 @@
#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_45 = {4,5,0,0};
static const UVersionInfo ICU_452 = {4,5,2,0};
static const char *const TESTZIDS[] = {
"AGT",
@ -786,7 +786,7 @@ TimeZoneRuleTest::TestVTimeZoneRoundTrip(void) {
errln("FAIL: error returned while enumerating timezone IDs.");
break;
}
if (!isICUVersionAtLeast(ICU_45)) {
if (!isICUVersionAtLeast(ICU_452)) {
// See ticket#7008
if (*tzid == UnicodeString("Asia/Amman")) {
continue;
@ -885,7 +885,7 @@ TimeZoneRuleTest::TestVTimeZoneRoundTripPartial(void) {
errln("FAIL: error returned while enumerating timezone IDs.");
break;
}
if (!isICUVersionAtLeast(ICU_45)) {
if (!isICUVersionAtLeast(ICU_452)) {
// See ticket#7008
if (*tzid == UnicodeString("Asia/Amman")) {
continue;