public abstract class FaceletTestCase extends org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Modifier and Type | Field and Description |
---|---|
protected FacesConfigDispenser |
dispenser |
protected MockFaceletViewDeclarationLanguage |
vdl |
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
FaceletTestCase() |
Modifier and Type | Method and Description |
---|---|
protected javax.el.ExpressionFactory |
createExpressionFactory() |
protected URI |
getContext() |
protected String |
getDirectory() |
protected URL |
getLocalFile(String name) |
protected void |
loadStandardFacesConfig() |
URL |
resolveUrl(String path) |
protected void |
setFactories() |
void |
setProjectStage(ProjectStage stage)
Sets the ProjectStage for the test case.
|
void |
setUp() |
protected void |
setUpApplication() |
protected void |
setupBehaviors() |
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 |
setUpExternalContext() |
protected void |
setupRenderers()
Override this methods and add just what it is necessary
reduce execution time.
|
protected void |
setUpRenderKit() |
protected void |
setUpServletObjects() |
protected void |
setUpView() |
setUpClassloader, setUpFacesContext, setUpJSFObjects, setUpLifecycle, tearDown, tearDownClassloader
protected FacesConfigDispenser dispenser
protected MockFaceletViewDeclarationLanguage vdl
protected void setUpServletObjects() throws Exception
setUpServletObjects
in class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Exception
protected URI getContext()
protected URL getLocalFile(String name) throws FileNotFoundException
FileNotFoundException
protected String getDirectory()
protected void setFactories() throws Exception
setFactories
in class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Exception
protected void setUpExternalContext() throws Exception
setUpExternalContext
in class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Exception
protected javax.el.ExpressionFactory createExpressionFactory()
protected void setUpRenderKit() throws Exception
setUpRenderKit
in class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Exception
protected void setUpView() throws Exception
setUpView
in class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Exception
protected void setUpApplication() throws Exception
setUpApplication
in class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Exception
public void setUp() throws Exception
setUp
in class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Exception
protected void setupComponents() throws Exception
Exception
protected void setupRenderers() throws Exception
Exception
protected void setupConvertersAndValidators() throws Exception
Exception
public void setProjectStage(ProjectStage stage) throws IllegalStateException
stage
- IllegalStateException
Copyright © 2020 The Apache Software Foundation. All rights reserved.