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 7632B46E3 for ; Wed, 8 Jun 2011 14:43:20 +0000 (UTC) Received: (qmail 39951 invoked by uid 500); 8 Jun 2011 14:43:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 39840 invoked by uid 500); 8 Jun 2011 14:43:20 -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 39829 invoked by uid 99); 8 Jun 2011 14:43:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 14:43:20 +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; Wed, 08 Jun 2011 14:43:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1919E10858D for ; Wed, 8 Jun 2011 14:42:59 +0000 (UTC) Date: Wed, 8 Jun 2011 14:42:59 +0000 (UTC) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Message-ID: <2013623229.3249.1307544179099.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <718047700.24692.1304607543153.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5217) make ImportExportIJTest pass in non-English locale MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045985#comment-13045985 ] Bryan Pendleton commented on DERBY-5217: ---------------------------------------- What is the exact syntax of the command that I can run to see the failure on my machine? > make ImportExportIJTest pass in non-English locale > -------------------------------------------------- > > Key: DERBY-5217 > URL: https://issues.apache.org/jira/browse/DERBY-5217 > Project: Derby > Issue Type: Sub-task > Components: Test > Reporter: Houx Zhang > Assignee: Houx Zhang > Labels: gsoc2011 > Attachments: DERBY-5217-LocaleTestSetup.patch, DERBY-5217-StandardException.patch, DERBY-5217-SystemPropertyTestSetup.patch, DERBY-5217-log-LocalizedResource.patch, DERBY-5217-log-locale.patch, DERBY-5217-log-setMessageLocale-DOS.txt, DERBY-5217-log-setMessageLocale-eclipse.txt, DERBY-5217-log-setMessageLocale.patch, morePrints.txt, output-for-more-prints.txt, setDerbyUILocale.patch > > > ImportExportIJTest fails in Chinese locale, just like below: > D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests > .tests.tools.ImportExportIJTest > .F > Time: 7.937 > There was 1 failure: > 1) importExportIJ(org.apache.derbyTesting.functionTests.tests.tools.ImportExport > IJTest)junit.framework.ComparisonFailure: Output at line 22 expected: 5: ['DROP TABLE' cannot be performed on 'T1' because it does not exist.]> but wa > s: > at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon > (CanonTestCase.java:109) > at org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(Scr > iptTestCase.java:201) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java: > 112) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:23) > at junit.extensions.TestSetup.run(TestSetup.java:27) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57 > ) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:23) > at junit.extensions.TestSetup.run(TestSetup.java:27) > FAILURES!!! > Tests run: 1, Failures: 1, Errors: 0 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira