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

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.interceptors.tests.invocationContext.InvocationContextTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

Tests for the InvocationContext implementation

Author:
Jozef Hartinger

Constructor Summary
InvocationContextTest()
           
 
Method Summary
 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.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
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

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.