Class InterceptorBindingTypeWithMemberTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.interceptors.tests.bindings.members.InterceptorBindingTypeWithMemberTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="interceptos", version="1.2") public class InterceptorBindingTypeWithMemberTest extends AbstractTestTests for interceptor bindings types with members.- Author:
- Jozef Hartinger, Martin Kouba
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classInterceptorBindingTypeWithMemberTest.PlantInterceptorBindingLiteral
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description InterceptorBindingTypeWithMemberTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestInterceptorBindingTypeMemberValuesComparedWithEquals()Note that we cannot directly test that member values are compared using equals() as only primitive types, String, Class, enum and annotation are permitted to be annotation attributes.voidtestInterceptorBindingTypeWithMember()voidtestInterceptorBindingTypeWithNonBindingMember()-
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()
-
testInterceptorBindingTypeWithMember
@SpecAssertion(section="int_binding_types_with_members", id="a") public void testInterceptorBindingTypeWithMember()
-
testInterceptorBindingTypeWithNonBindingMember
@SpecAssertion(section="int_binding_types_with_members", id="c") public void testInterceptorBindingTypeWithNonBindingMember()
-
testInterceptorBindingTypeMemberValuesComparedWithEquals
@SpecAssertion(section="int_binding_types_with_members", id="b") public void testInterceptorBindingTypeMemberValuesComparedWithEquals()Note that we cannot directly test that member values are compared using equals() as only primitive types, String, Class, enum and annotation are permitted to be annotation attributes. We test that two different String objects used as member values are considered equal when resolving interceptor (interceptor is resolved and applied).
-
-