org.jboss.cdi.tck.tests.context.application.ejb
Class ApplicationContextSharedTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.context.application.ejb.ApplicationContextSharedTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="cdi",
             version="20091101")
public class ApplicationContextSharedTest
extends AbstractTest

EJB and related tests with the built-in application context.

Author:
David Allen, Martin Kouba

Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ApplicationContextSharedTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createEjbArchive()
           
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()
           
 void testApplicationContextShared()
           
 void testApplicationScopeActiveDuringAsyncCallToEjb(SimpleApplicationBean simpleApplicationBean)
           
 void testApplicationScopeActiveDuringCallToEjbTimeoutMethod()
           
 void testApplicationScopeActiveDuringRemoteCallToEjb()
           
 
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
 

Constructor Detail

ApplicationContextSharedTest

public ApplicationContextSharedTest()
Method Detail

createTestArchive

@Deployment(name="TEST",
            order=1)
public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()

createEjbArchive

@Deployment(name="REMOTE_EJB",
            order=2,
            testable=false)
public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createEjbArchive()

testApplicationContextShared

@OperateOnDeployment(value="TEST")
@SpecAssertion(section="application_context",
               id="e")
public void testApplicationContextShared()
                                  throws Exception
Throws:
Exception

testApplicationScopeActiveDuringCallToEjbTimeoutMethod

@OperateOnDeployment(value="TEST")
@SpecAssertion(section="application_context",
               id="dc")
public void testApplicationScopeActiveDuringCallToEjbTimeoutMethod()
                                                            throws Exception
Throws:
Exception

testApplicationScopeActiveDuringAsyncCallToEjb

@OperateOnDeployment(value="TEST")
@SpecAssertions(value=@SpecAssertion(section="application_context",id="db"))
public void testApplicationScopeActiveDuringAsyncCallToEjb(SimpleApplicationBean simpleApplicationBean)
                                                    throws Exception
Throws:
Exception

testApplicationScopeActiveDuringRemoteCallToEjb

@OperateOnDeployment(value="TEST")
@SpecAssertion(section="application_context",
               id="da")
public void testApplicationScopeActiveDuringRemoteCallToEjb()


Copyright © 2008-2013 Seam Framework. All Rights Reserved.