Class LifecycleCallbackInterceptorExceptionTest

  • All Implemented Interfaces:
    org.testng.IHookable, org.testng.ITestNGListener

    @SpecVersion(spec="interceptors",
                 version="1.2")
    public class LifecycleCallbackInterceptorExceptionTest
    extends AbstractTest
    • Constructor Detail

      • LifecycleCallbackInterceptorExceptionTest

        public LifecycleCallbackInterceptorExceptionTest()
    • 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()