org.jboss.cdi.tck.tests.context.application.destroy
Class ApplicationContextDestructionTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.context.application.destroy.ApplicationContextDestructionTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@RunAsClient
@SpecVersion(spec="cdi",
version="20091101")
public class ApplicationContextDestructionTest- extends AbstractTest
Test that the application context is destroyed when the application is shut down.
- Author:
- Martin Kouba
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches |
| Methods inherited from class org.jboss.arquillian.testng.Arquillian |
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationContextDestructionTest
public ApplicationContextDestructionTest()
createFooTestArchive
@Deployment(name="foo",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createFooTestArchive()
createBarTestArchive
@Deployment(name="bar",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createBarTestArchive()
deployArchives
public void deployArchives()
- This is not a real test method.
- See Also:
testApplicationContextDestroyed(URL, URL)
testApplicationContextDestroyed
@SpecAssertion(section="application_context",
id="f")
public void testApplicationContextDestroyed(@ArquillianResource@OperateOnDeployment(value="foo")
URL fooContext,
@ArquillianResource@OperateOnDeployment(value="bar")
URL barContext)
throws Exception
- Note that this test method depends on (must be run after)
deployArchives().
- Parameters:
fooContext - barContext -
- Throws:
Exception
Copyright © 2008-2013 Seam Framework. All Rights Reserved.