You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2014/01/23 21:13:40 UTC

[jira] [Resolved] (MYFACESTEST-67) Allow use servlet listeners inside mocks

     [ https://issues.apache.org/jira/browse/MYFACESTEST-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACESTEST-67.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.6-SNAPSHOT

> Allow use servlet listeners inside mocks
> ----------------------------------------
>
>                 Key: MYFACESTEST-67
>                 URL: https://issues.apache.org/jira/browse/MYFACESTEST-67
>             Project: MyFaces Test
>          Issue Type: Improvement
>          Components: Mock Objects
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 1.0.6-SNAPSHOT
>
>
> As the time passes, I have seen the need of improve the mock classes available in myfaces-test to get them more closer to a real java web server.
> One of the things that becomes annoying is the ability to register a listener and make it respond to events. It requires to change some internals to make that work correctly.
> The idea is create a base class called MockWebContainer that process and hold the listener instances, so later other mocks can invoke it properly.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)