@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class DependentContextTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
DependentContextTest() |
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="dependent_context",id="a") @SpecAssertion(section="dependent_objects",id="ga") public void testInstanceNotSharedBetweenInjectionPoints()
@SpecAssertion(section="dependent_objects",id="ga") @SpecAssertion(section="dependent_objects",id="gb") @SpecAssertion(section="dependent_objects",id="gc") public void testDependentBeanIsDependentObjectOfBeanInjectedInto()
@SpecAssertion(section="dependent_context_ee",
id="ca")
public void testInstanceUsedForElEvaluationNotShared()
throws Exception
Exception@SpecAssertion(section="dependent_context",
id="da")
public void testInstanceUsedForProducerMethodNotShared()
throws Exception
Exception@SpecAssertion(section="dependent_context",
id="db")
public void testInstanceUsedForProducerFieldNotShared()
throws Exception
Exception@SpecAssertion(section="dependent_context",id="dc") @SpecAssertion(section="dependent_context",id="dg") public void testInstanceUsedForDisposalMethodNotShared()
@SpecAssertion(section="dependent_context",id="dd") @SpecAssertion(section="dependent_context",id="dg") public void testInstanceUsedForObserverMethodNotShared()
@SpecAssertion(section="dependent_context",
id="e")
public void testContextGetWithCreationalContextReturnsNewInstance()
@SpecAssertion(section="dependent_context",
id="f")
public void testContextGetWithCreateFalseReturnsNull()
@SpecAssertion(section="context",
id="ab")
public void testContextScopeType()
@SpecAssertion(section="context",id="ha") @SpecAssertion(section="dependent_context",id="g") public void testContextIsActive()
@SpecAssertion(section="context",id="ha") @SpecAssertion(section="dependent_context",id="g") public void testContextIsActiveWhenInvokingProducerMethod()
@SpecAssertion(section="dependent_context",
id="g")
public void testContextIsActiveWhenInvokingProducerField()
@SpecAssertion(section="dependent_context",id="g") @SpecAssertion(section="bean",id="aa") public void testContextIsActiveWhenInvokingDisposalMethod()
@SpecAssertion(section="dependent_context",
id="g")
public void testContextIsActiveWhenCreatingObserverMethodInstance()
@SpecAssertion(section="dependent_context",
id="g")
public void testContextIsActiveWhenEvaluatingElExpression()
@SpecAssertion(section="dependent_context",
id="g")
public void testContextIsActiveDuringBeanCreation()
@SpecAssertion(section="dependent_context",
id="g")
public void testContextIsActiveDuringInjection()
@SpecAssertion(section="dependent_destruction",id="aaaa") @SpecAssertion(section="dependent_context",id="b") public void testDestroyingSimpleParentDestroysDependents()
@SpecAssertions(value=@SpecAssertion(section="creational_context",id="e")) public void testCallingCreationalContextReleaseDestroysDependents()
@SpecAssertion(section="dependent_destruction",id="aaaa") @SpecAssertion(section="dependent_context",id="b") public void testDestroyingManagedParentDestroysDependentsOfSameBean()
@SpecAssertion(section="dependent_destruction_ee",
id="eee")
public void testDependentsDestroyedWhenElEvaluationCompletes()
throws Exception
Exception@SpecAssertion(section="dependent_destruction",id="ddd") @SpecAssertion(section="dependent_objects",id="h") @SpecAssertion(section="producer_or_disposer_methods_invocation",id="f") public void testDependentsDestroyedWhenProducerMethodCompletes()
@SpecAssertion(section="dependent_destruction",
id="dde")
public void testDependentsDestroyedWhenProducerFieldCompletes()
@SpecAssertion(section="dependent_destruction",id="ddf") @SpecAssertion(section="dependent_destruction",id="ccc") @SpecAssertion(section="producer_or_disposer_methods_invocation",id="d") @SpecAssertion(section="producer_or_disposer_methods_invocation",id="f") public void testDependentsDestroyedWhenDisposerMethodCompletes()
@SpecAssertion(section="dependent_destruction",id="ddg") @SpecAssertion(section="dependent_destruction",id="ccd") @SpecAssertion(section="observers_method_invocation",id="d") public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()
@SpecAssertion(section="dependent_objects",
id="ab")
public void testDependentScopedDecoratorsAreDependentObjectsOfBean()
@SpecAssertion(section="dependent_objects",
id="aa")
public void testDependentScopedInterceptorsAreDependentObjectsOfBean()
Copyright © 2008–2016 CDI TCK. All rights reserved.