@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class ServletConversationTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
ServletConversationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
beginConversation(com.gargoylesoftware.htmlunit.WebClient client,
boolean resetSequence) |
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> |
getFirstMatchingElement(com.gargoylesoftware.htmlunit.html.HtmlPage page,
Class<T> elementClass,
String id) |
protected String |
getPath(String viewId,
String cid) |
void |
testInvalidatingSessionDestroysAllLongRunningConversations() |
void |
testInvalidatingSessionDestroysConversation() |
void |
testLongRunningConversation() |
void |
testPost() |
void |
testTransientConversation() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment(testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertions(value=@SpecAssertion(section="conversation_context_ee",id="aa"))
public void testTransientConversation()
throws Exception
Exception@SpecAssertions(value=@SpecAssertion(section="conversation_context_ee",id="aa"))
public void testLongRunningConversation()
throws Exception
Exception@SpecAssertions(value=@SpecAssertion(section="conversation_context_ee",id="aa"))
public void testPost()
throws Exception
Exception@SpecAssertion(section="conversation_context_ee",
id="qa")
public void testInvalidatingSessionDestroysConversation()
throws Exception
Exception@SpecAssertion(section="conversation_context_ee",
id="qa")
public void testInvalidatingSessionDestroysAllLongRunningConversations()
throws Exception
Exceptionprotected <T extends com.gargoylesoftware.htmlunit.html.HtmlElement> T getFirstMatchingElement(com.gargoylesoftware.htmlunit.html.HtmlPage page,
Class<T> elementClass,
String id)
protected <T> Set<T> getElements(com.gargoylesoftware.htmlunit.html.HtmlElement rootElement, Class<T> elementClass)
protected String beginConversation(com.gargoylesoftware.htmlunit.WebClient client, boolean resetSequence) throws IOException
IOExceptionCopyright © 2008–2016 CDI TCK. All rights reserved.