Class ObserverMethodWithParametertizedTypeTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.event.observer.wildcardAndTypeVariable.ObserverMethodWithParametertizedTypeTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class ObserverMethodWithParametertizedTypeTest extends AbstractTestTests an observer method defined to observe an event type which is generic and a type variable- Author:
- David Allen, Martin Kouba
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description ObserverMethodWithParametertizedTypeTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestObserverMethodCanObserveArrayTypeVariable()voidtestObserverMethodCanObserveArrayWildcard()voidtestObserverMethodCanObserveTypeVariable()voidtestObserverMethodCanObserveWildcardType()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-
-
-
Method Detail
-
createTestArchive
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
-
testObserverMethodCanObserveTypeVariable
@SpecAssertion(section="observer_method_event_parameter", id="ca") public void testObserverMethodCanObserveTypeVariable()
-
testObserverMethodCanObserveWildcardType
@SpecAssertion(section="observer_method_event_parameter", id="cb") public void testObserverMethodCanObserveWildcardType()
-
testObserverMethodCanObserveArrayTypeVariable
@SpecAssertion(section="observer_method_event_parameter", id="da") public void testObserverMethodCanObserveArrayTypeVariable()
-
testObserverMethodCanObserveArrayWildcard
@SpecAssertion(section="observer_method_event_parameter", id="db") public void testObserverMethodCanObserveArrayWildcard()
-
-