[seam-issues] [JBoss JIRA] Created: (JBSEAM-4699) Add one more "lifecycle" method to AbstractSeamTest.Request

Flavio Costa (JIRA) jira-events at lists.jboss.org
Wed Aug 25 16:16:12 EDT 2010


Add one more "lifecycle" method to AbstractSeamTest.Request
-----------------------------------------------------------

                 Key: JBSEAM-4699
                 URL: https://jira.jboss.org/browse/JBSEAM-4699
             Project: Seam
          Issue Type: Feature Request
    Affects Versions: 2.2.1.CR2
            Reporter: Flavio Costa
             Fix For: 2.2.1.CR3


org.jboss.seam.mock.AbstractSeamTest.Request has tons of methods, many of them are protected and can be overrode but I'm missing a method that enables me to tap into the very beggining of "private boolean emulateJsfLifecycle() throws Exception" to be more specific after the "restoreViewPhase();" method call.

I need this in order to be able to use Components.getInstance() in the early stages of the test.

It should look like this:

private boolean emulateJsfLifecycle() throws Exception
      {
         restoreViewPhase();
         insideFacesLifecycle();
         ....
      }

and insideFacesLifecycle() should look like this:

protected void insideFacesLifecycle() { }

Is that possible?

Since I'm not altering the behaviour of the test, just adding one more entry-point I guess it wouldn't be a problem.




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

        


More information about the seam-issues mailing list