Class ProducerFieldLifecycleTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.implementation.producer.field.lifecycle.ProducerFieldLifecycleTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class ProducerFieldLifecycleTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description ProducerFieldLifecycleTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestProducerFieldBeanCreate()voidtestProducerFieldBeanDestroy()voidtestProducerFieldForNullValueNotDependent()voidtestProducerFieldNotAnotherBean()voidtestProducerFieldReturnsNullIsDependent()voidtestProducerFieldReturnsNullIsNotDependent()voidtestProducerStaticFieldBean()-
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()
-
testProducerFieldNotAnotherBean
@SpecAssertions(@SpecAssertion(section="producer_field",id="a")) public void testProducerFieldNotAnotherBean()
-
testProducerStaticFieldBean
@SpecAssertion(section="producer_fields_access",id="a") @SpecAssertion(section="producer_field",id="b") public void testProducerStaticFieldBean()
-
testProducerFieldBeanCreate
@SpecAssertion(section="producer_fields_access",id="b") @SpecAssertion(section="producer_field_lifecycle",id="ga") public void testProducerFieldBeanCreate() throws Exception- Throws:
Exception
-
testProducerFieldReturnsNullIsDependent
@SpecAssertion(section="producer_field",id="d") @SpecAssertion(section="producer_field_lifecycle",id="m") public void testProducerFieldReturnsNullIsDependent() throws Exception- Throws:
Exception
-
testProducerFieldForNullValueNotDependent
@SpecAssertions(@SpecAssertion(section="producer_field_lifecycle",id="n")) public void testProducerFieldForNullValueNotDependent() throws Exception- Throws:
Exception
-
testProducerFieldReturnsNullIsNotDependent
@SpecAssertion(section="producer_field",id="e") @SpecAssertion(section="producer_field_lifecycle",id="n") public void testProducerFieldReturnsNullIsNotDependent() throws Exception- Throws:
Exception
-
-