org.jboss.cdi.tck.tests.event.broken.inject.withoutType
Class EventInjectionWithoutTypeTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by 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

Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
EventInjectionWithoutTypeTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testAnyAnnotationOnEventInjectionPointWithoutTypeParameterFails()
           
 
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
 

Constructor Detail

EventInjectionWithoutTypeTest

public EventInjectionWithoutTypeTest()
Method Detail

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.