org.jboss.cdi.tck.tests.event.select
Class SelectEventTest

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.select.SelectEventTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

These tests verify the behavior of the Event#select() method.

Author:
Dan Allen, 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
SelectEventTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testEventSelectReturnsEventOfSameType()
           
 void testEventSelectThrowsExceptionForDuplicateBindingType()
           
 void testEventSelectThrowsExceptionIfAnnotationIsNotBindingType()
           
<T> void
testEventSelectThrowsExceptionIfEventTypeHasTypeVariable()
           
 void testEventSelectWithSubtypeThrowsExceptionForDuplicateBindingType()
           
 void testEventSelectWithSubtypeThrowsExceptionIfAnnotationIsNotBindingType()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
annotationSetMatches, annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, rawTypeSetMatches, serialize, 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

SelectEventTest

public SelectEventTest()
Method Detail

createTestArchive

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

testEventSelectReturnsEventOfSameType

@SpecAssertion(section="10.3.1",
               id="eaa")
public void testEventSelectReturnsEventOfSameType()

testEventSelectThrowsExceptionIfEventTypeHasTypeVariable

@SpecAssertion(section="10.3.1",
               id="eab")
public <T> void testEventSelectThrowsExceptionIfEventTypeHasTypeVariable()

testEventSelectThrowsExceptionForDuplicateBindingType

@SpecAssertion(section="10.3.1",
               id="eba")
public void testEventSelectThrowsExceptionForDuplicateBindingType()

testEventSelectWithSubtypeThrowsExceptionForDuplicateBindingType

@SpecAssertion(section="10.3.1",
               id="eba")
public void testEventSelectWithSubtypeThrowsExceptionForDuplicateBindingType()

testEventSelectThrowsExceptionIfAnnotationIsNotBindingType

@SpecAssertion(section="10.3.1",
               id="ec")
public void testEventSelectThrowsExceptionIfAnnotationIsNotBindingType()

testEventSelectWithSubtypeThrowsExceptionIfAnnotationIsNotBindingType

@SpecAssertion(section="10.3.1",
               id="ec")
public void testEventSelectWithSubtypeThrowsExceptionIfAnnotationIsNotBindingType()


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