org.jboss.jsr299.tck.tests.interceptors.definition
Class InterceptorDefinitionTest
java.lang.Object
org.jboss.testharness.AbstractTest
org.jboss.jsr299.tck.AbstractJSR299Test
org.jboss.jsr299.tck.tests.interceptors.definition.InterceptorDefinitionTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@Artifact
@SpecVersion(spec="cdi",
version="20091101")
@BeansXml(value="beans.xml")
public class InterceptorDefinitionTest
- extends AbstractJSR299Test
Tests related to the definition of interceptors, but not necessarily
their execution.
- Author:
- David Allen, Marius Bogoevici
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test |
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches |
Methods inherited from class org.jboss.testharness.AbstractTest |
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorDefinitionTest
public InterceptorDefinitionTest()
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.12",id="a"))
public void testResolveInterceptorsReturnsOrderedList()
testSameBindingTypesToResolveInterceptorsFails
@SpecAssertions(value=@SpecAssertion(section="11.3.12",id="b"))
public void testSameBindingTypesToResolveInterceptorsFails()
testNoBindingTypesToResolveInterceptorsFails
@SpecAssertions(value=@SpecAssertion(section="11.3.12",id="c"))
public void testNoBindingTypesToResolveInterceptorsFails()
testNonBindingTypeToResolveInterceptorsFails
@SpecAssertions(value=@SpecAssertion(section="11.3.12",id="d"))
public void testNonBindingTypeToResolveInterceptorsFails()
testManagedBeanIsIntercepted
@SpecAssertions(value={@SpecAssertion(section="7.2",id="a"),@SpecAssertion(section="9.2",id="a"),@SpecAssertion(section="12.3",id="kb")})
public void testManagedBeanIsIntercepted()
testInitializerMethodsNotIntercepted
@SpecAssertion(section="7.2",
id="a1")
public void testInitializerMethodsNotIntercepted()
testProducerMethodsAreIntercepted
@SpecAssertion(section="7.2",
id="ia")
public void testProducerMethodsAreIntercepted()
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.