public class IncludeParamTestCase extends FaceletTestCase
dispenser, vdl
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
IncludeParamTestCase() |
Modifier and Type | Method and Description |
---|---|
protected javax.el.ExpressionFactory |
createExpressionFactory() |
protected void |
setupComponents()
Override this methods and add just what it is necessary
reduce execution time.
|
protected void |
setupConvertersAndValidators()
Override this methods and add just what it is necessary
reduce execution time.
|
protected void |
setupRenderers()
Override this methods and add just what it is necessary
reduce execution time.
|
void |
testCaching() |
void |
testSimpleCompositionParam() |
void |
testUIParamTemplateScope1()
ui:param inside ui:decorate applies only to the content of the tag and the
referenced template.
|
void |
testUIParamTemplateScope2()
ui:param defined outside should not pass through ui:include, because it occurs
on another template context.
|
void |
testUIParamTemplateScope3()
ui:param inside ui:include applies only to the content of the tag and the
referenced template.
|
void |
testUIParamTemplateScope4()
ui:param inside ui:composition applies only to the content of the tag and the
referenced template.
|
void |
testUIParamTemplateScope5()
ui:param defined outside should only pass through ui:include if the param is declared.
|
void |
testUIParamTemplateScope6()
ui:param defined outside should not pass through composite components, to do
that the composite component provide a clean attribute interface.
|
void |
testUIParamTemplateScope7()
ui:param should pass through nested ui:decorate or ui:composition constructions, because it is the
same template context.
|
getContext, getDirectory, getLocalFile, loadStandardFacesConfig, resolveUrl, setFactories, setProjectStage, setUp, setUpApplication, setupBehaviors, setUpExternalContext, setUpRenderKit, setUpServletObjects, setUpView
setUpClassloader, setUpFacesContext, setUpJSFObjects, setUpLifecycle, tearDown, tearDownClassloader
protected void setupComponents() throws Exception
FaceletTestCase
setupComponents
in class FaceletTestCase
Exception
protected void setupConvertersAndValidators() throws Exception
FaceletTestCase
setupConvertersAndValidators
in class FaceletTestCase
Exception
protected void setupRenderers() throws Exception
FaceletTestCase
setupRenderers
in class FaceletTestCase
Exception
protected javax.el.ExpressionFactory createExpressionFactory()
createExpressionFactory
in class FaceletTestCase
public void testSimpleCompositionParam() throws Exception
Exception
public void testUIParamTemplateScope1() throws Exception
Exception
public void testUIParamTemplateScope2() throws Exception
Exception
public void testUIParamTemplateScope3() throws Exception
Exception
public void testUIParamTemplateScope4() throws Exception
Exception
public void testUIParamTemplateScope5() throws Exception
Exception
public void testUIParamTemplateScope6() throws Exception
Exception
public void testUIParamTemplateScope7() throws Exception
Exception
Copyright © 2020 The Apache Software Foundation. All rights reserved.