org.jboss.jsr299.tck.tests.context.conversation
Class ClientConversationContextTest

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

@Artifact(addCurrentPackage=false)
@Classes(value={Storm.class,ConversationTestPhaseListener.class,ConversationStatusServlet.class,Cloud.class,CloudController.class,Cumulus.class,BuiltInConversation.class})
@WebXml(value="web.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class ClientConversationContextTest
extends AbstractConversationTest

Author:
Nicklas Karlsson, Dan Allen

Field Summary
 
Fields inherited from class org.jboss.jsr299.tck.tests.context.conversation.AbstractConversationTest
CID_HEADER_NAME, CID_REQUEST_PARAMETER_NAME, LONG_RUNNING_HEADER_NAME
 
Constructor Summary
ClientConversationContextTest()
           
 
Method Summary
 void testBeanWithDefaultQualifier()
           
 void testBeanWithNameJavaxEnterpriseContextConversation()
           
 void testBeanWithRequestScope()
           
 void testBeginAlreadyLongRunningConversationThrowsException()
           
 void testConversationActiveDuringNonFacesRequest()
           
 void testConversationBeginMakesConversationLongRunning()
           
 void testConversationEndMakesConversationTransient()
           
 void testConversationHasDefaultTimeout()
           
 void testConversationIdMayBeSetByApplication()
           
 void testConversationIdMayBeSetByContainer()
           
 void testConversationIdSetByContainerIsUnique()
           
 void testConversationsDontCrossSessionBoundary1()
           
 void testConversationsDontCrossSessionBoundary2()
           
 void testEndTransientConversationThrowsException()
           
 void testLongRunningConversationInstancesNotDestroyedAtRequestEnd()
           
 void testSetConversationTimeoutOverride()
           
 void testTransientConversationHasNullId()
           
 void testTransientConversationInstancesDestroyedAtRequestEnd()
           
 
Methods inherited from class org.jboss.jsr299.tck.tests.context.conversation.AbstractConversationTest
getCid, getConversationStatusPath, getElements, getFirstMatchingElement, getPath, getPath, hasRained, invalidateSession, isCloudDestroyed, isLongRunning, resetCloud
 
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

ClientConversationContextTest

public ClientConversationContextTest()
Method Detail

testConversationIdSetByContainerIsUnique

@SpecAssertions(value={@SpecAssertion(section="6.7.4",id="hb"),@SpecAssertion(section="6.7.4",id="o")})
public void testConversationIdSetByContainerIsUnique()
                                              throws Exception
Throws:
Exception

testTransientConversationInstancesDestroyedAtRequestEnd

@SpecAssertion(section="6.7.4",
               id="j")
public void testTransientConversationInstancesDestroyedAtRequestEnd()
                                                             throws Exception
Throws:
Exception

testLongRunningConversationInstancesNotDestroyedAtRequestEnd

@SpecAssertion(section="6.7.4",
               id="k")
public void testLongRunningConversationInstancesNotDestroyedAtRequestEnd()
                                                                  throws Exception
Throws:
Exception

testConversationsDontCrossSessionBoundary1

@SpecAssertion(section="6.7.4",
               id="p")
public void testConversationsDontCrossSessionBoundary1()
                                                throws Exception
Throws:
Exception

testConversationsDontCrossSessionBoundary2

@SpecAssertion(section="6.7.4",
               id="p")
public void testConversationsDontCrossSessionBoundary2()
                                                throws Exception
Throws:
Exception

testConversationActiveDuringNonFacesRequest

@SpecAssertion(section="6.7.4",
               id="a")
public void testConversationActiveDuringNonFacesRequest()
                                                 throws Exception
Throws:
Exception

testConversationBeginMakesConversationLongRunning

@SpecAssertion(section="6.7.4",
               id="f")
public void testConversationBeginMakesConversationLongRunning()
                                                       throws Exception
Throws:
Exception

testBeginAlreadyLongRunningConversationThrowsException

@SpecAssertion(section="6.7.5",
               id="r")
public void testBeginAlreadyLongRunningConversationThrowsException()
                                                            throws Exception
Throws:
Exception

testConversationEndMakesConversationTransient

@SpecAssertions(value={@SpecAssertion(section="6.7.4",id="g"),@SpecAssertion(section="6.7.5",id="k"),@SpecAssertion(section="6.7.5",id="o")})
public void testConversationEndMakesConversationTransient()
                                                   throws Exception
Throws:
Exception

testEndTransientConversationThrowsException

@SpecAssertion(section="6.7.5",
               id="q")
public void testEndTransientConversationThrowsException()
                                                 throws Exception
Throws:
Exception

testBeanWithRequestScope

@SpecAssertions(value={@SpecAssertion(section="6.7.5",id="ib"),@SpecAssertion(section="6.7.5",id="iaa")})
public void testBeanWithRequestScope()
                              throws Exception
Throws:
Exception

testBeanWithDefaultQualifier

@SpecAssertion(section="6.7.5",
               id="id")
public void testBeanWithDefaultQualifier()
                                  throws Exception
Throws:
Exception

testBeanWithNameJavaxEnterpriseContextConversation

@SpecAssertion(section="6.7.5",
               id="ie")
public void testBeanWithNameJavaxEnterpriseContextConversation()
                                                        throws Exception
Throws:
Exception

testTransientConversationHasNullId

@SpecAssertions(value={@SpecAssertion(section="6.7.5",id="l"),@SpecAssertion(section="6.7.4",id="e")})
public void testTransientConversationHasNullId()
                                        throws Exception
Throws:
Exception

testConversationIdMayBeSetByApplication

@SpecAssertions(value={@SpecAssertion(section="6.7.4",id="ha"),@SpecAssertion(section="6.7.5",id="j")})
public void testConversationIdMayBeSetByApplication()
                                             throws Exception
Throws:
Exception

testConversationIdMayBeSetByContainer

@SpecAssertions(value={@SpecAssertion(section="6.7.4",id="hb"),@SpecAssertion(section="6.7.5",id="j")})
public void testConversationIdMayBeSetByContainer()
                                           throws Exception
Throws:
Exception

testSetConversationTimeoutOverride

@SpecAssertions(value={@SpecAssertion(section="6.7.5",id="m"),@SpecAssertion(section="6.7.5",id="n")})
public void testSetConversationTimeoutOverride()
                                        throws Exception
Throws:
Exception

testConversationHasDefaultTimeout

@SpecAssertion(section="6.7.5",
               id="m")
public void testConversationHasDefaultTimeout()
                                       throws Exception
Throws:
Exception


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