@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class ProducerFieldLifecycleTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
ProducerFieldLifecycleTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testProducerFieldBeanCreate() |
void |
testProducerFieldBeanDestroy() |
void |
testProducerFieldForNullValueNotDependent() |
void |
testProducerFieldFromSpecializingBeanUsed() |
void |
testProducerFieldNotAnotherBean() |
void |
testProducerFieldReturnsNullIsDependent() |
void |
testProducerFieldReturnsNullIsNotDependent() |
void |
testProducerStaticFieldBean() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertions(value=@SpecAssertion(section="producer_field",id="a")) public void testProducerFieldNotAnotherBean()
@SpecAssertion(section="producer_fields_access",id="a") @SpecAssertion(section="producer_field",id="b") public void testProducerStaticFieldBean()
@SpecAssertion(section="producer_fields_access",id="b") @SpecAssertion(section="producer_field_lifecycle",id="ga")
public void testProducerFieldBeanCreate()
throws Exception
Exception@SpecAssertions(value=@SpecAssertion(section="specialization",id="cd"))
public void testProducerFieldFromSpecializingBeanUsed()
throws Exception
Exception@SpecAssertion(section="producer_field",id="d") @SpecAssertion(section="producer_field_lifecycle",id="m")
public void testProducerFieldReturnsNullIsDependent()
throws Exception
Exception@SpecAssertions(value=@SpecAssertion(section="producer_field_lifecycle",id="n"))
public void testProducerFieldForNullValueNotDependent()
throws Exception
Exception@SpecAssertion(section="producer_field",id="e") @SpecAssertion(section="producer_field_lifecycle",id="n")
public void testProducerFieldReturnsNullIsNotDependent()
throws Exception
ExceptionCopyright © 2008–2016 CDI TCK. All rights reserved.