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 event is 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()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, 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()

testProcessAnnotatedTypeEventFiredForServletListener

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

testProcessAnnotatedTypeEventFiredForTagHandler

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

testProcessAnnotatedTypeEventFiredForTagLibraryListener

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

testProcessAnnotatedTypeEventFiredForServlet

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

testProcessAnnotatedTypeEventFiredForFilter

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

testProcessAnnotatedTypeEventFiredForJsfManagedBean

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


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