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] Created: (HARMONY-5818) [classlib][util]GregorianCalendarTest: two test case results depend on current date
Date Fri, 09 May 2008 08:08:55 GMT
 [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
             Fix For: 5.0M6


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.


Mime
View raw message