Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 70138 invoked from network); 29 Jan 2008 05:05:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2008 05:05:13 -0000 Received: (qmail 25609 invoked by uid 500); 29 Jan 2008 05:05:04 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 25588 invoked by uid 500); 29 Jan 2008 05:05:04 -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 25579 invoked by uid 99); 29 Jan 2008 05:05:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jan 2008 21:05:04 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2008 05:04:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6ADE51A983A; Mon, 28 Jan 2008 21:04:49 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r616165 - in /harmony/enhanced/classlib/trunk/modules/luni: make/exclude.common src/test/api/common/org/apache/harmony/luni/tests/java/util/GregorianCalendarTest.java Date: Tue, 29 Jan 2008 05:04:49 -0000 To: commits@harmony.apache.org From: tonywu@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080129050449.6ADE51A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tonywu Date: Mon Jan 28 21:04:48 2008 New Revision: 616165 URL: http://svn.apache.org/viewvc?rev=616165&view=rev Log: Applay patch HARMONY-5439 ([classlib][luni] test_getMinimalDaysInFirstWeek in org.apache.harmony.luni.tests.java.util.GregorianCalendarTest fails on RI) Modified: harmony/enhanced/classlib/trunk/modules/luni/make/exclude.common 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/make/exclude.common URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/make/exclude.common?rev=616165&r1=616164&r2=616165&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/luni/make/exclude.common (original) +++ harmony/enhanced/classlib/trunk/modules/luni/make/exclude.common Mon Jan 28 21:04:48 2008 @@ -1,6 +1,5 @@ org/apache/harmony/luni/tests/java/net/URLClassLoaderTest.java org/apache/harmony/luni/tests/java/net/ExcludedProxyTest.java org/apache/harmony/luni/tests/java/util/FormatterTest.java -org/apache/harmony/luni/tests/java/util/GregorianCalendarTest.java org/apache/harmony/luni/tests/java/util/LocaleTest.java org/apache/harmony/luni/tests/java/util/ScannerTest.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=616165&r1=616164&r2=616165&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 Mon Jan 28 21:04:48 2008 @@ -674,20 +674,21 @@ */ public void test_getMinimalDaysInFirstWeek() { // Regression for Harmony-1037 + // Some non-bug differences below because of different CLDR data of Harmony GregorianCalendar g = new GregorianCalendar(TimeZone .getTimeZone("Europe/London"), new Locale("en", "GB")); int minimalDaysInFirstWeek = g.getMinimalDaysInFirstWeek(); - assertEquals(4, minimalDaysInFirstWeek); + assertEquals(1, minimalDaysInFirstWeek); g = new GregorianCalendar(TimeZone.getTimeZone("Europe/London"), new Locale("fr")); minimalDaysInFirstWeek = g.getMinimalDaysInFirstWeek(); - assertEquals(4, minimalDaysInFirstWeek); + assertEquals(1, minimalDaysInFirstWeek); g = new GregorianCalendar(TimeZone.getTimeZone("Europe/London"), new Locale("fr", "CA")); minimalDaysInFirstWeek = g.getMinimalDaysInFirstWeek(); - assertEquals(1, minimalDaysInFirstWeek); + assertEquals(4, minimalDaysInFirstWeek); }