org.jboss.cdi.tck.tests.context.session
Class SessionContextTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.context.session.SessionContextTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="cdi",
version="20091101")
public class SessionContextTest- 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 |
SessionContextTest
public SessionContextTest()
createTestArchive
@Deployment(testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testSessionScopeActiveDuringServiceMethod
@SpecAssertions(value={@SpecAssertion(section="session_context",id="aa"),@SpecAssertion(section="session_context",id="ae")})
public void testSessionScopeActiveDuringServiceMethod()
throws Exception
- Throws:
Exception
testSessionScopeActiveDuringDoFilterMethod
@SpecAssertions(value={@SpecAssertion(section="session_context",id="ab"),@SpecAssertion(section="session_context",id="ae")})
public void testSessionScopeActiveDuringDoFilterMethod()
throws Exception
- Throws:
Exception
testSessionContextSharedBetweenServletRequestsInSameHttpSession
@SpecAssertion(section="session_context",
id="b")
public void testSessionContextSharedBetweenServletRequestsInSameHttpSession()
throws Exception
- Throws:
Exception
testSessionContextDestroyedWhenHttpSessionInvalidated
@SpecAssertion(section="session_context",
id="ca")
public void testSessionContextDestroyedWhenHttpSessionInvalidated()
throws Exception
- 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.
- Throws:
Exception
testSessionContextDestroyedWhenHttpSessionTimesOut
@SpecAssertion(section="session_context",
id="cb")
public void testSessionContextDestroyedWhenHttpSessionTimesOut()
throws Exception
- The session context is destroyed when the HTTPSession times out, after
all HttpSessionListeners have been called.
- Throws:
Exception
Copyright © 2008-2013 Seam Framework. All Rights Reserved.