[
http://www.stripesframework.org/jira/browse/STS-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-768.
--------------------------
> Some unit tests depend on the system locale
> -------------------------------------------
>
> Key: STS-768
> URL: http://www.stripesframework.org/jira/browse/STS-768
> Project: Stripes
> Issue Type: Improvement
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5, Release 1.5.1, Release 1.5.2, Release 1.5.3
> Environment: Windows 7, german installation (affects many non-english
> operating sytems with different locale behaviour)
> Reporter: Marcus Kraßmann
> Assignee: Remi VANKEISBELCK
> Priority: Trivial
> Fix For: Release 1.5.4
>
> Attachments: test_locale_fixes.patch
>
>
> Some unit tests depend on an english system locale. There, doubles are
> written as "1.23", but in other countries the corresponding notation differs
> - german system use "1,23" for the same meaning. The consequence: Some unit
> tests don't run on non-english systems.
> I fixed this behaviour for the tests that failed on my system by adding the
> english locale to the roundtrip requests. This change alone did not fix the
> problem, so I had to create a small MockLocalePicker that simply accepts the
> locale from the request. In this combination, all tests run fine on my german
> system.
> Attached is a proposed patch based on the 1.5.x branch.
> Best regards,
> Marcus
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development