org.jboss.jsr299.tck.interceptors.tests.lifecycleCallback.exceptions
Class LifecycleCallbackInterceptorExceptionTest

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

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


Constructor Summary
LifecycleCallbackInterceptorExceptionTest()
           
 
Method Summary
 void testLifecycleCallbackInterceptorCanCatchException()
           
 void testPostConstructCanThrowRuntimeException()
           
 
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

LifecycleCallbackInterceptorExceptionTest

public LifecycleCallbackInterceptorExceptionTest()
Method Detail

testPostConstructCanThrowRuntimeException

@SpecAssertion(section="5.2",
               id="a")
public void testPostConstructCanThrowRuntimeException()

testLifecycleCallbackInterceptorCanCatchException

@SpecAssertions(value={@SpecAssertion(section="5.2",id="c"),@SpecAssertion(section="5.2",id="d")})
public void testLifecycleCallbackInterceptorCanCatchException()


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