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

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.event.select.SelectEventTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

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

Author:
Dan Allen

Constructor Summary
SelectEventTest()
           
 
Method Summary
 void testEventSelectReturnsEventOfSameType()
           
 void testEventSelectThrowsExceptionForDuplicateBindingType()
           
 void testEventSelectThrowsExceptionIfAnnotationIsNotBindingType()
           
<T> void
testEventSelectThrowsExceptionIfEventTypeHasTypeVariable()
           
 void testEventSelectWithSubtypeThrowsExceptionForDuplicateBindingType()
           
 void testEventSelectWithSubtypeThrowsExceptionIfAnnotationIsNotBindingType()
           
 
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

SelectEventTest

public SelectEventTest()
Method Detail

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.