@SpecVersion(spec="cdi",
version="20091101")
public class SessionContextTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
SessionContextTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testSessionContextDestroyedWhenHttpSessionInvalidated()
Test that the session context is destroyed at the very end of any request
in which invalidate() was called, after all filters and
ServletRequestListeners have been called.
|
void |
testSessionContextDestroyedWhenHttpSessionTimesOut()
The session context is destroyed when the HTTPSession times out, after
all HttpSessionListeners have been called.
|
void |
testSessionContextSharedBetweenServletRequestsInSameHttpSession() |
void |
testSessionScopeActiveDuringDoFilterMethod() |
void |
testSessionScopeActiveDuringServiceMethod() |
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="session_context",id="aa"),@SpecAssertion(section="session_context",id="ae")})
public void testSessionScopeActiveDuringServiceMethod()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="session_context",id="ab"),@SpecAssertion(section="session_context",id="ae")})
public void testSessionScopeActiveDuringDoFilterMethod()
throws Exception
Exception@SpecAssertion(section="session_context",
id="b")
public void testSessionContextSharedBetweenServletRequestsInSameHttpSession()
throws Exception
Exception@SpecAssertion(section="session_context",
id="ca")
public void testSessionContextDestroyedWhenHttpSessionInvalidated()
throws Exception
Exception@SpecAssertion(section="session_context",
id="cb")
public void testSessionContextDestroyedWhenHttpSessionTimesOut()
throws Exception
ExceptionCopyright © 2008-2013 Seam Framework. All Rights Reserved.