harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-5818) [classlib][util]GregorianCalendarTest: two test case results depend on current date
Date Tue, 29 Jul 2008 15:16:31 GMT

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

Oliver Deakin resolved HARMONY-5818.

       Resolution: Fixed
    Fix Version/s:     (was: 5.0M6)

Thanks Jim. Patch applied at repo revision r680732. Please check that the patch was applied
as expected.

>  [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