public class StartupServletContextListenerTest extends org.apache.myfaces.test.base.junit4.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
StartupServletContextListenerTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testContextDestroyedFacesContextAvailable()
Verifies the FacesContext handling at application shutdown.
|
void |
testContextDestroyedInitializerCalled()
Verifies the calls to FacesInitializer on contextDestroyed()
|
void |
testContextInitializedFacesContextAvailable()
Verifies the FacesContext handling at application startup.
|
void |
testContextInitializedInitializerCalled()
Verifies the calls to FacesInitializer on contextInitialized()
|
setFactories, setUpApplication, setUpClassloader, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView, tearDownClassloader
public void setUp() throws Exception
setUp
in class org.apache.myfaces.test.base.junit4.AbstractJsfTestCase
Exception
public void tearDown() throws Exception
tearDown
in class org.apache.myfaces.test.base.junit4.AbstractJsfTestCase
Exception
public void testContextInitializedInitializerCalled()
public void testContextDestroyedInitializerCalled()
public void testContextInitializedFacesContextAvailable()
public void testContextDestroyedFacesContextAvailable()
Copyright © 2020 The Apache Software Foundation. All rights reserved.