org.jboss.jsr299.tck.tests.context.dependent
Class DependentContextTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.context.dependent.DependentContextTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@BeansXml(value="beans.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class DependentContextTest
extends AbstractJSR299Test


Constructor Summary
DependentContextTest()
           
 
Method Summary
 void testCallingCreationalContextReleaseDestroysDependents()
           
 void testContextGetWithCreateFalseReturnsNull()
           
 void testContextGetWithCreationalContextReturnsNewInstance()
           
 void testContextIsActive()
           
 void testContextIsActiveDuringBeanCreation()
           
 void testContextIsActiveDuringInjection()
           
 void testContextIsActiveWhenCreatingObserverMethodInstance()
           
 void testContextIsActiveWhenEvaluatingElExpression()
           
 void testContextIsActiveWhenInvokingDisposalMethod()
           
 void testContextIsActiveWhenInvokingProducerField()
           
 void testContextIsActiveWhenInvokingProducerMethod()
           
 void testContextScopeType()
           
 void testDependentBeanIsDependentObjectOfBeanInjectedInto()
           
 void testDependentScopedDecoratorsAreDependentObjectsOfBean()
           
 void testDependentScopedInterceptorsAreDependentObjectsOfBean()
           
 void testDependentsDestroyedWhenDisposerMethodCompletes()
           
 void testDependentsDestroyedWhenElEvaluationCompletes()
           
 void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()
           
 void testDependentsDestroyedWhenProducerFieldCompletes()
           
 void testDependentsDestroyedWhenProducerMethodCompletes()
           
 void testDestroyingManagedParentDestroysDependentsOfSameBean()
           
 void testDestroyingSimpleParentDestroysDependents()
           
 void testInstanceNotSharedBetweenInjectionPoints()
           
 void testInstanceUsedForDisposalMethodNotShared()
           
 void testInstanceUsedForElEvaluationNotShared()
           
 void testInstanceUsedForObserverMethodNotShared()
           
 void testInstanceUsedForProducerFieldNotShared()
           
 void testInstanceUsedForProducerMethodNotShared()
           
 
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependentContextTest

public DependentContextTest()
Method Detail

testInstanceNotSharedBetweenInjectionPoints

@SpecAssertions(value={@SpecAssertion(section="6.4",id="a"),@SpecAssertion(section="6.4.1",id="ga")})
public void testInstanceNotSharedBetweenInjectionPoints()

testDependentBeanIsDependentObjectOfBeanInjectedInto

@SpecAssertions(value={@SpecAssertion(section="6.4.1",id="ga"),@SpecAssertion(section="6.4.1",id="gb"),@SpecAssertion(section="6.4.1",id="gc")})
public void testDependentBeanIsDependentObjectOfBeanInjectedInto()

testInstanceUsedForElEvaluationNotShared

@SpecAssertion(section="6.4",
               id="ca")
public void testInstanceUsedForElEvaluationNotShared()
                                              throws Exception
Throws:
Exception

testInstanceUsedForProducerMethodNotShared

@SpecAssertion(section="6.4",
               id="da")
public void testInstanceUsedForProducerMethodNotShared()
                                                throws Exception
Throws:
Exception

testInstanceUsedForProducerFieldNotShared

@SpecAssertion(section="6.4",
               id="db")
public void testInstanceUsedForProducerFieldNotShared()
                                               throws Exception
Throws:
Exception

testInstanceUsedForDisposalMethodNotShared

@SpecAssertion(section="6.4",
               id="dc")
public void testInstanceUsedForDisposalMethodNotShared()

testInstanceUsedForObserverMethodNotShared

@SpecAssertion(section="6.4",
               id="dd")
public void testInstanceUsedForObserverMethodNotShared()

testContextGetWithCreationalContextReturnsNewInstance

@SpecAssertion(section="6.4",
               id="e")
public void testContextGetWithCreationalContextReturnsNewInstance()

testContextGetWithCreateFalseReturnsNull

@SpecAssertion(section="6.4",
               id="f")
public void testContextGetWithCreateFalseReturnsNull()

testContextScopeType

@SpecAssertion(section="6.2",
               id="ab")
public void testContextScopeType()

testContextIsActive

@SpecAssertions(value={@SpecAssertion(section="6.2",id="ha"),@SpecAssertion(section="6.4",id="g")})
public void testContextIsActive()

testContextIsActiveWhenInvokingProducerMethod

@SpecAssertions(value={@SpecAssertion(section="6.2",id="ha"),@SpecAssertion(section="6.4",id="g")})
public void testContextIsActiveWhenInvokingProducerMethod()

testContextIsActiveWhenInvokingProducerField

@SpecAssertion(section="6.4",
               id="g")
public void testContextIsActiveWhenInvokingProducerField()

testContextIsActiveWhenInvokingDisposalMethod

@SpecAssertions(value={@SpecAssertion(section="6.4",id="g"),@SpecAssertion(section="11.1",id="aa")})
public void testContextIsActiveWhenInvokingDisposalMethod()

testContextIsActiveWhenCreatingObserverMethodInstance

@SpecAssertion(section="6.4",
               id="g")
public void testContextIsActiveWhenCreatingObserverMethodInstance()

testContextIsActiveWhenEvaluatingElExpression

@SpecAssertion(section="6.4",
               id="g")
public void testContextIsActiveWhenEvaluatingElExpression()

testContextIsActiveDuringBeanCreation

@SpecAssertion(section="6.4",
               id="g")
public void testContextIsActiveDuringBeanCreation()

testContextIsActiveDuringInjection

@SpecAssertion(section="6.4",
               id="g")
public void testContextIsActiveDuringInjection()

testDestroyingSimpleParentDestroysDependents

@SpecAssertions(value={@SpecAssertion(section="6.4.2",id="aaaa"),@SpecAssertion(section="6.4",id="b")})
public void testDestroyingSimpleParentDestroysDependents()

testCallingCreationalContextReleaseDestroysDependents

@SpecAssertions(value=@SpecAssertion(section="6.1.1",id="e"))
public void testCallingCreationalContextReleaseDestroysDependents()

testDestroyingManagedParentDestroysDependentsOfSameBean

@SpecAssertions(value={@SpecAssertion(section="6.4.2",id="aaaa"),@SpecAssertion(section="6.4",id="b")})
public void testDestroyingManagedParentDestroysDependentsOfSameBean()

testDependentsDestroyedWhenElEvaluationCompletes

@SpecAssertion(section="6.4.2",
               id="eee")
public void testDependentsDestroyedWhenElEvaluationCompletes()
                                                      throws Exception
Throws:
Exception

testDependentsDestroyedWhenProducerMethodCompletes

@SpecAssertions(value={@SpecAssertion(section="6.4.2",id="ddd"),@SpecAssertion(section="6.4.1",id="h")})
public void testDependentsDestroyedWhenProducerMethodCompletes()

testDependentsDestroyedWhenProducerFieldCompletes

@SpecAssertion(section="6.4.2",
               id="dde")
public void testDependentsDestroyedWhenProducerFieldCompletes()

testDependentsDestroyedWhenDisposerMethodCompletes

@SpecAssertions(value={@SpecAssertion(section="6.4.2",id="ddf"),@SpecAssertion(section="6.4.2",id="ccc")})
public void testDependentsDestroyedWhenDisposerMethodCompletes()

testDependentsDestroyedWhenObserverMethodEvaluationCompletes

@SpecAssertions(value={@SpecAssertion(section="6.4.2",id="ddg"),@SpecAssertion(section="6.4.2",id="ccd")})
public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()

testDependentScopedDecoratorsAreDependentObjectsOfBean

@SpecAssertion(section="6.4.1",
               id="ab")
public void testDependentScopedDecoratorsAreDependentObjectsOfBean()

testDependentScopedInterceptorsAreDependentObjectsOfBean

@SpecAssertion(section="6.4.1",
               id="aa")
public void testDependentScopedInterceptorsAreDependentObjectsOfBean()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.