@RunAsClient
@SpecVersion(spec="cdi",
version="20091101")
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()
public void deployArchives()
@SpecAssertion(section="application_context",
id="f")
public void testApplicationContextDestroyed(@ArquillianResource@OperateOnDeployment(value="foo")
URL fooContext,
@ArquillianResource@OperateOnDeployment(value="bar")
URL barContext)
throws Exception
deployArchives().fooContext - barContext - ExceptionCopyright © 2008-2013 Seam Framework. All Rights Reserved.