public class PostAddToViewEventTestCase extends AbstractMyFacesRequestTestCase
Modifier and Type | Class and Description |
---|---|
static interface |
PostAddToViewEventTestCase.PostAddToViewEventBean |
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 |
---|
PostAddToViewEventTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUpWebConfigParams()
Setup web config params.
|
void |
testPostAddToViewOnComponent()
Test a component receive PostAddToViewEvent
|
void |
testPostAddToViewOnComponentCif()
Test that a component added dynamically should receive PostAddToViewEvent
|
void |
testPostAddToViewOnViewRoot()
Test that UIViewRoot receive a PostAddToViewEvent after the view is
populated.
|
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, createExpressionFactory, createFacesConfigurationProvider, createFacesInitializer, executeAfterRender, executeBeforeRender, executeBuildViewCycle, executePhase, executeViewHandlerRender, getRenderedContent, getTestJavaClass, getWebappContextURI, getWebappResourcePath, invokeApplication, isScanAnnotations, processLifecycleExecute, processLifecycleRender, processRemainingExecutePhases, processRemainingPhases, processRemainingPhasesBefore, processValidations, renderResponse, restoreView, setUpClassloader, setUpFacesServlet, setUpMyFaces, setUpServletListeners, setUpServletObjects, setUpServlets, tearDownClass, tearDownClassloader, tearDownFacesServlet, tearDownMyFaces, tearDownServletListeners, tearDownServlets, updateModelValues
protected void setUpWebConfigParams() throws Exception
AbstractMyFacesTestCase
Setup web config params. By default it sets the following params
setUpWebConfigParams
in class AbstractMyFacesTestCase
Exception
public void testPostAddToViewOnViewRoot() throws Exception
Exception
public void testPostAddToViewOnComponent() throws Exception
Exception
Copyright © 2020 The Apache Software Foundation. All rights reserved.