You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2014/01/08 09:03:50 UTC

[jira] [Created] (MYFACESTEST-66) preconfigred containers

Gerhard Petracek created MYFACESTEST-66:
-------------------------------------------

             Summary: preconfigred containers
                 Key: MYFACESTEST-66
                 URL: https://issues.apache.org/jira/browse/MYFACESTEST-66
             Project: MyFaces Test
          Issue Type: New Feature
          Components: Mock Objects
    Affects Versions: 1.0.5
            Reporter: Gerhard Petracek
            Assignee: Leonardo Uribe


currently other frameworks like deltaspike have to use mocked containers for every version of jsf (one example can be found at https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;a=blob;f=deltaspike/modules/test-control/impl/src/main/java/org/apache/deltaspike/testcontrol/impl/jsf/MockedJsf2TestContainer.java;h=e6e2b2bec6cf443c141035643cb5816e1118e6d6;hb=HEAD ). in a lot of cases it's just required to have a simple control over the mocked container (methods like #addConfigEntry, #boot, #shutdown, #activateView, #startScope, #stopScope). those methods are independent of the jsf-api. -> if every new version of myfaces-test provides a correctly mocked container with such independent methods, frameworks like deltaspike could delegate to it (instead of hosting a correctly mocked container for every version of the jsf-api).



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