Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1127

Use JUnit rules to set and reset the default Locale and TimeZone

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5
    • lang.time.*
    • None

    Description

      We have a lot of problems due to Locale dependent tests. I propose to create a base test class with a setup and teardown method which set and reset default locale and time zone. All other tests should inherit from this base test class so that they don't have to fiddle around with default settings.

      Attachments

        Issue Links

          Activity

            People

              chonton Charles Honton
              britter Benedikt Ritter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: