Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-423

tests depend on default locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Misc
    • None
    • WIN with Russian defaults

    Description

      Some tests assume that default locale is 'Locale.US' and may fail if they run on computer where another one is set.
      I have run Harmony tests on computer with Russian defaults.

      The following tests failed:

      org.apache.harmony.tests.java.text.DecimalFormatTest
      org.apache.harmony.security.asn1.der.GeneralizedTimeTest
      org.apache.harmony.security.asn1.der.UTCTimeTest
      tests.api.java.text.SimpleDateFormatTest

      I will attach a patch shortly.

      Attachments

        1. harmony-423-pach.txt
          10 kB
          Boris Kuznetsov
        2. patch.txt
          3 kB
          Boris Kuznetsov

        Activity

          People

            mloenko Mikhail Loenko
            boris.v.kuznetsov Boris Kuznetsov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: