org.jboss.jsr299.tck.tests.event.bindingTypes
Class EventBindingTypesTest

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

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

Author:
Dan Allen

Constructor Summary
EventBindingTypesTest()
           
 
Method Summary
 void testEventAlwaysHasAnyBinding()
           
 void testEventBindingTypeTargetsFieldParameterElementTypes()
           
 void testEventBindingTypeTargetsMethodFieldParameterElementTypes()
           
 void testFireEventWithNonBindingAnnotationsFails()
           
 void testFireEventWithNonRuntimeBindingTypeFails()
           
 void testNonRuntimeBindingTypeIsNotAnEventBindingType()
          This test ensures that an event binding type without runtime retention is effectively invisible
 
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

EventBindingTypesTest

public EventBindingTypesTest()
Method Detail

testEventBindingTypeTargetsMethodFieldParameterElementTypes

@SpecAssertion(section="10.1",
               id="d")
public void testEventBindingTypeTargetsMethodFieldParameterElementTypes()

testEventBindingTypeTargetsFieldParameterElementTypes

@SpecAssertion(section="10.1",
               id="e")
public void testEventBindingTypeTargetsFieldParameterElementTypes()

testNonRuntimeBindingTypeIsNotAnEventBindingType

@SpecAssertion(section="10.1",
               id="f")
public void testNonRuntimeBindingTypeIsNotAnEventBindingType()
This test ensures that an event binding type without runtime retention is effectively invisible


testFireEventWithNonRuntimeBindingTypeFails

@SpecAssertion(section="10.1",
               id="f")
public void testFireEventWithNonRuntimeBindingTypeFails()

testFireEventWithNonBindingAnnotationsFails

@SpecAssertion(section="10.1",
               id="g")
public void testFireEventWithNonBindingAnnotationsFails()

testEventAlwaysHasAnyBinding

@SpecAssertion(section="10.1",
               id="i")
public void testEventAlwaysHasAnyBinding()


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