org.jboss.cdi.tck.tests.event.broken.inject.withoutType
Class EventInjectionWithoutTypeTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.event.broken.inject.withoutType.EventInjectionWithoutTypeTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
public class EventInjectionWithoutTypeTest
- extends AbstractTest
FIXME This is not a valid TCK test since it does not cover any spec assertion.
Tests if the Event object on an injection point annotated @Any has a type parameter for the actual type of event.
- Author:
- David Allen, Martin Kouba
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
annotationSetMatches, annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches |
| Methods inherited from class org.jboss.arquillian.testng.Arquillian |
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventInjectionWithoutTypeTest
public EventInjectionWithoutTypeTest()
createTestArchive
@ShouldThrowException(value=javax.enterprise.inject.spi.DefinitionException.class)
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testAnyAnnotationOnEventInjectionPointWithoutTypeParameterFails
public void testAnyAnnotationOnEventInjectionPointWithoutTypeParameterFails()
Copyright © 2008-2012 Seam Framework. All Rights Reserved.