org.jboss.jsr299.tck.tests.event.observer.wildcardAndTypeVariable
Class ObserverMethodWithParametertizedTypeTest

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

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

Tests an observer method defined to observe an event type which is generic and a type variable

Author:
David Allen

Constructor Summary
ObserverMethodWithParametertizedTypeTest()
           
 
Method Summary
 void testObserverMethodCanObserveTypeVariable()
           
 void testObserverMethodCanObserveWildcardType()
           
 
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

ObserverMethodWithParametertizedTypeTest

public ObserverMethodWithParametertizedTypeTest()
Method Detail

testObserverMethodCanObserveTypeVariable

@SpecAssertion(section="10.4.1",
               id="cb")
public void testObserverMethodCanObserveTypeVariable()

testObserverMethodCanObserveWildcardType

@SpecAssertion(section="10.4.1",
               id="ca")
public void testObserverMethodCanObserveWildcardType()


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