Class InterceptorDefinitionTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.interceptors.definition.InterceptorDefinitionTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class InterceptorDefinitionTest extends AbstractTestTests related to the definition of interceptors, but not necessarily their execution.- Author:
- David Allen, Marius Bogoevici, Martin Kouba
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description InterceptorDefinitionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestInstanceOfInterceptorForEveryEnabledInterceptor()voidtestInterceptionType()voidtestInterceptorBindingAnnotation()voidtestInterceptorBindingsCanDeclareOtherInterceptorBindings()voidtestInterceptorBindingTypes()voidtestInterceptorsImplementInterceptorInterface()voidtestNoBindingTypesToResolveInterceptorsFails()voidtestNonBindingTypeToResolveInterceptorsFails()voidtestResolveInterceptorsReturnsOrderedList()voidtestSameBindingTypesToResolveInterceptorsFails()voidtestStereotypeInterceptorBindings()-
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()
-
testInterceptorsImplementInterceptorInterface
@SpecAssertions(@SpecAssertion(section="interceptor",id="a")) public void testInterceptorsImplementInterceptorInterface()
-
testInterceptorBindingTypes
@SpecAssertions(@SpecAssertion(section="interceptor",id="b")) public void testInterceptorBindingTypes()
-
testInterceptionType
@SpecAssertion(section="interceptor",id="c") @SpecAssertion(section="interceptor",id="e") @SpecAssertion(section="interceptor_ee",id="a") public void testInterceptionType()
-
testInstanceOfInterceptorForEveryEnabledInterceptor
@SpecAssertion(section="interceptor", id="f") public void testInstanceOfInterceptorForEveryEnabledInterceptor()
-
testResolveInterceptorsReturnsOrderedList
@SpecAssertions(@SpecAssertion(section="bm_interceptor_resolution",id="a")) public void testResolveInterceptorsReturnsOrderedList()
-
testSameBindingTypesToResolveInterceptorsFails
@SpecAssertions(@SpecAssertion(section="bm_interceptor_resolution",id="b")) public void testSameBindingTypesToResolveInterceptorsFails()
-
testNoBindingTypesToResolveInterceptorsFails
@SpecAssertions(@SpecAssertion(section="bm_interceptor_resolution",id="c")) public void testNoBindingTypesToResolveInterceptorsFails()
-
testNonBindingTypeToResolveInterceptorsFails
@SpecAssertions(@SpecAssertion(section="bm_interceptor_resolution",id="d")) public void testNonBindingTypeToResolveInterceptorsFails()
-
testInterceptorBindingAnnotation
@SpecAssertions(@SpecAssertion(section="binding_interceptor_to_bean",id="a")) public void testInterceptorBindingAnnotation()
-
testStereotypeInterceptorBindings
@SpecAssertion(section="stereotype_interceptor_bindings",id="a") @SpecAssertion(section="stereotype_interceptor_bindings",id="b") @SpecAssertion(section="specify_stereotype_interceptor_bindings",id="b") public void testStereotypeInterceptorBindings()
-
testInterceptorBindingsCanDeclareOtherInterceptorBindings
@SpecAssertions(@SpecAssertion(section="binding_interceptor_to_bean",id="a")) public void testInterceptorBindingsCanDeclareOtherInterceptorBindings()
-
-