Ticket #6670 (closed defect: fixed)

Bug contains 2 commit(s) | SVN Diffs for #6670

 

Opened 1 year ago

Last modified 3 months ago

Test failure in format/TimeZoneTest/TestShortZoneIDs

Reported by: yoshito Assigned to: yoshito
Priority: assess Milestone: 4.1.2
Component: time_calc Version: Current
Keywords: Cc:
Load: Xref:
Java Version: Operating System:
Project (C/J): all Weeks:
Review: srl

Description

ICU4C test case TestShortZoneIDs started failing since the beginning of this year.

         FAIL: Time Zone PLT use daylight is FALSE but it should be TRUE

      ---ERRORS (1) in TestShortZoneIDs

The test case calls useDaylightTime and check if the returned value matches the hardcoded test data. "PLT" is an alias of "Asia/Karachi" defined by ICU for JDK compatibility support. The zone used daylight saving time in year 2008 (tzdata 2008c). But as of now, no plan for 2009. useDaylightTime checks if DST is observed in the current calendar year. Thus, it used to return true until Jan 1, 2009. We could simply change the test data to false to get rid of this problem. However, it looks such test case introduce confusions to ICU users who maintain tzdata (and run the test for verification). We should find out a better solution to make test case more stable.

For ICU4J, the test data for "PLT" was commented out because ICU4J used to rely on JDK TimeZone data and the implementation for "PLT" was not stable. There is no good reason to skip the test data now, because ICU4J has its own data.

Attachments

Change History

01/07/09 11:30:03 changed by yoshito

  • owner changed from somebody to yoshito.
  • revw set to srl.
  • milestone changed from UNSCH to 4.1.2.

05/22/09 09:32:32 changed by srl

  • status changed from new to closed.
  • resolution set to fixed.

12/17/09 21:38:49 changed by kareem198625@...

There is a good thing which will make some people feel happy and excited. The thing is that the<a href="http://www.store2n.com"> Ugg Boots Cheap</a> are becoming more and more popular. The person is some one who is the fan of Ugg Boots and wear and believe <STRONG><A href="http://www.store2n.com/">Ugg Boots</A></STRONG> for many years. now<a href="http://www.store2n.com"> discount ugg boots sale </a>http://www.store2n.com


Add/Change #6670 (Test failure in format/TimeZoneTest/TestShortZoneIDs)




Anti spam check: