org.jboss.cdi.tck.tests.context.conversation.servlet
Class ServletConversationTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.context.conversation.servlet.ServletConversationTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="cdi",
             version="20091101")
public class ServletConversationTest
extends AbstractTest

Author:
Jozef Hartinger, Martin Kouba

Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ServletConversationTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
protected  String getCid(String content)
           
protected
<T> Set<T>
getElements(com.gargoylesoftware.htmlunit.html.HtmlElement rootElement, Class<T> elementClass)
           
protected
<T extends com.gargoylesoftware.htmlunit.html.HtmlElement>
T
getFirstMatchingElement(com.gargoylesoftware.htmlunit.html.HtmlPage page, Class<T> elementClass, String id)
           
protected  String getPath(String viewId, String cid)
           
 void testInvalidatingSessionDestroysConversation()
           
 void testLongRunningConversation()
           
 void testPost()
           
 void testTransientConversation()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, 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
 

Constructor Detail

ServletConversationTest

public ServletConversationTest()
Method Detail

createTestArchive

@Deployment(testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

testTransientConversation

@SpecAssertions(value=@SpecAssertion(section="6.7.4",id="aa"))
public void testTransientConversation()
                               throws Exception
Throws:
Exception

testLongRunningConversation

@SpecAssertions(value=@SpecAssertion(section="6.7.4",id="aa"))
public void testLongRunningConversation()
                                 throws Exception
Throws:
Exception

testPost

@SpecAssertions(value=@SpecAssertion(section="6.7.4",id="aa"))
public void testPost()
              throws Exception
Throws:
Exception

testInvalidatingSessionDestroysConversation

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

getCid

protected String getCid(String content)

getPath

protected String getPath(String viewId,
                         String cid)

getFirstMatchingElement

protected <T extends com.gargoylesoftware.htmlunit.html.HtmlElement> T getFirstMatchingElement(com.gargoylesoftware.htmlunit.html.HtmlPage page,
                                                                                               Class<T> elementClass,
                                                                                               String id)

getElements

protected <T> Set<T> getElements(com.gargoylesoftware.htmlunit.html.HtmlElement rootElement,
                                 Class<T> elementClass)


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