public class FlowMyFacesRequestTestCase extends AbstractMyFacesRequestTestCase
AbstractMyFacesTestCase.JUnitFacesInitializer, AbstractMyFacesTestCase.MyFacesMockFacesConfigurationProvider, AbstractMyFacesTestCase.SharedFacesConfiguration
application, client, externalContext, facesContext, lastSession, request, requestInitializedCalled, response, session
AFTER_RENDER_STEP, BEFORE_RENDER_STEP, BUILD_VIEW_CYCLE_STEP, facesConfigurationProvider, facesContextFactory, LAST_PHASE_PROCESSED, LAST_RENDER_PHASE_STEP, lifecycle, lifecycleFactory, listener, PHASE_MANAGER_INSTANCE, servletConfig, servletContext, VIEWHANDLER_RENDER_STEP, webContainer
Constructor and Description |
---|
FlowMyFacesRequestTestCase() |
Modifier and Type | Method and Description |
---|---|
protected javax.el.ExpressionFactory |
createExpressionFactory()
Create the ExpressionFactory instance that will be used to initialize the test
environment.
|
protected boolean |
isScanAnnotations()
Indicate if annotation scanning should be done over the classpath.
|
protected void |
setUpWebConfigParams()
Setup web config params.
|
void |
testFlow1_1() |
void |
testFlow1_10_1()
This tests do the following:
- Start flow 3 (start flow 1)
- Start flow 2
- Return flow 1 and 3
- End flow 2
|
void |
testFlow1_10_2()
This tests do the following:
- Start flow 3 (start flow 1)
- Start flow 2
- Return flow 1 and 3 (GET)
- End flow 2
|
void |
testFlow1_10()
This tests do the following:
- Start flow 3 (start flow 1)
- Start flow 2
- End flow 2
- Return flow 1 and 3
|
void |
testFlow1_11_1()
This tests do the following:
- Start flow 4
- Start flow 2
- Start flow 1 (use call node from flow 4)
- Return flow 1 and 4 (GET)
- Return flow 2
|
void |
testFlow1_11()
This tests do the following:
- Start flow 4
- Start flow 2
- Start flow 1 (use call node from flow 4)
- Return flow 1 and 4
- Return flow 2
|
void |
testFlow1_2() |
void |
testFlow1_3() |
void |
testFlow1_4() |
void |
testFlow1_5() |
void |
testFlow1_6()
This tests do the following:
- Start flow 1
- Start flow 2
- End flow 1
- End flow 2
Since flow2 was called using the flow name, end flow 1 doesn't end flow 2
|
void |
testFlow1_7()
This tests do the following:
- Start flow 1
- Start flow 2 (using call node)
- End flow 1
Since flow2 was called using a call node, end flow 1 also end flow 2
|
void |
testFlow1_8()
This tests do the following:
- Start flow 3 (start flow 1)
- Start flow 2
- End flow 1
- End flow 2
Since flow2 was called using the flow name, end flow 1 doesn't end flow 2
At the end flow 3 should still be active
|
void |
testFlow1_9_1()
This tests do the following:
- Start flow 2
- Start flow 3 (start flow 1)
- Return flow 1 and 3 (GET)
- End flow 2
|
void |
testFlow1_9()
This tests do the following:
- Start flow 2
- Start flow 3 (start flow 1)
- Return flow 1 and 3
- End flow 2
|
void |
testFlowA_1()
This tests do the following:
- Start Flow A
- Call Flow B
- Call Flow A
- Call Flow B
- Return from Flow B
- Return from Flow A
- Return from Flow B
|
void |
testFlowA_2() |
applyRequestValues, createClient, doRequestDestroyed, doRequestInitialized, endRequest, executeAfterRender, executeBeforeRender, executeBuildViewCycle, executeViewHandlerRender, getContextPath, getFacesContext, getRenderedContent, getRequest, getResponse, getServletPath, invokeApplication, processLifecycleExecute, processLifecycleExecuteAndRender, processLifecycleRender, processRemainingExecutePhases, processRemainingPhases, processValidations, renderResponse, restoreView, setUp, setupRequest, setupRequest, setupRequest, startRequest, startViewRequest, tearDown, tearDownRequest, updateModelValues
applyRequestValues, createFacesConfigurationProvider, createFacesInitializer, executeAfterRender, executeBeforeRender, executeBuildViewCycle, executePhase, executeViewHandlerRender, getRenderedContent, getTestJavaClass, getWebappContextURI, getWebappResourcePath, invokeApplication, processLifecycleExecute, processLifecycleRender, processRemainingExecutePhases, processRemainingPhases, processRemainingPhasesBefore, processValidations, renderResponse, restoreView, setUpClassloader, setUpFacesServlet, setUpMyFaces, setUpServletListeners, setUpServletObjects, setUpServlets, tearDownClass, tearDownClassloader, tearDownFacesServlet, tearDownMyFaces, tearDownServletListeners, tearDownServlets, updateModelValues
protected boolean isScanAnnotations()
AbstractMyFacesTestCase
isScanAnnotations
in class AbstractMyFacesTestCase
protected void setUpWebConfigParams() throws Exception
AbstractMyFacesTestCase
Setup web config params. By default it sets the following params
setUpWebConfigParams
in class AbstractMyFacesTestCase
Exception
protected javax.el.ExpressionFactory createExpressionFactory()
AbstractMyFacesTestCase
createExpressionFactory
in class AbstractMyFacesTestCase
public void testFlow1_6() throws Exception
Exception
public void testFlow1_7() throws Exception
Exception
public void testFlow1_8() throws Exception
Exception
public void testFlow1_9() throws Exception
Exception
public void testFlow1_9_1() throws Exception
Exception
public void testFlow1_10() throws Exception
Exception
public void testFlow1_10_1() throws Exception
Exception
public void testFlow1_10_2() throws Exception
Exception
public void testFlow1_11() throws Exception
Exception
public void testFlow1_11_1() throws Exception
Exception
public void testFlowA_1() throws Exception
Exception
Copyright © 2020 The Apache Software Foundation. All rights reserved.