org.jboss.cdi.tck.tests.interceptors.definition
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="20091101")
public class InterceptorDefinitionTest- extends AbstractTest
Tests related to the definition of interceptors, but not necessarily their execution.
- Author:
- David Allen, Marius Bogoevici, Martin Kouba
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
annotationSetMatches, annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches |
| Methods inherited from class org.jboss.arquillian.testng.Arquillian |
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorDefinitionTest
public InterceptorDefinitionTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testInterceptorsImplementInterceptorInterface
@SpecAssertions(value=@SpecAssertion(section="11.1.2",id="a"))
public void testInterceptorsImplementInterceptorInterface()
testInterceptorBindingTypes
@SpecAssertions(value=@SpecAssertion(section="11.1.2",id="b"))
public void testInterceptorBindingTypes()
testInterceptionType
@SpecAssertions(value={@SpecAssertion(section="11.1.2",id="c"),@SpecAssertion(section="11.1.2",id="e")})
public void testInterceptionType()
testInstanceOfInterceptorForEveryEnabledInterceptor
@SpecAssertion(section="11.1.2",
id="f")
public void testInstanceOfInterceptorForEveryEnabledInterceptor()
testResolveInterceptorsReturnsOrderedList
@SpecAssertions(value=@SpecAssertion(section="11.3.13",id="a"))
public void testResolveInterceptorsReturnsOrderedList()
testSameBindingTypesToResolveInterceptorsFails
@SpecAssertions(value=@SpecAssertion(section="11.3.13",id="b"))
public void testSameBindingTypesToResolveInterceptorsFails()
testNoBindingTypesToResolveInterceptorsFails
@SpecAssertions(value=@SpecAssertion(section="11.3.13",id="c"))
public void testNoBindingTypesToResolveInterceptorsFails()
testNonBindingTypeToResolveInterceptorsFails
@SpecAssertions(value=@SpecAssertion(section="11.3.13",id="d"))
public void testNonBindingTypeToResolveInterceptorsFails()
testInterceptorBindingAnnotation
@SpecAssertions(value={@SpecAssertion(section="9.1",id="a"),@SpecAssertion(section="9.1",id="b"),@SpecAssertion(section="9.1",id="c"),@SpecAssertion(section="9.3",id="a")})
public void testInterceptorBindingAnnotation()
testStereotypeInterceptorBindings
@SpecAssertions(value={@SpecAssertion(section="9.1.2",id="a"),@SpecAssertion(section="9.1.2",id="b"),@SpecAssertion(section="2.7.1.2",id="b")})
public void testStereotypeInterceptorBindings()
testInterceptorBindingsCanDeclareOtherInterceptorBindings
@SpecAssertions(value={@SpecAssertion(section="9.1.1",id="a"),@SpecAssertion(section="9.1.1",id="b")})
public void testInterceptorBindingsCanDeclareOtherInterceptorBindings()
Copyright © 2008-2012 Seam Framework. All Rights Reserved.