Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 77728 invoked from network); 17 Apr 2009 07:23:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Apr 2009 07:23:49 -0000 Received: (qmail 2052 invoked by uid 500); 17 Apr 2009 07:23:49 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 2010 invoked by uid 500); 17 Apr 2009 07:23:49 -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 2001 invoked by uid 99); 17 Apr 2009 07:23:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2009 07:23:49 +0000 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; Fri, 17 Apr 2009 07:23:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 932942388A4A; Fri, 17 Apr 2009 07:23:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r765876 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TimeZoneTest.java Date: Fri, 17 Apr 2009 07:23:28 -0000 To: commits@harmony.apache.org From: regisxu@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090417072328.932942388A4A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: regisxu Date: Fri Apr 17 07:23:27 2009 New Revision: 765876 URL: http://svn.apache.org/viewvc?rev=765876&view=rev Log: Apply patch for HARMONY-6153: [classlib][luni] TimeZoneTest.test_getDisplayNameZILjava_util_Locale would fail against ICU 4.0 Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TimeZoneTest.java Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TimeZoneTest.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TimeZoneTest.java?rev=765876&r1=765875&r2=765876&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TimeZoneTest.java (original) +++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TimeZoneTest.java Fri Apr 17 07:23:27 2009 @@ -180,8 +180,8 @@ */ public void test_getDisplayNameZILjava_util_Locale() { TimeZone timezone = TimeZone.getTimeZone("Asia/Shanghai"); - assertEquals("GMT+0800", timezone.getDisplayName(false, TimeZone.SHORT, - Locale.CHINA)); + assertEquals("\u683c\u6797\u5c3c\u6cbb\u6807\u51c6\u65f6\u95f4+0800", + timezone.getDisplayName(false, TimeZone.SHORT, Locale.CHINA)); try { timezone.getDisplayName(false, 100, Locale.CHINA); fail("should throw IllegalArgumentException");