org.jboss.cdi.tck.tests.extensions.container.event
Class ContainerEventTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.extensions.container.event.ContainerEventTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

Tests for ProcessAnnotatedType, ProcessBean and ProcessInjectionTarget events.

Author:
Jozef Hartinger, 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
ContainerEventTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()
           
 void testGetEJBName()
           
 void testGetSessionBeanType()
           
 void testProcessAnnotatedTypeFiredForManagedBean()
           
 void testProcessAnnotatedTypeFiredForSessionBean()
           
 void testProcessAnnotatedTypeFiredForSessionBeanInterceptor()
           
 void testProcessInjectionTargetFiredForManagedBean()
           
 void testProcessInjectionTargetFiredForSessionBean()
           
 void testProcessInjectionTargetFiredForSessionBeanInterceptor()
           
 void testProcessManagedBeanFired()
           
 void testProcessSessionBeanFiredForStatefulSessionBean()
           
 void testProcessSessionBeanFiredForStatelessSessionBean()
           
 void testTypeOfProcessInjectionTargetParameter()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
annotationSetMatches, annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, rawTypeSetMatches, serialize, 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

ContainerEventTest

public ContainerEventTest()
Method Detail

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()

testProcessInjectionTargetFiredForManagedBean

@SpecAssertions(value={@SpecAssertion(section="12.4",id="da"),@SpecAssertion(section="11.5.8",id="aaa")})
public void testProcessInjectionTargetFiredForManagedBean()

testProcessInjectionTargetFiredForSessionBean

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aab"),@SpecAssertion(section="11.5.8",id="abb"),@SpecAssertion(section="12.4",id="db")})
public void testProcessInjectionTargetFiredForSessionBean()

testProcessInjectionTargetFiredForSessionBeanInterceptor

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aaf"),@SpecAssertion(section="11.5.8",id="abf"),@SpecAssertion(section="12.4",id="dh")})
public void testProcessInjectionTargetFiredForSessionBeanInterceptor()

testTypeOfProcessInjectionTargetParameter

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aal"),@SpecAssertion(section="11.5.8",id="aam")})
public void testTypeOfProcessInjectionTargetParameter()

testProcessAnnotatedTypeFiredForManagedBean

@SpecAssertion(section="12.4",
               id="ba")
public void testProcessAnnotatedTypeFiredForManagedBean()

testProcessAnnotatedTypeFiredForSessionBean

@SpecAssertion(section="12.4",
               id="bb")
public void testProcessAnnotatedTypeFiredForSessionBean()

testProcessAnnotatedTypeFiredForSessionBeanInterceptor

@SpecAssertion(section="12.4",
               id="bh")
public void testProcessAnnotatedTypeFiredForSessionBeanInterceptor()

testProcessManagedBeanFired

@SpecAssertion(section="11.5.11",
               id="ba")
public void testProcessManagedBeanFired()

testProcessSessionBeanFiredForStatelessSessionBean

@SpecAssertions(value={@SpecAssertion(section="11.5.11",id="c"),@SpecAssertion(section="12.4",id="fb")})
public void testProcessSessionBeanFiredForStatelessSessionBean()

testProcessSessionBeanFiredForStatefulSessionBean

@SpecAssertions(value={@SpecAssertion(section="11.5.11",id="c"),@SpecAssertion(section="12.4",id="fb")})
public void testProcessSessionBeanFiredForStatefulSessionBean()

testGetEJBName

@SpecAssertion(section="11.5.11",
               id="hb")
public void testGetEJBName()

testGetSessionBeanType

@SpecAssertion(section="11.5.11",
               id="hc")
public void testGetSessionBeanType()


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