Derby
  1. Derby
  2. DERBY-5314

Enable i18n tests in non-English locales

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.8.2.2, 10.9.1.0
    • Component/s: Test
    • Labels:
      None

      Description

      The i18n tests are disabled if they are running in non-English locales. It would be good to have them running regardless of the locale.

      In Ole's nightly tests they are not running on Windows because of this. Seen for example last night when the i18n tests failed on all platforms, except on Windows:
      http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/Limited/testSummary-1143118.html

      There have been various improvements in ScriptTestCase lately to allow the canon-based tests to run in non-English locales, so I think it's safe to enable them now.

      1. d5314.diff
        4 kB
        Knut Anders Hatlen

        Issue Links

          Activity

          Hide
          Myrna van Lunteren added a comment -

          backported revision 11405057 together with revision 1137213 for DERBY-5217 with revision 1160433.

          Show
          Myrna van Lunteren added a comment - backported revision 11405057 together with revision 1137213 for DERBY-5217 with revision 1160433.
          Hide
          Myrna van Lunteren added a comment -

          reopen to backport to 10.8

          Show
          Myrna van Lunteren added a comment - reopen to backport to 10.8
          Hide
          Knut Anders Hatlen added a comment -

          Committed revision 1145057.

          Show
          Knut Anders Hatlen added a comment - Committed revision 1145057.
          Hide
          Knut Anders Hatlen added a comment -

          The attached patch makes the i18n suite run regardless of locale. It also removes calls to LocalizedResource.resetLocalizedResourceCache() from the individual tests in the suite, since that is handled by ScriptTestCase after DERBY-5217 and not needed.

          The i18n suite ran successfully in my environment with the locale set to zh_CN.UTF-8 and ja_JP.eucJP.

          Show
          Knut Anders Hatlen added a comment - The attached patch makes the i18n suite run regardless of locale. It also removes calls to LocalizedResource.resetLocalizedResourceCache() from the individual tests in the suite, since that is handled by ScriptTestCase after DERBY-5217 and not needed. The i18n suite ran successfully in my environment with the locale set to zh_CN.UTF-8 and ja_JP.eucJP.

            People

            • Assignee:
              Knut Anders Hatlen
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development