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

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.extensions.container.event.ContainerEventTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@EjbJarXml(value="ejb-jar.xml")
@SpecVersion(spec="cdi",
             version="20091101")
@Extension(value="javax.enterprise.inject.spi.Extension")
@Packaging(value=EAR)
public class ContainerEventTest
extends AbstractJSR299Test

Tests for ProcessAnnotatedType, ProcessBean and ProcessInjectionTarget events.

Author:
Jozef Hartinger

Constructor Summary
ContainerEventTest()
           
 
Method Summary
 void testGetEJBName()
           
 void testGetSessionBeanType()
           
 void testProcessAnnotatedTypeFiredForSessionBean()
           
 void testProcessAnnotatedTypeFiredForSessionBeanInterceptor()
           
 void testProcessInjectionTargetFiredForManagedBean()
           
 void testProcessInjectionTargetFiredForSessionBean()
           
 void testProcessInjectionTargetFiredForSessionBeanInterceptor()
           
 void testProcessManagedBeanFired()
           
 void testProcessSessionBeanFiredForStatefulSessionBean()
           
 void testProcessSessionBeanFiredForStatelessSessionBean()
           
 void testTypeOfProcessInjectionTargetParameter()
           
 
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
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

testProcessInjectionTargetFiredForManagedBean

@SpecAssertions(value={@SpecAssertion(section="12.3",id="ba"),@SpecAssertion(section="11.5.6",id="aaa")})
public void testProcessInjectionTargetFiredForManagedBean()

testProcessInjectionTargetFiredForSessionBean

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

testProcessInjectionTargetFiredForSessionBeanInterceptor

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

testTypeOfProcessInjectionTargetParameter

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

testProcessAnnotatedTypeFiredForSessionBean

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

testProcessAnnotatedTypeFiredForSessionBeanInterceptor

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

testProcessManagedBeanFired

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

testProcessSessionBeanFiredForStatelessSessionBean

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

testProcessSessionBeanFiredForStatefulSessionBean

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

testGetEJBName

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

testGetSessionBeanType

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


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