org.jboss.cdi.tck.tests.context.request.event.remote
Class RequestScopeEventRemoteTest

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.request.event.remote.RequestScopeEventRemoteTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

Clarification for request context lifecycle during remote method invocation of EJB is required - see CDI-180.

Author:
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
RequestScopeEventRemoteTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createEjbArchive()
           
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()
           
 void testRequestScopeActiveDuringRemoteCallToEjb()
           
 
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
 

Constructor Detail

RequestScopeEventRemoteTest

public RequestScopeEventRemoteTest()
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()

testRequestScopeActiveDuringRemoteCallToEjb

@OperateOnDeployment(value="TEST")
@SpecAssertions(value=@SpecAssertion(section="6.7.1",id="jc"))
public void testRequestScopeActiveDuringRemoteCallToEjb()
                                                 throws Exception
Throws:
Exception


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