myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Kitching (JIRA)" <...@myfaces.apache.org>
Subject [jira] Closed: (MYFACES-1031) test cases didnt reset the facesContext to null
Date Mon, 16 Jan 2006 09:26:21 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-1031?page=all ]
     
Simon Kitching closed MYFACES-1031:
-----------------------------------

    Fix Version: Nightly
     Resolution: Fixed

> test cases didnt reset the facesContext to null
> -----------------------------------------------
>
>          Key: MYFACES-1031
>          URL: http://issues.apache.org/jira/browse/MYFACES-1031
>      Project: MyFaces
>         Type: Bug
>   Components: General
>     Versions: Nightly
>     Reporter: Mario Ivankovits
>     Assignee: Simon Kitching
>      Fix For: Nightly
>  Attachments: AbstractTestCase.java, AbstractTestCase.java, FacesContextHelper.java,
test_ctx_null.diff, test_ctx_null.diff
>
> If a test-case sets a facesContext and forgets to remove it again subsequent tests may
fail if they use "null" as wanted facesContext.
> The patch introduce a new AbstractTestCase which
> *) ensure the facesContext is null in startUp()
> *) set the facesContext to null in tearDown()
> I changed UISelectManyTest and UIComponentBaseTest to use this new super class

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message