harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Yu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-5818) [classlib][util]GregorianCalendarTest: two test case results depend on current date
Date Wed, 24 Jun 2009 08:59:07 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jim Yu closed HARMONY-5818.

>  [classlib][util]GregorianCalendarTest: two test case results depend on current date

> -------------------------------------------------------------------------------------
>                 Key: HARMONY-5818
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5818
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M6
>            Reporter: Jim Yu
>            Assignee: Oliver Deakin
>         Attachments: HARMONY-5818.diff
> GregorianCalendarTest: whether the two test cases below will pass or not depends on the
current date. If current date is using daylight savings in "CST" while "EST" doesn't use daylight
savings all the time, then the hour field of calendar for "CST" and "EST" are the same, the
test cases will fail. Otherwise, "CST" is 1 hour before "EST", the test cases will succeed.
So we should specify a fixed date for the calendar so as to make the below test cases behave
unchangeably all the time.
> (1) test_ConstructorLjava_util_TimeZone()
> (2) test_ConstructorLjava_util_TimeZoneLjava_util_Locale()

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message