Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5AB66658 for ; Mon, 30 May 2011 13:17:28 +0000 (UTC) Received: (qmail 82568 invoked by uid 500); 30 May 2011 13:17:28 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 82546 invoked by uid 500); 30 May 2011 13:17:28 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 82539 invoked by uid 99); 30 May 2011 13:17:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 13:17:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 13:17:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5F4C7E9ABA for ; Mon, 30 May 2011 13:16:47 +0000 (UTC) Date: Mon, 30 May 2011 13:16:47 +0000 (UTC) From: "Houx Zhang (JIRA)" To: derby-dev@db.apache.org Message-ID: <312396463.53360.1306761407387.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1319446182.51713.1306661267554.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DERBY-5251) make ErrorCodeTest pass in non-English locale MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5251?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Houx Zhang closed DERBY-5251. ----------------------------- Thanks, Bryan. > make ErrorCodeTest pass in non-English locale > --------------------------------------------- > > Key: DERBY-5251 > URL: https://issues.apache.org/jira/browse/DERBY-5251 > Project: Derby > Issue Type: Bug > Components: Test > Reporter: Houx Zhang > Assignee: Houx Zhang > Labels: gsoc11 > Fix For: 10.9.0.0 > > Attachments: DERBY-5251.patch > > > lang.ErrorCodeTest will fail in Chinese Locale: > D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functi= onTests > .tests.lang.ErrorCodeTest > .F > Time: 4.797 > There was 1 failure: > 1) test_errorcode(org.apache.derbyTesting.functionTests.tests.lang.ErrorC= odeTest > )junit.framework.AssertionFailedError: Column value mismatch @ column 'ME= SSAGE', > row 1: > Expected: >At least one parameter to the current statement is uniniti= alized. > < > Found: >=E5=BD=93=E5=89=8D=E8=AF=AD=E5=8F=A5=E4=B8=AD=E8=87=B3=E5= =B0=91=E4=B8=80=E4=B8=AA=E5=8F=82=E6=95=B0=E6=9C=AA=E5=88=9D=E5=A7=8B=E5=8C= =96=E3=80=82< > at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.j= ava:121 > 3) > at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.j= ava:112 > 5) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(J= DBC.jav > a:1012) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.ja= va:935) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.ja= va:892) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.ja= va:850) > at org.apache.derbyTesting.functionTests.tests.lang.ErrorCodeTest= .test_e > rrorcode(ErrorCodeTest.java:88) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAcces > sorImpl.java:25) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCas= e.java: > 112) > FAILURES!!! > Tests run: 1, Failures: 1, Errors: 0 > D:\derby\test> -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira