org.jboss.cdi.tck.tests.context.dependent
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="20091101")
public class DependentContextTest- extends AbstractTest
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches |
| Methods inherited from class org.jboss.arquillian.testng.Arquillian |
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependentContextTest
public DependentContextTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testInstanceNotSharedBetweenInjectionPoints
@SpecAssertions(value={@SpecAssertion(section="dependent_context",id="a"),@SpecAssertion(section="dependent_objects",id="ga")})
public void testInstanceNotSharedBetweenInjectionPoints()
testDependentBeanIsDependentObjectOfBeanInjectedInto
@SpecAssertions(value={@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",
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
@SpecAssertions(value={@SpecAssertion(section="dependent_context",id="dc"),@SpecAssertion(section="dependent_context",id="dg")})
public void testInstanceUsedForDisposalMethodNotShared()
testInstanceUsedForObserverMethodNotShared
@SpecAssertions(value={@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
@SpecAssertions(value={@SpecAssertion(section="context",id="ha"),@SpecAssertion(section="dependent_context",id="g")})
public void testContextIsActive()
testContextIsActiveWhenInvokingProducerMethod
@SpecAssertions(value={@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
@SpecAssertions(value={@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
@SpecAssertions(value={@SpecAssertion(section="dependent_destruction",id="aaaa"),@SpecAssertion(section="dependent_context",id="b")})
public void testDestroyingSimpleParentDestroysDependents()
testCallingCreationalContextReleaseDestroysDependents
@SpecAssertions(value=@SpecAssertion(section="creational_context",id="e"))
public void testCallingCreationalContextReleaseDestroysDependents()
testDestroyingManagedParentDestroysDependentsOfSameBean
@SpecAssertions(value={@SpecAssertion(section="dependent_destruction",id="aaaa"),@SpecAssertion(section="dependent_context",id="b")})
public void testDestroyingManagedParentDestroysDependentsOfSameBean()
testDependentsDestroyedWhenElEvaluationCompletes
@SpecAssertion(section="dependent_destruction",
id="eee")
public void testDependentsDestroyedWhenElEvaluationCompletes()
throws Exception
- Throws:
Exception
testDependentsDestroyedWhenProducerMethodCompletes
@SpecAssertions(value={@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
@SpecAssertions(value={@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
@SpecAssertions(value={@SpecAssertion(section="dependent_destruction",id="ddg"),@SpecAssertion(section="dependent_destruction",id="ccd"),@SpecAssertion(section="observers_method_invocation",id="d")})
public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()
testDependentScopedDecoratorsAreDependentObjectsOfBean
@SpecAssertion(section="dependent_objects",
id="ab")
public void testDependentScopedDecoratorsAreDependentObjectsOfBean()
testDependentScopedInterceptorsAreDependentObjectsOfBean
@SpecAssertion(section="dependent_objects",
id="aa")
public void testDependentScopedInterceptorsAreDependentObjectsOfBean()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.