@SpecVersion(spec="cdi",
version="1.1 Final Release")
public class SessionContextListenerShutdownTest
extends AbstractTest
HttpSessionListener.sessionDestroyed(javax.servlet.http.HttpSessionEvent)
invocation when the application is undeployed.beanManager| Constructor and Description |
|---|
SessionContextListenerShutdownTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createBarTestArchive() |
static org.jboss.shrinkwrap.api.spec.WebArchive |
createFooTestArchive() |
void |
deployArchives()
This is not a real test method.
|
void |
testApplicationContextDestroyed(URL alphaContext,
URL bravoContext)
Note that this test method depends on (must be run after)
deployArchives(). |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment(name="alpha",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createFooTestArchive()
@Deployment(name="bravo",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createBarTestArchive()
@InSequence(value=1) public void deployArchives()
@SpecAssertion(section="session_context",
id="ac")
public void testApplicationContextDestroyed(@ArquillianResource @OperateOnDeployment(value="alpha")
URL alphaContext,
@ArquillianResource @OperateOnDeployment(value="bravo")
URL bravoContext)
throws Exception
deployArchives().alphaContext - bravoContext - ExceptionCopyright © 2008-2015 Seam Framework. All Rights Reserved.