Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4699

Add one more "lifecycle" method to AbstractSeamTest.Request

    Details

    • Estimated Difficulty:
      Low

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                fr0w Flavio Costa
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: