Class DependentContextTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.context.dependent.DependentContextTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class DependentContextTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description DependentContextTest()
-
Method Summary
-
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()
-
testInstanceNotSharedBetweenInjectionPoints
@SpecAssertion(section="dependent_context",id="a") @SpecAssertion(section="dependent_objects",id="ga") public void testInstanceNotSharedBetweenInjectionPoints()
-
testDependentBeanIsDependentObjectOfBeanInjectedInto
@SpecAssertion(section="dependent_objects",id="ga") @SpecAssertion(section="dependent_objects",id="gb") @SpecAssertion(section="dependent_objects",id="gc") public void testDependentBeanIsDependentObjectOfBeanInjectedInto()
-
testInstanceUsedForElEvaluationNotShared
@SpecAssertion(section="dependent_context_ee", id="ca") public void testInstanceUsedForElEvaluationNotShared() throws Exception- Throws:
Exception
-
testInstanceUsedForProducerMethodNotShared
@SpecAssertion(section="dependent_context", id="da") public void testInstanceUsedForProducerMethodNotShared() throws Exception- Throws:
Exception
-
testInstanceUsedForProducerFieldNotShared
@SpecAssertion(section="dependent_context", id="db") public void testInstanceUsedForProducerFieldNotShared() throws Exception- Throws:
Exception
-
testInstanceUsedForDisposalMethodNotShared
@SpecAssertion(section="dependent_context",id="dc") @SpecAssertion(section="dependent_context",id="dg") public void testInstanceUsedForDisposalMethodNotShared()
-
testInstanceUsedForObserverMethodNotShared
@SpecAssertion(section="dependent_context",id="dd") @SpecAssertion(section="dependent_context",id="dg") public void testInstanceUsedForObserverMethodNotShared()
-
testContextGetWithCreationalContextReturnsNewInstance
@SpecAssertion(section="dependent_context", id="e") public void testContextGetWithCreationalContextReturnsNewInstance()
-
testContextGetWithCreateFalseReturnsNull
@SpecAssertion(section="dependent_context", id="f") public void testContextGetWithCreateFalseReturnsNull()
-
testContextScopeType
@SpecAssertion(section="context", id="ab") public void testContextScopeType()
-
testContextIsActive
@SpecAssertion(section="context",id="ha") @SpecAssertion(section="dependent_context",id="g") public void testContextIsActive()
-
testContextIsActiveWhenInvokingProducerMethod
@SpecAssertion(section="context",id="ha") @SpecAssertion(section="dependent_context",id="g") public void testContextIsActiveWhenInvokingProducerMethod()
-
testContextIsActiveWhenInvokingProducerField
@SpecAssertion(section="dependent_context", id="g") public void testContextIsActiveWhenInvokingProducerField()
-
testContextIsActiveWhenInvokingDisposalMethod
@SpecAssertion(section="dependent_context",id="g") @SpecAssertion(section="bean",id="aa") public void testContextIsActiveWhenInvokingDisposalMethod()
-
testContextIsActiveWhenCreatingObserverMethodInstance
@SpecAssertion(section="dependent_context", id="g") public void testContextIsActiveWhenCreatingObserverMethodInstance()
-
testContextIsActiveWhenEvaluatingElExpression
@SpecAssertion(section="dependent_context", id="g") public void testContextIsActiveWhenEvaluatingElExpression()
-
testContextIsActiveDuringBeanCreation
@SpecAssertion(section="dependent_context", id="g") public void testContextIsActiveDuringBeanCreation()
-
testContextIsActiveDuringInjection
@SpecAssertion(section="dependent_context", id="g") public void testContextIsActiveDuringInjection()
-
testDestroyingSimpleParentDestroysDependents
@SpecAssertion(section="dependent_destruction",id="aaaa") @SpecAssertion(section="dependent_context",id="b") public void testDestroyingSimpleParentDestroysDependents()
-
testCallingCreationalContextReleaseDestroysDependents
@SpecAssertion(section="creational_context", id="e") public void testCallingCreationalContextReleaseDestroysDependents()
-
testDestroyingManagedParentDestroysDependentsOfSameBean
@SpecAssertion(section="dependent_destruction",id="aaaa") @SpecAssertion(section="dependent_context",id="b") public void testDestroyingManagedParentDestroysDependentsOfSameBean()
-
testDependentsDestroyedWhenElEvaluationCompletes
@SpecAssertion(section="dependent_destruction_ee", id="eee") public void testDependentsDestroyedWhenElEvaluationCompletes() throws Exception- Throws:
Exception
-
testDependentsDestroyedWhenProducerMethodCompletes
@SpecAssertion(section="dependent_destruction",id="ddd") @SpecAssertion(section="dependent_objects",id="h") @SpecAssertion(section="producer_or_disposer_methods_invocation",id="f") public void testDependentsDestroyedWhenProducerMethodCompletes()
-
testDependentsDestroyedWhenProducerFieldCompletes
@SpecAssertion(section="dependent_destruction", id="dde") public void testDependentsDestroyedWhenProducerFieldCompletes()
-
testDependentsDestroyedWhenDisposerMethodCompletes
@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()
-
testDependentsDestroyedWhenObserverMethodEvaluationCompletes
@SpecAssertion(section="dependent_destruction",id="ddg") @SpecAssertion(section="dependent_destruction",id="ccd") @SpecAssertion(section="observers_method_invocation",id="d") public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()
-
testDependentScopedInterceptorsAreDependentObjectsOfBean
@SpecAssertion(section="dependent_objects", id="aa") public void testDependentScopedInterceptorsAreDependentObjectsOfBean()
-
-