org.jboss.cdi.tck.tests.lookup.modules
Class EnabledProducerMethodInjectionAvailabilityTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.lookup.modules.EnabledProducerMethodInjectionAvailabilityTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="cdi",
version="20091101")
public class EnabledProducerMethodInjectionAvailabilityTest- extends AbstractTest
Test that bean in web module can inject enabled bean producer method from EJB module.
Note that we DO NOT include test class in EJB module since we wouldn't be able to inject bean from web module (Java EE
classloading requirements)!
- Author:
- Martin Kouba
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, passivate, rawTypeSetMatches, 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 |
EnabledProducerMethodInjectionAvailabilityTest
public EnabledProducerMethodInjectionAvailabilityTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()
testInjection
@SpecAssertions(value=@SpecAssertion(section="5.1.4",id="f"))
public void testInjection()
throws Exception
- Throws:
Exception
Copyright © 2008-2012 Seam Framework. All Rights Reserved.