org.jboss.cdi.tck.tests.event.observer.extension
Class AbstractObserverNotificationTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.event.observer.extension.AbstractObserverNotificationTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener
Direct Known Subclasses:
BeanManagerObserverNotificationTest, EventBeanObserverNotificationTest

public abstract class AbstractObserverNotificationTest
extends AbstractTest


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
AbstractObserverNotificationTest()
           
 
Method Summary
protected abstract  void fireEvent(Giraffe payload, Annotation... qualifiers)
          Template method so that we can test both events fired using BeanManager as well as the Event bean.
protected  Set<Annotation> processQualifiers(Set<Annotation> qualifiers)
           
protected  void testMultipleQualifiersInternal()
           
protected  void testNoQualifierInternal()
           
protected  void testSingleQualifierInternal()
           
 
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

AbstractObserverNotificationTest

public AbstractObserverNotificationTest()
Method Detail

fireEvent

protected abstract void fireEvent(Giraffe payload,
                                  Annotation... qualifiers)
Template method so that we can test both events fired using BeanManager as well as the Event bean.


testNoQualifierInternal

protected void testNoQualifierInternal()

testSingleQualifierInternal

protected void testSingleQualifierInternal()

testMultipleQualifiersInternal

protected void testMultipleQualifiersInternal()

processQualifiers

protected Set<Annotation> processQualifiers(Set<Annotation> qualifiers)


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