Class ProducerMethodLifecycleTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.implementation.producer.method.lifecycle.ProducerMethodLifecycleTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class ProducerMethodLifecycleTest extends AbstractTestNOTE May be able to get rid of some of the binding types if the producer method precedence question is resolved
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description ProducerMethodLifecycleTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestCreateFailsIfProducerReturnsNullAndNotDependent()voidtestCreateRethrowsUncheckedException()voidtestCreateReturnsNullIfProducerDoesAndDependent()voidtestCreateWrapsCheckedExceptionAndRethrows()voidtestProducerMethodBeanCreate()voidtestProducerMethodBeanDestroy()voidtestProducerMethodInvokedOnCreate()voidtestWhenApplicationInvokesProducerMethodParametersAreNotInjected()-
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()
-
testProducerMethodBeanCreate
@SpecAssertion(section="producer_method_lifecycle", id="ea") public void testProducerMethodBeanCreate()
-
testProducerMethodInvokedOnCreate
@SpecAssertions(@SpecAssertion(section="producer_method_lifecycle",id="ea")) public void testProducerMethodInvokedOnCreate()
-
testWhenApplicationInvokesProducerMethodParametersAreNotInjected
@SpecAssertion(section="producer_method", id="j") public void testWhenApplicationInvokesProducerMethodParametersAreNotInjected()
-
testCreateReturnsNullIfProducerDoesAndDependent
@SpecAssertions(@SpecAssertion(section="producer_method_lifecycle",id="k")) public void testCreateReturnsNullIfProducerDoesAndDependent()
-
testCreateFailsIfProducerReturnsNullAndNotDependent
@SpecAssertions(@SpecAssertion(section="producer_method_lifecycle",id="l")) public void testCreateFailsIfProducerReturnsNullAndNotDependent()
-
testProducerMethodBeanDestroy
@SpecAssertion(section="producer_method_lifecycle",id="ma") @SpecAssertion(section="producer_method_lifecycle",id="r") public void testProducerMethodBeanDestroy()
-
testCreateRethrowsUncheckedException
@SpecAssertions(@SpecAssertion(section="contextual",id="aa")) public void testCreateRethrowsUncheckedException()
-
testCreateWrapsCheckedExceptionAndRethrows
@SpecAssertions(@SpecAssertion(section="contextual",id="aa")) public void testCreateWrapsCheckedExceptionAndRethrows()
-
-