org.jboss.cdi.tck.tests.deployment.shutdown
Class ApplicationShutdownLifecycleTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.deployment.shutdown.ApplicationShutdownLifecycleTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="cdi",
version="20091101")
public class ApplicationShutdownLifecycleTest- extends AbstractTest
Test application shutdown lifecycle.
- 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, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, 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 |
ApplicationShutdownLifecycleTest
public ApplicationShutdownLifecycleTest()
createFooTestArchive
@Deployment(name="foo",
managed=false,
testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createFooTestArchive()
createBarTestArchive
@Deployment(name="info",
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:
#testShutdown()
testShutdown
@SpecAssertions(value={@SpecAssertion(section="12.3",id="a"),@SpecAssertion(section="12.3",id="b"),@SpecAssertion(section="12.3",id="c"),@SpecAssertion(section="6.7.1",id="ja"),@SpecAssertion(section="6.7.3",id="ga"),@SpecAssertion(section="11.5.4",id="a")})
public void testShutdown(@ArquillianResource@OperateOnDeployment(value="foo")
URL fooContext,
@ArquillianResource@OperateOnDeployment(value="info")
URL infoContext)
throws Exception
- Note that this test method depends on (must be run after)
- Throws:
Exception
Copyright © 2008-2012 Seam Framework. All Rights Reserved.