@RunAsClient
@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class ApplicationContextDestructionTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
ApplicationContextDestructionTest() |
| 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 fooContext,
URL barContext)
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="foo",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createFooTestArchive()
@Deployment(name="bar",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createBarTestArchive()
@InSequence(value=1) public void deployArchives()
@SpecAssertion(section="application_context_ee",
id="f")
public void testApplicationContextDestroyed(@ArquillianResource @OperateOnDeployment(value="foo")
URL fooContext,
@ArquillianResource @OperateOnDeployment(value="bar")
URL barContext)
throws Exception
deployArchives().fooContext - barContext - ExceptionCopyright © 2008–2016 CDI TCK. All rights reserved.