@SpecVersion(spec="cdi",
version="20091101")
public class ProducerMethodLifecycleTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
ProducerMethodLifecycleTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testCreateFailsIfProducerReturnsNullAndNotDependent() |
void |
testCreateRethrowsUncheckedException() |
void |
testCreateReturnsNullIfProducerDoesAndDependent() |
void |
testCreateWrapsCheckedExceptionAndRethrows() |
void |
testProducerMethodBeanCreate() |
void |
testProducerMethodBeanDestroy() |
void |
testProducerMethodFromSpecializedBeanUsed() |
void |
testProducerMethodInvokedOnCreate() |
void |
testWhenApplicationInvokesProducerMethodParametersAreNotInjected() |
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()
@SpecAssertion(section="producer_method_lifecycle",
id="ea")
public void testProducerMethodBeanCreate()
@SpecAssertions(value=@SpecAssertion(section="producer_method_lifecycle",id="ea")) public void testProducerMethodInvokedOnCreate()
@SpecAssertion(section="producer_method",
id="j")
public void testWhenApplicationInvokesProducerMethodParametersAreNotInjected()
@SpecAssertions(value={@SpecAssertion(section="producer_or_disposer_methods_invocation",id="c"),@SpecAssertion(section="specialization",id="cb")})
public void testProducerMethodFromSpecializedBeanUsed()
@SpecAssertions(value=@SpecAssertion(section="producer_method_lifecycle",id="k")) public void testCreateReturnsNullIfProducerDoesAndDependent()
@SpecAssertions(value=@SpecAssertion(section="producer_method_lifecycle",id="l")) public void testCreateFailsIfProducerReturnsNullAndNotDependent()
@SpecAssertions(value={@SpecAssertion(section="producer_method_lifecycle",id="ma"),@SpecAssertion(section="producer_method_lifecycle",id="r")})
public void testProducerMethodBeanDestroy()
@SpecAssertions(value=@SpecAssertion(section="contextual",id="a0")) public void testCreateRethrowsUncheckedException()
@SpecAssertions(value=@SpecAssertion(section="contextual",id="a0")) public void testCreateWrapsCheckedExceptionAndRethrows()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.