org.jboss.cdi.tck.tests.context.application
Class ApplicationContextTest

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

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

Author:
David Allen, Jozef Hartinger, Martin Kouba

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
ApplicationContextTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testApplicationContextSharedBetweenJaxRsRequests()
          Related to CDITCK-96.
 void testApplicationContextSharedBetweenServletRequests()
           
 void testApplicationScopeActiveDuringDoFilterMethod()
           
 void testApplicationScopeActiveDuringHttpSessionListenerInvocation()
           
 void testApplicationScopeActiveDuringServiceMethod()
           
 void testApplicationScopeActiveDuringServletContextListenerInvocation()
           
 void testApplicationScopeActiveDuringServletRequestListenerInvocation()
           
 
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

ApplicationContextTest

public ApplicationContextTest()
Method Detail

createTestArchive

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

testApplicationScopeActiveDuringServiceMethod

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

testApplicationScopeActiveDuringDoFilterMethod

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

testApplicationScopeActiveDuringServletContextListenerInvocation

@SpecAssertion(section="6.7.3",
               id="ac")
public void testApplicationScopeActiveDuringServletContextListenerInvocation()
                                                                      throws Exception
Throws:
Exception

testApplicationScopeActiveDuringHttpSessionListenerInvocation

@SpecAssertion(section="6.7.3",
               id="ad")
public void testApplicationScopeActiveDuringHttpSessionListenerInvocation()
                                                                   throws Exception
Throws:
Exception

testApplicationScopeActiveDuringServletRequestListenerInvocation

@SpecAssertion(section="6.7.3",
               id="af")
public void testApplicationScopeActiveDuringServletRequestListenerInvocation()
                                                                      throws Exception
Throws:
Exception

testApplicationContextSharedBetweenServletRequests

@SpecAssertion(section="6.7.3",
               id="e")
public void testApplicationContextSharedBetweenServletRequests()
                                                        throws Exception
Throws:
Exception

testApplicationContextSharedBetweenJaxRsRequests

@SpecAssertion(section="6.7.3",
               id="e")
public void testApplicationContextSharedBetweenJaxRsRequests()
                                                      throws Exception
Related to CDITCK-96.

Throws:
Exception


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