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 "Houx Zhang (JIRA)" <ji...@apache.org> on 2011/04/29 16:28:03 UTC
[jira] [Created] (DERBY-5211) Make SysinfoCPCheckTest pass in
non-English locale
Make SysinfoCPCheckTest pass in non-English locale
--------------------------------------------------
Key: DERBY-5211
URL: https://issues.apache.org/jira/browse/DERBY-5211
Project: Derby
Issue Type: Task
Components: Test
Reporter: Houx Zhang
Assignee: Houx Zhang
SysinfoCPCheckTest failed in Chinese locale.
D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
.tests.tools.SysinfoCPCheckTest
.F
Time: 1.438
There was 1 failure:
1) testClassPathChecker(org.apache.derbyTesting.functionTests.tests.tools.Sysinf
oCPCheckTest)junit.framework.ComparisonFailure: null expected:<[Testing for pres
ence of all Derby-related libraries; typically, only some are needed.]> but was:
<[测试所有与 Derby 相关的库是否存在;通常只需要其中的某些库。]>
at org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.
testClassPathChecker(SysinfoCPCheckTest.java:157)
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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (DERBY-5211) Make SysinfoCPCheckTest pass in
non-English locale
Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren reopened DERBY-5211:
---------------------------------------
Reopen to document backport to 10.8
> Make SysinfoCPCheckTest pass in non-English locale
> --------------------------------------------------
>
> Key: DERBY-5211
> URL: https://issues.apache.org/jira/browse/DERBY-5211
> Project: Derby
> Issue Type: Task
> Components: Test
> Reporter: Houx Zhang
> Assignee: Houx Zhang
> Labels: gsoc2011
> Fix For: 10.9.0.0
>
> Attachments: DERBY-5211-1.patch
>
>
> SysinfoCPCheckTest failed in Chinese locale.
> D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
> .tests.tools.SysinfoCPCheckTest
> .F
> Time: 1.438
> There was 1 failure:
> 1) testClassPathChecker(org.apache.derbyTesting.functionTests.tests.tools.Sysinf
> oCPCheckTest)junit.framework.ComparisonFailure: null expected:<[Testing for pres
> ence of all Derby-related libraries; typically, only some are needed.]> but was:
> <[测试所有与 Derby 相关的库是否存在;通常只需要其中的某些库。]>
> at org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.
> testClassPathChecker(SysinfoCPCheckTest.java:157)
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5211) Make SysinfoCPCheckTest pass in
non-English locale
Posted by "Houx Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Houx Zhang updated DERBY-5211:
------------------------------
Attachment: DERBY-5211-1.patch
As SysinfoCPCheckTest failed just because of error message, so it's OK to wrap the test in a Locale.English. Please check it.
> Make SysinfoCPCheckTest pass in non-English locale
> --------------------------------------------------
>
> Key: DERBY-5211
> URL: https://issues.apache.org/jira/browse/DERBY-5211
> Project: Derby
> Issue Type: Task
> Components: Test
> Reporter: Houx Zhang
> Assignee: Houx Zhang
> Labels: gsoc2011
> Attachments: DERBY-5211-1.patch
>
>
> SysinfoCPCheckTest failed in Chinese locale.
> D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
> .tests.tools.SysinfoCPCheckTest
> .F
> Time: 1.438
> There was 1 failure:
> 1) testClassPathChecker(org.apache.derbyTesting.functionTests.tests.tools.Sysinf
> oCPCheckTest)junit.framework.ComparisonFailure: null expected:<[Testing for pres
> ence of all Derby-related libraries; typically, only some are needed.]> but was:
> <[测试所有与 Derby 相关的库是否存在;通常只需要其中的某些库。]>
> at org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.
> testClassPathChecker(SysinfoCPCheckTest.java:157)
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5211) Make SysinfoCPCheckTest pass in
non-English locale
Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085212#comment-13085212 ]
Myrna van Lunteren commented on DERBY-5211:
-------------------------------------------
oops, got the revision for the backport wrong - it was 1157923. The automatic revision reflect tool's got it right.
> Make SysinfoCPCheckTest pass in non-English locale
> --------------------------------------------------
>
> Key: DERBY-5211
> URL: https://issues.apache.org/jira/browse/DERBY-5211
> Project: Derby
> Issue Type: Task
> Components: Test
> Reporter: Houx Zhang
> Assignee: Houx Zhang
> Labels: gsoc2011
> Fix For: 10.8.1.6, 10.9.0.0
>
> Attachments: DERBY-5211-1.patch
>
>
> SysinfoCPCheckTest failed in Chinese locale.
> D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
> .tests.tools.SysinfoCPCheckTest
> .F
> Time: 1.438
> There was 1 failure:
> 1) testClassPathChecker(org.apache.derbyTesting.functionTests.tests.tools.Sysinf
> oCPCheckTest)junit.framework.ComparisonFailure: null expected:<[Testing for pres
> ence of all Derby-related libraries; typically, only some are needed.]> but was:
> <[测试所有与 Derby 相关的库是否存在;通常只需要其中的某些库。]>
> at org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.
> testClassPathChecker(SysinfoCPCheckTest.java:157)
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DERBY-5211) Make SysinfoCPCheckTest pass in
non-English locale
Posted by "Bryan Pendleton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Pendleton resolved DERBY-5211.
------------------------------------
Resolution: Fixed
Fix Version/s: 10.9.0.0
The patch looks fine to me, and the test passes with these changes in my environment. Committed to the svn trunk as revision 1098033.
Thanks for the patch!
> Make SysinfoCPCheckTest pass in non-English locale
> --------------------------------------------------
>
> Key: DERBY-5211
> URL: https://issues.apache.org/jira/browse/DERBY-5211
> Project: Derby
> Issue Type: Task
> Components: Test
> Reporter: Houx Zhang
> Assignee: Houx Zhang
> Labels: gsoc2011
> Fix For: 10.9.0.0
>
> Attachments: DERBY-5211-1.patch
>
>
> SysinfoCPCheckTest failed in Chinese locale.
> D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
> .tests.tools.SysinfoCPCheckTest
> .F
> Time: 1.438
> There was 1 failure:
> 1) testClassPathChecker(org.apache.derbyTesting.functionTests.tests.tools.Sysinf
> oCPCheckTest)junit.framework.ComparisonFailure: null expected:<[Testing for pres
> ence of all Derby-related libraries; typically, only some are needed.]> but was:
> <[测试所有与 Derby 相关的库是否存在;通常只需要其中的某些库。]>
> at org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.
> testClassPathChecker(SysinfoCPCheckTest.java:157)
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (DERBY-5211) Make SysinfoCPCheckTest pass in
non-English locale
Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren closed DERBY-5211.
-------------------------------------
Resolution: Fixed
Fix Version/s: 10.8.1.6
backported to 10.8 branch with revision 1155367.
> Make SysinfoCPCheckTest pass in non-English locale
> --------------------------------------------------
>
> Key: DERBY-5211
> URL: https://issues.apache.org/jira/browse/DERBY-5211
> Project: Derby
> Issue Type: Task
> Components: Test
> Reporter: Houx Zhang
> Assignee: Houx Zhang
> Labels: gsoc2011
> Fix For: 10.8.1.6, 10.9.0.0
>
> Attachments: DERBY-5211-1.patch
>
>
> SysinfoCPCheckTest failed in Chinese locale.
> D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
> .tests.tools.SysinfoCPCheckTest
> .F
> Time: 1.438
> There was 1 failure:
> 1) testClassPathChecker(org.apache.derbyTesting.functionTests.tests.tools.Sysinf
> oCPCheckTest)junit.framework.ComparisonFailure: null expected:<[Testing for pres
> ence of all Derby-related libraries; typically, only some are needed.]> but was:
> <[测试所有与 Derby 相关的库是否存在;通常只需要其中的某些库。]>
> at org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.
> testClassPathChecker(SysinfoCPCheckTest.java:157)
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (DERBY-5211) Make SysinfoCPCheckTest pass in
non-English locale
Posted by "Houx Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Houx Zhang closed DERBY-5211.
-----------------------------
> Make SysinfoCPCheckTest pass in non-English locale
> --------------------------------------------------
>
> Key: DERBY-5211
> URL: https://issues.apache.org/jira/browse/DERBY-5211
> Project: Derby
> Issue Type: Task
> Components: Test
> Reporter: Houx Zhang
> Assignee: Houx Zhang
> Labels: gsoc2011
> Fix For: 10.9.0.0
>
> Attachments: DERBY-5211-1.patch
>
>
> SysinfoCPCheckTest failed in Chinese locale.
> D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
> .tests.tools.SysinfoCPCheckTest
> .F
> Time: 1.438
> There was 1 failure:
> 1) testClassPathChecker(org.apache.derbyTesting.functionTests.tests.tools.Sysinf
> oCPCheckTest)junit.framework.ComparisonFailure: null expected:<[Testing for pres
> ence of all Derby-related libraries; typically, only some are needed.]> but was:
> <[测试所有与 Derby 相关的库是否存在;通常只需要其中的某些库。]>
> at org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.
> testClassPathChecker(SysinfoCPCheckTest.java:157)
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira