You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matt Benson (JIRA)" <de...@myfaces.apache.org> on 2011/05/20 21:49:47 UTC
[jira] [Issue Comment Edited] (EXTVAL-133) tests in
test-modules/core-tests/src/test/java/org/apache/myfaces/extensions/validator/test/core/stage
should customize servletContext as part of setup
[ https://issues.apache.org/jira/browse/EXTVAL-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037033#comment-13037033 ]
Matt Benson edited comment on EXTVAL-133 at 5/20/11 7:48 PM:
-------------------------------------------------------------
This and related issues are prerequisites to successful testing of https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/branch_for_jsf_2_0
was (Author: mbenson):
prerequisite to successful testing of https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/branch_for_jsf_2_0
> tests in test-modules/core-tests/src/test/java/org/apache/myfaces/extensions/validator/test/core/stage should customize servletContext as part of setup
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: EXTVAL-133
> URL: https://issues.apache.org/jira/browse/EXTVAL-133
> Project: MyFaces Extensions Validator
> Issue Type: Test
> Affects Versions: 2.0.5
> Reporter: Matt Benson
> Assignee: Rudy De Busscher
> Attachments: EXTVAL-133.patch.txt
>
>
> these tests work in trunk, but when running them against https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/branch_for_jsf_2_0, they fail because the DefaultELHelper requests the ProjectStage so that it is cached before the testcase has the chance to add the "javax.faces.PROJECT_STAGE" init parameter. The attached patch continues to test successfully against trunk _and_ (with the minor tweak of a custom ProjectStageResolver for the CustomProjectStageTestCase) works for JSF 2.0 .
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira