db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Houx Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5251) make ErrorCodeTest pass in non-English locale
Date Sun, 29 May 2011 09:27:47 GMT
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


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

Mime
View raw message