Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5211

Make SysinfoCPCheckTest pass in non-English locale

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.8.2.2, 10.9.1.0
    • Test

    Description

      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

      Attachments

        1. DERBY-5211-1.patch
          1 kB
          Houx Zhang

        Issue Links

          Activity

            People

              houxzhang Houx Zhang
              houxzhang Houx Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: