org.jboss.webbeans.tck.unit.context
Class ContextTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.context.ContextTest

public class ContextTest
extends AbstractTest

Spec version: PRD2


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.webbeans.tck.AbstractTest
AbstractTest.RunInDependentContext
 
Field Summary
 
Fields inherited from class org.jboss.webbeans.tck.AbstractTest
BUILT_IN_BEANS, manager, visited
 
Constructor Summary
ContextTest()
           
 
Method Summary
 void testBuiltInNormalScopedContextsDoNotPropagateAcrossAsynchronousMethodInvocations()
          The built-in contexts do not propagate across remote method invocations or to asynchronous processes such as JMS message listeners or EJB timer service timeouts
 void testBuiltInNormalScopedContextsDoNotPropagateAcrossRemoteMethodInvocations()
          The built-in contexts do not propagate across remote method invocations or to asynchronous processes such as JMS message listeners or EJB timer service timeouts
 void testBuiltInNormalScopedContextsPropagateAcrossAnyJavaMethodCall()
          For each of the built-in normal scopes, contexts propagate across any Java method call, including invocation of EJB local business methods.
 void testGetContextReturnsActiveContext()
           
 void testGetContextWithNoActiveContextsFails()
           
 void testGetContextWithNoRegisteredContextsFails()
           
 void testGetContextWithTooManyActiveContextsFails()
           
 
Methods inherited from class org.jboss.webbeans.tck.AbstractTest
activateDependentContext, after, before, createEnterpriseBean, createProducerFieldBean, createProducerMethodBean, createSimpleBean, deactivateDependentContext, deployBeans, deserialize, getEnabledDeploymentTypes, getStandardDeploymentTypes, mockCreationalContext, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextTest

public ContextTest()
Method Detail

testGetContextWithNoActiveContextsFails

@SpecAssertion(section="8.5")
public void testGetContextWithNoActiveContextsFails()

testGetContextWithTooManyActiveContextsFails

@SpecAssertion(section="8.5")
public void testGetContextWithTooManyActiveContextsFails()

testGetContextWithNoRegisteredContextsFails

@SpecAssertion(section="8.5")
public void testGetContextWithNoRegisteredContextsFails()

testGetContextReturnsActiveContext

@SpecAssertion(section="8.5")
public void testGetContextReturnsActiveContext()

testBuiltInNormalScopedContextsPropagateAcrossAnyJavaMethodCall

@SpecAssertion(section="8.5")
public void testBuiltInNormalScopedContextsPropagateAcrossAnyJavaMethodCall()
For each of the built-in normal scopes, contexts propagate across any Java method call, including invocation of EJB local business methods.


testBuiltInNormalScopedContextsDoNotPropagateAcrossRemoteMethodInvocations

@SpecAssertion(section="8.5")
public void testBuiltInNormalScopedContextsDoNotPropagateAcrossRemoteMethodInvocations()
The built-in contexts do not propagate across remote method invocations or to asynchronous processes such as JMS message listeners or EJB timer service timeouts


testBuiltInNormalScopedContextsDoNotPropagateAcrossAsynchronousMethodInvocations

@SpecAssertion(section="8.5")
public void testBuiltInNormalScopedContextsDoNotPropagateAcrossAsynchronousMethodInvocations()
The built-in contexts do not propagate across remote method invocations or to asynchronous processes such as JMS message listeners or EJB timer service timeouts



Copyright © 2008-2009. All Rights Reserved.