Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 20880 invoked from network); 29 Jul 2008 15:14:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2008 15:14:47 -0000 Received: (qmail 60755 invoked by uid 500); 29 Jul 2008 15:14:47 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 60659 invoked by uid 500); 29 Jul 2008 15:14:46 -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 60650 invoked by uid 99); 29 Jul 2008 15:14:46 -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:14:46 -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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 15:14:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BD5C0238889B; Tue, 29 Jul 2008 08:14:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r680732 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/GregorianCalendarTest.java Date: Tue, 29 Jul 2008 15:14:26 -0000 To: commits@harmony.apache.org From: odeakin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080729151426.BD5C0238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: odeakin Date: Tue Jul 29 08:14:24 2008 New Revision: 680732 URL: http://svn.apache.org/viewvc?rev=680732&view=rev Log: Apply patch for HARMONY-5818 ([classlib][util]GregorianCalendarTest: two test case results depend on current date). Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/GregorianCalendarTest.java Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/GregorianCalendarTest.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/GregorianCalendarTest.java?rev=680732&r1=680731&r2=680732&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/GregorianCalendarTest.java (original) +++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/GregorianCalendarTest.java Tue Jul 29 08:14:24 2008 @@ -128,7 +128,7 @@ */ public void test_ConstructorLjava_util_TimeZone() { // Test for method java.util.GregorianCalendar(java.util.TimeZone) - Date date = new Date(); + Date date = new Date(2008,1,1); TimeZone.getDefault(); GregorianCalendar gc1 = new GregorianCalendar(TimeZone .getTimeZone("EST")); @@ -167,7 +167,7 @@ public void test_ConstructorLjava_util_TimeZoneLjava_util_Locale() { // Test for method java.util.GregorianCalendar(java.util.TimeZone, // java.util.Locale) - Date date = new Date(); + Date date = new Date(2008,1,1); TimeZone.getDefault(); GregorianCalendar gc1 = new GregorianCalendar(TimeZone .getTimeZone("EST"), Locale.JAPAN);