Uploaded image for project: 'MyFaces Test'
  1. MyFaces Test
  2. MYFACESTEST-66

pre-configured containers

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.5
    • 1.0.6
    • Mock Objects
    • None

    Description

      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).

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: