org.jboss.cdi.tck.tests.lookup.injection.non.contextual
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.lookup.injection.non.contextual.ContainerEventTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

This test verifies that ProcessAnnotatedType and ProcessInjectionTarget events are fired for various Java EE components and tests the AnnotatedType implementation. It's placed in this package because it works with the same Java EE components as InjectionIntoNonContextualComponentTest does.

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.WebArchive createTestArchive()
           
 void testProcessAnnotatedTypeEventFiredForFilter()
           
 void testProcessAnnotatedTypeEventFiredForJsfManagedBean()
           
 void testProcessAnnotatedTypeEventFiredForServlet()
           
 void testProcessAnnotatedTypeEventFiredForServletListener()
           
 void testProcessAnnotatedTypeEventFiredForTagHandler()
           
 void testProcessAnnotatedTypeEventFiredForTagLibraryListener()
           
 void testProcessInjectionTargetEventFiredForFilter()
           
 void testProcessInjectionTargetEventFiredForJsfManagedBean()
           
 void testProcessInjectionTargetEventFiredForServlet()
           
 void testProcessInjectionTargetEventFiredForServletListener()
           
 void testProcessInjectionTargetEventFiredForTagHandler()
           
 void testProcessInjectionTargetEventFiredForTagLibraryListener()
           
 void testTypeOfProcessInjectionTargetParameter()
           
 
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

ContainerEventTest

public ContainerEventTest()
Method Detail

createTestArchive

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

testProcessInjectionTargetEventFiredForServletListener

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aac"),@SpecAssertion(section="11.5.8",id="abc"),@SpecAssertion(section="12.4",id="de")})
public void testProcessInjectionTargetEventFiredForServletListener()

testProcessInjectionTargetEventFiredForTagHandler

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aad"),@SpecAssertion(section="11.5.8",id="abd"),@SpecAssertion(section="12.4",id="df")})
public void testProcessInjectionTargetEventFiredForTagHandler()

testProcessInjectionTargetEventFiredForTagLibraryListener

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aae"),@SpecAssertion(section="11.5.8",id="abe"),@SpecAssertion(section="12.4",id="dg")})
public void testProcessInjectionTargetEventFiredForTagLibraryListener()

testProcessInjectionTargetEventFiredForServlet

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aah"),@SpecAssertion(section="11.5.8",id="abh"),@SpecAssertion(section="12.4",id="dj")})
public void testProcessInjectionTargetEventFiredForServlet()

testProcessInjectionTargetEventFiredForFilter

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aai"),@SpecAssertion(section="11.5.8",id="abi"),@SpecAssertion(section="12.4",id="dk")})
public void testProcessInjectionTargetEventFiredForFilter()

testProcessInjectionTargetEventFiredForJsfManagedBean

@SpecAssertion(section="12.4",
               id="dd")
public void testProcessInjectionTargetEventFiredForJsfManagedBean()

testTypeOfProcessInjectionTargetParameter

@SpecAssertions(value={@SpecAssertion(section="11.5.8",id="aas"),@SpecAssertion(section="11.5.8",id="aao"),@SpecAssertion(section="11.5.8",id="aan")})
public void testTypeOfProcessInjectionTargetParameter()

testProcessAnnotatedTypeEventFiredForServletListener

@SpecAssertion(section="12.4",
               id="be")
public void testProcessAnnotatedTypeEventFiredForServletListener()

testProcessAnnotatedTypeEventFiredForTagHandler

@SpecAssertion(section="12.4",
               id="bf")
public void testProcessAnnotatedTypeEventFiredForTagHandler()

testProcessAnnotatedTypeEventFiredForTagLibraryListener

@SpecAssertion(section="12.4",
               id="bg")
public void testProcessAnnotatedTypeEventFiredForTagLibraryListener()

testProcessAnnotatedTypeEventFiredForServlet

@SpecAssertion(section="12.4",
               id="bj")
public void testProcessAnnotatedTypeEventFiredForServlet()

testProcessAnnotatedTypeEventFiredForFilter

@SpecAssertion(section="12.4",
               id="bk")
public void testProcessAnnotatedTypeEventFiredForFilter()

testProcessAnnotatedTypeEventFiredForJsfManagedBean

@SpecAssertion(section="12.4",
               id="bd")
public void testProcessAnnotatedTypeEventFiredForJsfManagedBean()


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