public class AcidMyFacesRequestTestCase 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 |
---|
AcidMyFacesRequestTestCase() |
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 |
testAddSimpleCCVDL() |
void |
testAddSimpleCCVDL2() |
void |
testAddSimpleCCVDL3() |
void |
testAddSimpleCCVDL4() |
void |
testAddSimpleCCVDL5() |
void |
testAddSimpleCCVDL6() |
void |
testAddSimpleCCVDL7() |
void |
testAddSimpleComponentVDL() |
void |
testAddSimpleIncludeVDL_1() |
void |
testAddSimpleIncludeVDL_2() |
void |
testCForEach1() |
void |
testComponentBinding()
Check if a dynamic subtree can be created from a binding property, and if it
will be preserved across request.
|
void |
testComponentBinding2() |
void |
testComponentBindingVDL_1() |
void |
testComponentBindingVDL_2() |
void |
testComponentBindingVDL_3() |
void |
testComponentBindingVDL_4() |
void |
testComponentBindingVDL_5() |
void |
testComponentBindingVDL_6() |
void |
testComponentBindingVDL_7() |
void |
testDynamicForm() |
void |
testInclude() |
void |
testInclude2()
Same as testInclude, but only check the component is restored correctly.
|
void |
testIndex() |
void |
testInput() |
void |
testRecursive() |
void |
testResourceDependency() |
void |
testResourceDependency2() |
void |
testSimpleComponent1()
Check for StackoverflowException when this subscription:
|
void |
testSimpleComponent2() |
void |
testStable() |
void |
testTable() |
void |
testToggle() |
void |
testUIRepeatCC1() |
void |
testViewParamBinding() |
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 testInclude2() throws Exception
Exception
public void testComponentBinding() throws Exception
<h:panelGroup id="panel" binding="#{componentBindingBean.panel}">
The solution is if a binding returns a component that has children or facets
attached, it is not elegible for PSS algorithm because the additional components
are created outside facelets control, and there is no warrant that the same structure
will be generated across requests, violating PSS base principle (it is possible to
restore to the initial state calling vdl.buildView).
This test is here because all state saving modes should support this method.Exception
public void testAddSimpleComponentVDL() throws Exception
Exception
public void testAddSimpleIncludeVDL_1() throws Exception
Exception
public void testAddSimpleIncludeVDL_2() throws Exception
Exception
public void testComponentBindingVDL_1() throws Exception
Exception
public void testComponentBindingVDL_2() throws Exception
Exception
public void testComponentBindingVDL_3() throws Exception
Exception
public void testComponentBindingVDL_4() throws Exception
Exception
public void testComponentBindingVDL_5() throws Exception
Exception
public void testComponentBindingVDL_6() throws Exception
Exception
public void testComponentBindingVDL_7() throws Exception
Exception
public void testSimpleComponent1() throws Exception
Exception
Copyright © 2020 The Apache Software Foundation. All rights reserved.