Uploaded image for project: 'XWork'
  1. XWork
  2. XW-783

XWork Unit Tests fail when Locale is set to de_DE@euro.ISO-8859-15 on Linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0-beta1
    • None
    • None
    • Linux JSDK 1.4.1 Locale set to de_DE@euro.ISO-8859-15, Today's source from cvs

    Description

      The unit test fail if locale is set like describe above. Test report says:

      -------------
      Testsuite: com.opensymphony.xwork.LocaleAwareTest
      Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0,701 sec

      Testcase: testGetText took 0,645 sec
      FAILED
      expected:<Foo Range Message> but was:<I don't know German>
      -------------
      Testsuite: com.opensymphony.xwork.util.LocalizedTextUtilTest
      Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 1,737 sec

      Testcase: testAddDefaultResourceBundle took 1,542 sec
      FAILED
      expected:<Foo Range Message> but was:<I don't know German>
      -------------
      Testsuite: com.opensymphony.xwork.validator.SimpleActionValidationTest
      Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 1,54 sec

      Testcase: testAliasValidation took 1,445 sec
      Testcase: testMessageKey took 0,072 sec
      FAILED
      expected:<Foo Range Message> but was:<I don't know German>
      -------------

      Set locale to 'C' as a work around.

      Attachments

        Activity

          People

            Unassigned Unassigned
            llucifer Philipp Meier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: