AppFuse JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile
  • AppFuse
  • APF-248

Force user locale to be english for the junit test.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Build, Test, or Deploy Process
  • Labels:
    None
  • Environment:
    jdk1.5 with french settings

Description

Some test are failing (DateUtilTest for instance) because of default locale expectations in the tests.

A solution is to add this line in the "test-module" macro definition in build.xml :
<jvmarg value="-Duser.language=en"/>

This solves the problem and the test run smooth.

I would add it in next release if there are no negative comments


Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Source
Hide
Permalink
Matt Raible added a comment - 26/Jan/06 11:52 PM
This sounds reasonable to add - please feel free to commit the change. If you're worried about folks caring - you might ask users on the mailing list what they think.
Show
Matt Raible added a comment - 26/Jan/06 11:52 PM This sounds reasonable to add - please feel free to commit the change. If you're worried about folks caring - you might ask users on the mailing list what they think.
Hide
Permalink
Thomas Gaudin added a comment - 30/Jan/06 3:05 AM
fixed in VS
Show
Thomas Gaudin added a comment - 30/Jan/06 3:05 AM fixed in VS

People

  • Assignee:
    Thomas Gaudin
    Reporter:
    Thomas Gaudin
Vote (0)
Watch (0)

Dates

  • Created:
    19/Jan/06 5:41 AM
    Updated:
    30/Jan/06 3:05 AM
    Resolved:
    30/Jan/06 3:05 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for AppFuse. Try JIRA - bug tracking software for your team.