[hibernate-issues] [Hibernate-JIRA] Commented: (HV-222) MessageInterpolationTest#testFallbackToDefaultLocale
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Sep 8 12:54:15 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33922#action_33922 ]
Emmanuel Bernard commented on HV-222:
-------------------------------------
The spec does not say that if a given locale is not present, we fall back to the system one.
The spec says that:
- interpolator.interpolate(string, context).equals( interpolator.interpolate(string, context, Locale.getDefault() )
BTW I think some of these tests are sensitive to the Locale.getDefault.
You'd better set that up in your test and put it back to the right value when you are done,
> MessageInterpolationTest#testFallbackToDefaultLocale
> ----------------------------------------------------
>
> Key: HV-222
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-222
> Project: Hibernate Validator
> Issue Type: Sub-task
> Reporter: Emmanuel Bernard
> Assignee: Hardy Ferentschik
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list