public class ViewPoolMyFacesRequestTestCase 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 |
---|
ViewPoolMyFacesRequestTestCase() |
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 |
testDynamicPage1_1() |
void |
testDynamicPage1_2() |
void |
testDynamicPage1() |
void |
testDynPageResource1_1() |
void |
testDynPageResource1() |
void |
testDynPageResource2() |
void |
testPartialPage1_1() |
void |
testPartialPage1_2() |
void |
testPartialPage1() |
void |
testStaticPage1_1() |
void |
testStaticPage1_2() |
void |
testStaticPage1_3() |
void |
testStaticPage1_4() |
void |
testStaticPage1_5() |
void |
testStaticPage1_6() |
void |
testStaticPage1_7() |
void |
testStaticPage1() |
void |
testStaticPage2() |
void |
testStaticPageBinding1_1() |
void |
testStaticPageBinding1() |
void |
testStaticPageBinding2_1() |
void |
testStaticPageBinding2() |
void |
testStaticPageBinding3_1() |
void |
testStaticPageBinding3() |
void |
testStaticPageBinding4_1() |
void |
testStaticPageBinding4() |
void |
testStaticPageBindingValidator1_1() |
void |
testStaticPageBindingValidator1() |
void |
testStaticPageContract1_1() |
void |
testStaticPageContract1_2()
Check if the locale changes, the view IS NOT reused.
|
void |
testStaticPageContract1() |
void |
testStaticPageLocale1_1() |
void |
testStaticPageLocale1_2()
Check if the locale changes, the view IS NOT reused.
|
void |
testStaticPageLocale1() |
void |
testStaticPageNoForm1_1()
This check the view stored into the pool is used on another request,
and check if the restored view does not have state from previous requests
|
void |
testStaticPageNoForm1()
Test view pool in a page with static structure and no forms.
|
void |
testStaticPageNoForm2() |
void |
testStaticPageStateHolderConverter1_1() |
void |
testStaticPageStateHolderConverter1()
The existence of a converter that implements StateHolder makes the view
not reseteable.
|
void |
testStaticPageStateHolderConverter2_1() |
void |
testStaticPageStateHolderConverter2()
The existence of a converter that implements StateHolder makes the view
not reseteable.
|
void |
testStaticPageWithViewScope1_1() |
void |
testStaticPageWithViewScope1() |
void |
testStaticPageWithViewScope2() |
void |
testStaticUIParamPage1_1() |
void |
testStaticUIParamPage1() |
void |
testStaticViewParamPage1_1() |
void |
testStaticViewParamPage1_2() |
void |
testStaticViewParamPage1() |
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 javax.el.ExpressionFactory createExpressionFactory()
AbstractMyFacesTestCase
createExpressionFactory
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
public void testStaticPageNoForm1() throws Exception
Exception
public void testStaticPageNoForm1_1() throws Exception
Exception
public void testStaticPageWithViewScope1() throws Exception
Exception
public void testStaticPageWithViewScope1_1() throws Exception
Exception
public void testStaticPageWithViewScope2() throws Exception
Exception
public void testStaticViewParamPage1_1() throws Exception
Exception
public void testStaticViewParamPage1_2() throws Exception
Exception
public void testStaticPageLocale1_2() throws Exception
Exception
public void testStaticPageContract1_1() throws Exception
Exception
public void testStaticPageContract1_2() throws Exception
Exception
public void testStaticPageBindingValidator1() throws Exception
Exception
public void testStaticPageBindingValidator1_1() throws Exception
Exception
public void testStaticPageStateHolderConverter1() throws Exception
Exception
- Tpublic void testStaticPageStateHolderConverter1_1() throws Exception
Exception
public void testStaticPageStateHolderConverter2() throws Exception
Exception
- Tpublic void testStaticPageStateHolderConverter2_1() throws Exception
Exception
Copyright © 2020 The Apache Software Foundation. All rights reserved.