[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #7802(accepted unittest)

Opened 3 years ago

Last modified 19 months ago

CLDR unittest should not depends on ICU4J's time zone

Reported by: yoshito Owned by: yoshito
Component: datetime Data Locale:
Phase: rc Review:
Weeks: Data Xpath:
Xref:

Description

While working on tzdata2014f changes, which involves new time zones and deprecation, I found a couple of cldr-unittest cases failing because of the dependencies on ICU4J time zone class.

TestSupplementalInfo {
  TestMetazones {
    Error: File TestSupplementalInfo.java, Line 1368: metazones for Asia/Chongqing: expected != null
    Error: File TestSupplementalInfo.java, Line 1368: metazones for Asia/Harbin: expected != null
    Error: File TestSupplementalInfo.java, Line 1368: metazones for Asia/Kashgar: expected != null
  } (0.046s) FAILED (3 failures)
TestPathHeader {
  Test00AFile {
    Error: Bad page ID:	Unknown Region	Timezones	Unknown Region	Cities and Regions	Chita	//ldml/dates/timeZoneNames/zone[@type="Asia/Chita"]/exemplarCity
    Error: Bad page ID:	Unknown Region	Timezones	Unknown Region	Cities and Regions	Srednekolymsk	//ldml/dates/timeZoneNames/zone[@type="Asia/Srednekolymsk"]/exemplarCity
  } (2.030s) FAILED (2 failures)

To run these tests without errors, ICU4J's time zone data must be updated to the latest level INCLUDING data from CLDR. So this is a chicken-and-egg problem.

CLDR test cases should not depend on ICU4J's TimeZone class.

Attachments

Change History

comment:1 Changed 3 years ago by yoshito

  • Owner changed from anybody to yoshito
  • Status changed from new to assigned
  • Component changed from unknown to test
  • Milestone changed from UNSCH to 27rc

comment:2 Changed 3 years ago by markus

  • Phase set to rc
  • Milestone changed from 27rc to 27

comment:3 Changed 2 years ago by emmons

  • Milestone changed from 27 to 28

comment:4 Changed 2 years ago by markus

  • Type set to unittest
  • Component changed from test to unknown

comment:5 Changed 2 years ago by srl

  • Status changed from assigned to accepted

comment:6 Changed 20 months ago by emmons

  • Component changed from unknown to datetime

comment:7 Changed 19 months ago by emmons

  • Milestone changed from 28 to 28roll

Moving all outstanding 28 tickets to 28roll. We will discuss disposition of these at the next CLDR TC.

View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.