Sounds like a good fix, would you create a jira issue and attach the patch so 
it doesn't get lost?   
(Others correct me if there a different process used here)

Evan

Here's a link: http://www.stripesframework.org/jira/secure/Dashboard.jspa


On Sep 23, 2010, at 12:29 PM, M.C.S. wrote:

> Hi,
> 
> I realized that the tests don't pass for some locales. In my case, the 
> DefaultLocalePicker returns "de_DE" instead of "en" even if I explicitly add 
> "en" to the MockRequest. To solve this and being able to write 
> locale-specific tests, I created a very simple, but working MockLocalePicker 
> and added it to the StripesTestFixture. This way, the unit tests run with the 
> system's default locale, but can be overridden in the test by adding a 
> specific locale. The "broken" tests now are fixed to Locale.ENGLISH so they 
> will run fine.
> 
> A patch file based on the 1.5.x branch is attached to this email. Feel free 
> to change/criticize it :-)
> 
> Best regards,
> Marcus
> <test_locale_fixes.patch>------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
> Stripes-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-development


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to