Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 21558 invoked from network); 29 Jul 2008 15:16:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2008 15:16:53 -0000 Received: (qmail 62825 invoked by uid 500); 29 Jul 2008 15:16:53 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 62708 invoked by uid 500); 29 Jul 2008 15:16:52 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 62691 invoked by uid 99); 29 Jul 2008 15:16:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 08:16:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 15:16:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DF90C234C181 for ; Tue, 29 Jul 2008 08:16:31 -0700 (PDT) Message-ID: <337664933.1217344591914.JavaMail.jira@brutus> Date: Tue, 29 Jul 2008 08:16:31 -0700 (PDT) From: "Oliver Deakin (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-5818) [classlib][util]GregorianCalendarTest: two test case results depend on current date In-Reply-To: <149389419.1210320535765.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.