org.jboss.cdi.tck.tests.context.conversation
Class AbstractConversationTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.context.conversation.AbstractConversationTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
- Direct Known Subclasses:
- ClientConversationContextTest, InvalidatingSessionDestroysConversationTest, LongRunningConversationPropagatedByFacesContextTest, ManualCidPropagationTest
public abstract class AbstractConversationTest
- 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 |
contextPath
@ArquillianResource
protected URL contextPath
CID_REQUEST_PARAMETER_NAME
public static final String CID_REQUEST_PARAMETER_NAME
- See Also:
- Constant Field Values
CID_HEADER_NAME
public static final String CID_HEADER_NAME
- See Also:
- Constant Field Values
LONG_RUNNING_HEADER_NAME
public static final String LONG_RUNNING_HEADER_NAME
- See Also:
- Constant Field Values
AbstractConversationTest
public AbstractConversationTest()
isCloudDestroyed
protected boolean isCloudDestroyed(com.gargoylesoftware.htmlunit.WebClient client)
throws Exception
- Throws:
Exception
isConversationContextDestroyed
protected boolean isConversationContextDestroyed(com.gargoylesoftware.htmlunit.WebClient client)
throws Exception
- Throws:
Exception
resetCloud
protected void resetCloud(com.gargoylesoftware.htmlunit.WebClient client)
throws Exception
- Throws:
Exception
resetConversationContextObserver
protected void resetConversationContextObserver(com.gargoylesoftware.htmlunit.WebClient client)
throws Exception
- Throws:
Exception
invalidateSession
protected void invalidateSession(com.gargoylesoftware.htmlunit.WebClient client)
throws Exception
- Throws:
Exception
getConversationStatusPath
protected String getConversationStatusPath(String method)
getPath
protected String getPath(String viewId)
getPath
protected String getPath(String viewId,
String cid)
getElements
protected <T> Set<T> getElements(com.gargoylesoftware.htmlunit.html.HtmlElement rootElement,
Class<T> elementClass)
getFirstMatchingElement
protected <T extends com.gargoylesoftware.htmlunit.html.HtmlElement> T getFirstMatchingElement(com.gargoylesoftware.htmlunit.html.HtmlPage page,
Class<T> elementClass,
String id)
- Note that this method doesn't return the first element whose id equals specified id but the one whose id contains
specified id!
- Parameters:
page - elementClass - id -
- Returns:
- the first element whose id contains specified id
getCid
protected String getCid(com.gargoylesoftware.htmlunit.Page page)
hasRained
protected Boolean hasRained(com.gargoylesoftware.htmlunit.Page page)
isLongRunning
protected Boolean isLongRunning(com.gargoylesoftware.htmlunit.Page page)
Copyright © 2008-2013 Seam Framework. All Rights Reserved.