You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Adrian A. (JIRA)" <ji...@apache.org> on 2009/05/18 16:23:46 UTC
[jira] Created: (CLK-550) MockContext.initContext() should default
to Locale.ENGLISH
MockContext.initContext() should default to Locale.ENGLISH
----------------------------------------------------------
Key: CLK-550
URL: https://issues.apache.org/jira/browse/CLK-550
Project: Click
Issue Type: Bug
Reporter: Adrian A.
MockContext.initContext() should default to Locale.ENGLISH.
This because asserts in the actual Click Unit tests expect English messages, but when Click tests are run on systems with other default language they fail.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CLK-550) MockContext.initContext() should default
to Locale.ENGLISH
Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLK-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bob Schellink resolved CLK-550.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0 RC1
Assignee: Bob Schellink
fixed
> MockContext.initContext() should default to Locale.ENGLISH
> ----------------------------------------------------------
>
> Key: CLK-550
> URL: https://issues.apache.org/jira/browse/CLK-550
> Project: Click
> Issue Type: Bug
> Reporter: Adrian A.
> Assignee: Bob Schellink
> Fix For: 2.1.0 RC1
>
>
> MockContext.initContext() should default to Locale.ENGLISH.
> This because asserts in the actual Click Unit tests expect English messages, but when Click tests are run on systems with other default language they fail.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLK-550) MockContext.initContext() should
default to Locale.ENGLISH
Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLK-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710396#action_12710396 ]
Bob Schellink commented on CLK-550:
-----------------------------------
MockContext uses the default Locale which is correct. The problem seems rather that the tests should explicitly specify the English Locale.
Do you have a list of failed tests so I can fix them? Otherwise I'll just go through all of them change to initContext(Locale.ENGLISH).
> MockContext.initContext() should default to Locale.ENGLISH
> ----------------------------------------------------------
>
> Key: CLK-550
> URL: https://issues.apache.org/jira/browse/CLK-550
> Project: Click
> Issue Type: Bug
> Reporter: Adrian A.
>
> MockContext.initContext() should default to Locale.ENGLISH.
> This because asserts in the actual Click Unit tests expect English messages, but when Click tests are run on systems with other default language they fail.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.