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

@Artifact
@WebXml(value="web.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class ContainerEventTest
extends AbstractJSR299Test

This test verifies that ProcessAnnotatedType and ProcessInjectionTarget events are fired for various Java EE components and tests the AnnotatedType implementation.

Author:
Jozef Hartinger

Constructor Summary
ContainerEventTest()
           
 
Method Summary
 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.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

testProcessInjectionTargetEventFiredForServletListener

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

testProcessInjectionTargetEventFiredForTagHandler

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

testProcessInjectionTargetEventFiredForTagLibraryListener

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

testProcessInjectionTargetEventFiredForServlet

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

testProcessInjectionTargetEventFiredForFilter

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

testProcessInjectionTargetEventFiredForJsfManagedBean

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

testTypeOfProcessInjectionTargetParameter

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

testProcessAnnotatedTypeEventFiredForServletListener

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

testProcessAnnotatedTypeEventFiredForTagHandler

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

testProcessAnnotatedTypeEventFiredForTagLibraryListener

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

testProcessAnnotatedTypeEventFiredForServlet

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

testProcessAnnotatedTypeEventFiredForFilter

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

testProcessAnnotatedTypeEventFiredForJsfManagedBean

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


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