Class LifecycleCallbackInterceptorExceptionTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.interceptors.tests.contract.lifecycleCallback.exceptions.LifecycleCallbackInterceptorExceptionTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="interceptors", version="1.2") public class LifecycleCallbackInterceptorExceptionTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description LifecycleCallbackInterceptorExceptionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestLifecycleCallbackInterceptorCanCatchException()voidtestPostConstructCanThrowRuntimeException()voidtestPreDestroyNotInvokedWhenInstanceDiscarded()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-
-
-
Method Detail
-
createTestArchive
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
-
testPostConstructCanThrowRuntimeException
@SpecAssertion(section="lic_exceptions", id="a") public void testPostConstructCanThrowRuntimeException()
-
testLifecycleCallbackInterceptorCanCatchException
@SpecAssertion(section="lic_exceptions", id="b") public void testLifecycleCallbackInterceptorCanCatchException()
-
testPreDestroyNotInvokedWhenInstanceDiscarded
@SpecAssertion(section="lic_exceptions", id="c") public void testPreDestroyNotInvokedWhenInstanceDiscarded()
-
-