Class InterceptorInvocationTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.interceptors.invocation.InterceptorInvocationTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class InterceptorInvocationTest extends AbstractTest- Author:
- Martin Kouba
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description InterceptorInvocationTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestDisposerMethodsAreIntercepted()voidtestInitializerMethodsNotIntercepted()voidtestLifecycleCallbacksAreIntercepted()voidtestManagedBeanIsIntercepted()voidtestObjectMethodsAreNotIntercepted()voidtestObserverMethodsAreIntercepted()voidtestProducerMethodsAreIntercepted()-
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()
-
testManagedBeanIsIntercepted
@SpecAssertion(section="biz_method",id="a") @SpecAssertion(section="bean_discovery_steps",id="g") @SpecAssertion(section="biz_method",id="aa") public void testManagedBeanIsIntercepted()
-
testInitializerMethodsNotIntercepted
@SpecAssertion(section="biz_method",id="ad") @SpecAssertion(section="initializer_methods",id="f") public void testInitializerMethodsNotIntercepted()
-
testProducerMethodsAreIntercepted
@SpecAssertion(section="biz_method", id="ia") public void testProducerMethodsAreIntercepted()
-
testDisposerMethodsAreIntercepted
@SpecAssertion(section="biz_method", id="ic") public void testDisposerMethodsAreIntercepted()
-
testObserverMethodsAreIntercepted
@SpecAssertion(section="biz_method", id="ie") public void testObserverMethodsAreIntercepted()
-
testLifecycleCallbacksAreIntercepted
@SpecAssertion(section="biz_method", id="j") public void testLifecycleCallbacksAreIntercepted()
-
testObjectMethodsAreNotIntercepted
@SpecAssertion(section="biz_method",id="m") @SpecAssertion(section="biz_method",id="g") public void testObjectMethodsAreNotIntercepted()
-
-