You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2011/08/15 20:31:27 UTC
[jira] [Closed] (DERBY-5251) make ErrorCodeTest pass in non-English
locale
[ https://issues.apache.org/jira/browse/DERBY-5251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren closed DERBY-5251.
-------------------------------------
Resolution: Fixed
Fix Version/s: 10.8.1.6
backported to 10.8 with revision 1157937.
> 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.8.1.6, 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.functionTests
> .tests.lang.ErrorCodeTest
> .F
> Time: 4.797
> There was 1 failure:
> 1) test_errorcode(org.apache.derbyTesting.functionTests.tests.lang.ErrorCodeTest
> )junit.framework.AssertionFailedError: Column value mismatch @ column 'MESSAGE',
> row 1:
> Expected: >At least one parameter to the current statement is uninitialized.
> <
> Found: >当前语句中至少一个参数未初始化。<
> at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:121
> 3)
> at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:112
> 5)
> at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.jav
> a:1012)
> at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
> at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
> at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java: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(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.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