org.jboss.cdi.tck.interceptors.tests.invocationContext
Class InvocationContextTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.interceptors.tests.invocationContext.InvocationContextTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="int",
             version="3.1.PFD")
public class InvocationContextTest
extends AbstractTest

Tests for the InvocationContext implementation

Author:
Jozef Hartinger

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
InvocationContextTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testBusinessMethodNotCalledWithoutProceedInvocation()
           
 void testContextData()
           
 void testGetMethodForAroundInvokeInterceptorMethod()
           
 void testGetMethodForLifecycleCallbackInterceptorMethod()
           
 void testGetTargetMethod()
           
 void testGetTimerMethod()
           
 void testIllegalNumberOfParameters()
           
 void testIllegalTypeOfParameters()
           
 void testMethodParameters()
           
 void testProceedReturnsNullForVoidMethod()
           
 
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

InvocationContextTest

public InvocationContextTest()
Method Detail

createTestArchive

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

testGetTargetMethod

@SpecAssertion(section="6",
               id="d")
public void testGetTargetMethod()

testGetTimerMethod

@SpecAssertion(section="6",
               id="f")
public void testGetTimerMethod()

testGetMethodForAroundInvokeInterceptorMethod

@SpecAssertion(section="6",
               id="g")
public void testGetMethodForAroundInvokeInterceptorMethod()

testGetMethodForLifecycleCallbackInterceptorMethod

@SpecAssertion(section="6",
               id="h")
public void testGetMethodForLifecycleCallbackInterceptorMethod()

testMethodParameters

@SpecAssertions(value={@SpecAssertion(section="6",id="i"),@SpecAssertion(section="6",id="j"),@SpecAssertion(section="6",id="k")})
public void testMethodParameters()

testIllegalNumberOfParameters

@SpecAssertion(section="6",
               id="la")
public void testIllegalNumberOfParameters()

testIllegalTypeOfParameters

@SpecAssertion(section="6",
               id="lb")
public void testIllegalTypeOfParameters()

testProceedReturnsNullForVoidMethod

@SpecAssertion(section="6",
               id="o")
public void testProceedReturnsNullForVoidMethod()

testContextData

@SpecAssertions(value={@SpecAssertion(section="1",id="d"),@SpecAssertion(section="6",id="a")})
public void testContextData()

testBusinessMethodNotCalledWithoutProceedInvocation

@SpecAssertion(section="6",
               id="n")
public void testBusinessMethodNotCalledWithoutProceedInvocation()


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