org.jboss.jsr299.tck.tests.event.implicit
Class ImplicitEventTest

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

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

Test that there is an implicit event bean for every legal event type and verify its composition.

Author:
Dan Allen

Constructor Summary
ImplicitEventTest()
           
 
Method Summary
 void testImplicitEventExistsForEachEventType()
           
 void testImplicitEventHasAllExplicitBindingTypes()
           
 void testImplicitEventHasAnyBinding()
           
 void testImplicitEventHasDependentScope()
           
 void testImplicitEventHasImplementation()
           
 void testImplicitEventHasNoName()
           
 void testImplicitEventIsPassivationCapable()
           
 
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

ImplicitEventTest

public ImplicitEventTest()
Method Detail

testImplicitEventExistsForEachEventType

@SpecAssertion(section="10.3.2",
               id="a")
public void testImplicitEventExistsForEachEventType()

testImplicitEventHasAllExplicitBindingTypes

@SpecAssertion(section="10.3.2",
               id="b")
public void testImplicitEventHasAllExplicitBindingTypes()

testImplicitEventHasAnyBinding

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

testImplicitEventHasDependentScope

@SpecAssertion(section="10.3.2",
               id="d")
public void testImplicitEventHasDependentScope()

testImplicitEventHasNoName

@SpecAssertion(section="10.3.2",
               id="e")
public void testImplicitEventHasNoName()

testImplicitEventHasImplementation

@SpecAssertion(section="10.3.2",
               id="f")
public void testImplicitEventHasImplementation()

testImplicitEventIsPassivationCapable

@SpecAssertions(value={@SpecAssertion(section="10.3.2",id="g"),@SpecAssertion(section="6.6.2",id="e")})
public void testImplicitEventIsPassivationCapable()
                                           throws IOException,
                                                  ClassNotFoundException
Throws:
IOException
ClassNotFoundException


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