Class LifecycleCallbackInterceptorTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.interceptors.tests.contract.lifecycleCallback.LifecycleCallbackInterceptorTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="interceptors", version="1.2") public class LifecycleCallbackInterceptorTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description LifecycleCallbackInterceptorTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestAroundInvokeAndLifeCycleCallbackInterceptorsCanBeDefinedOnTheSameClass()voidtestLifeCycleCallbackInterceptorNotInvokedForMethodLevelInterceptor()voidtestPackagePrivateLifecycleInterceptorMethod()voidtestPostConstructInterceptor()voidtestPreDestroyInterceptor()voidtestPrivateLifecycleInterceptorMethod()voidtestProtectedLifecycleInterceptorMethod()voidtestPublicLifecycleInterceptorMethod()voidtestSingleMethodInterposingMultipleLifecycleCallbackEvents()-
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()
-
testPostConstructInterceptor
@SpecAssertion(section="def_of_interceptor_classes_and_interceptor_methods",id="ab") @SpecAssertion(section="int_methods_for_lifecycle_event_callbacks",id="b") public void testPostConstructInterceptor()
-
testPreDestroyInterceptor
@SpecAssertion(section="def_of_interceptor_classes_and_interceptor_methods",id="ab") @SpecAssertion(section="int_methods_for_lifecycle_event_callbacks",id="c") public void testPreDestroyInterceptor()
-
testSingleMethodInterposingMultipleLifecycleCallbackEvents
@SpecAssertion(section="int_methods_for_lifecycle_event_callbacks", id="f") public void testSingleMethodInterposingMultipleLifecycleCallbackEvents()
-
testAroundInvokeAndLifeCycleCallbackInterceptorsCanBeDefinedOnTheSameClass
@SpecAssertion(section="def_of_interceptor_classes_and_interceptor_methods",id="ab") @SpecAssertion(section="def_of_interceptor_classes_and_interceptor_methods",id="d") public void testAroundInvokeAndLifeCycleCallbackInterceptorsCanBeDefinedOnTheSameClass()
-
testPublicLifecycleInterceptorMethod
@SpecAssertion(section="int_methods_for_lifecycle_event_callbacks", id="ja") public void testPublicLifecycleInterceptorMethod()
-
testProtectedLifecycleInterceptorMethod
@SpecAssertion(section="int_methods_for_lifecycle_event_callbacks", id="jc") public void testProtectedLifecycleInterceptorMethod()
-
testPrivateLifecycleInterceptorMethod
@SpecAssertion(section="int_methods_for_lifecycle_event_callbacks", id="jb") public void testPrivateLifecycleInterceptorMethod()
-
testPackagePrivateLifecycleInterceptorMethod
@SpecAssertion(section="int_methods_for_lifecycle_event_callbacks", id="jd") public void testPackagePrivateLifecycleInterceptorMethod()
-
testLifeCycleCallbackInterceptorNotInvokedForMethodLevelInterceptor
@SpecAssertion(section="constructor_and_method_level_int", id="b") public void testLifeCycleCallbackInterceptorNotInvokedForMethodLevelInterceptor()
-
-