org.jboss.cdi.tck.tests.context.session
Class SessionContextTest

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.session.SessionContextTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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


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
SessionContextTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testSessionContextDestroyedWhenHttpSessionInvalidated()
           
 void testSessionContextDestroyedWhenHttpSessionTimesOut()
           
 void testSessionContextSharedBetweenServletRequestsInSameHttpSession()
           
 void testSessionScopeActiveDuringDoFilterMethod()
           
 void testSessionScopeActiveDuringServiceMethod()
           
 
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

SessionContextTest

public SessionContextTest()
Method Detail

createTestArchive

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

testSessionScopeActiveDuringServiceMethod

@SpecAssertion(section="6.7.2",
               id="aa")
public void testSessionScopeActiveDuringServiceMethod()
                                               throws Exception
Throws:
Exception

testSessionScopeActiveDuringDoFilterMethod

@SpecAssertion(section="6.7.2",
               id="ab")
public void testSessionScopeActiveDuringDoFilterMethod()
                                                throws Exception
Throws:
Exception

testSessionContextSharedBetweenServletRequestsInSameHttpSession

@SpecAssertion(section="6.7.2",
               id="b")
public void testSessionContextSharedBetweenServletRequestsInSameHttpSession()
                                                                     throws Exception
Throws:
Exception

testSessionContextDestroyedWhenHttpSessionInvalidated

@SpecAssertion(section="6.7.2",
               id="ca")
public void testSessionContextDestroyedWhenHttpSessionInvalidated()
                                                           throws Exception
Throws:
Exception

testSessionContextDestroyedWhenHttpSessionTimesOut

@SpecAssertion(section="6.7.2",
               id="cb")
public void testSessionContextDestroyedWhenHttpSessionTimesOut()
                                                        throws Exception
Throws:
Exception


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