public class ExceptionTestCase extends FaceletTestCase
Modifier and Type | Class and Description |
---|---|
static class |
ExceptionTestCase.CustomValidator |
static interface |
ExceptionTestCase.ExceptionBean |
dispenser, vdl
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
ExceptionTestCase() |
Modifier and Type | Method and Description |
---|---|
protected javax.el.ExpressionFactory |
createExpressionFactory() |
protected void |
setUpFacesContext() |
void |
testActionException1_1()
A runtime exception thrown must be
|
void |
testActionException1_2()
A runtime exception thrown must be
|
void |
testActionException1() |
void |
testActionListenerException1_1()
If a RuntimeException or other is thrown, AbortProcessingException is queued
|
void |
testActionListenerException1() |
void |
testValidatorException1() |
void |
testValidatorException2() |
void |
testValueChangeListenerException1_1() |
void |
testValueChangeListenerException1() |
getContext, getDirectory, getLocalFile, loadStandardFacesConfig, resolveUrl, setFactories, setProjectStage, setUp, setUpApplication, setupBehaviors, setupComponents, setupConvertersAndValidators, setUpExternalContext, setupRenderers, setUpRenderKit, setUpServletObjects, setUpView
setUpClassloader, setUpJSFObjects, setUpLifecycle, tearDown, tearDownClassloader
protected javax.el.ExpressionFactory createExpressionFactory()
createExpressionFactory
in class FaceletTestCase
protected void setUpFacesContext() throws Exception
setUpFacesContext
in class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
Exception
public void testActionException1_1() throws Exception
Exception
public void testActionException1_2() throws Exception
Exception
public void testActionListenerException1() throws Exception
Exception
public void testActionListenerException1_1() throws Exception
Exception
public void testValueChangeListenerException1() throws Exception
Exception
Copyright © 2020 The Apache Software Foundation. All rights reserved.