org.jboss.cdi.tck.tests.interceptors.definition.inheritance
Class InterceptorBindingInheritanceTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.interceptors.definition.inheritance.InterceptorBindingInheritanceTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="cdi",
             version="20091101")
public class InterceptorBindingInheritanceTest
extends AbstractTest

Test interceptor binding inheritance.

Author:
Martin Kouba

Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
InterceptorBindingInheritanceTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testInterceptorBindingDirectlyInheritedFromManagedBean(Larch larch)
           
 void testInterceptorBindingDirectlyInheritedFromSessionBean(ForgetMeNot forgetMeNot)
           
 void testInterceptorBindingIndirectlyInheritedFromManagedBean(Larch europeanLarch)
           
 void testInterceptorBindingIndirectlyInheritedFromSessionBean(ForgetMeNot woodForgetMeNot)
           
 void testMethodInterceptorBindingDirectlyInheritedFromManagedBean(Herb herb)
           
 void testMethodInterceptorBindingDirectlyInheritedFromSessionBean(Grass grass)
           
 void testMethodInterceptorBindingDirectlyNotInherited(Shrub shrub)
           
 void testMethodInterceptorBindingIndirectlyInheritedFromManagedBean(Herb thyme)
           
 void testMethodInterceptorBindingIndirectlyInheritedFromSessionBean(Grass waterChestnut)
           
 void testMethodInterceptorBindingIndirectlyNotInherited(Shrub rosehip)
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, passivate, rawTypeSetMatches, 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
 

Constructor Detail

InterceptorBindingInheritanceTest

public InterceptorBindingInheritanceTest()
Method Detail

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

testInterceptorBindingDirectlyInheritedFromManagedBean

@SpecAssertions(value={@SpecAssertion(section="4.1",id="ad"),@SpecAssertion(section="4.1",id="ada")})
public void testInterceptorBindingDirectlyInheritedFromManagedBean(Larch larch)
                                                            throws Exception
Throws:
Exception

testInterceptorBindingIndirectlyInheritedFromManagedBean

@SpecAssertions(value={@SpecAssertion(section="4.1",id="aj"),@SpecAssertion(section="4.1",id="aja")})
public void testInterceptorBindingIndirectlyInheritedFromManagedBean(Larch europeanLarch)
                                                              throws Exception
Throws:
Exception

testInterceptorBindingDirectlyInheritedFromSessionBean

@SpecAssertions(value={@SpecAssertion(section="4.1",id="an"),@SpecAssertion(section="4.1",id="ana")})
public void testInterceptorBindingDirectlyInheritedFromSessionBean(ForgetMeNot forgetMeNot)
                                                            throws Exception
Throws:
Exception

testInterceptorBindingIndirectlyInheritedFromSessionBean

@SpecAssertions(value={@SpecAssertion(section="4.1",id="ar"),@SpecAssertion(section="4.1",id="ara")})
public void testInterceptorBindingIndirectlyInheritedFromSessionBean(ForgetMeNot woodForgetMeNot)
                                                              throws Exception
Throws:
Exception

testMethodInterceptorBindingDirectlyInheritedFromManagedBean

@SpecAssertion(section="4.2",
               id="ka")
public void testMethodInterceptorBindingDirectlyInheritedFromManagedBean(Herb herb)

testMethodInterceptorBindingIndirectlyInheritedFromManagedBean

@SpecAssertion(section="4.2",
               id="kc")
public void testMethodInterceptorBindingIndirectlyInheritedFromManagedBean(Herb thyme)

testMethodInterceptorBindingDirectlyInheritedFromSessionBean

@SpecAssertion(section="4.2",
               id="kb")
public void testMethodInterceptorBindingDirectlyInheritedFromSessionBean(Grass grass)

testMethodInterceptorBindingIndirectlyInheritedFromSessionBean

@SpecAssertion(section="4.2",
               id="kd")
public void testMethodInterceptorBindingIndirectlyInheritedFromSessionBean(Grass waterChestnut)

testMethodInterceptorBindingDirectlyNotInherited

@SpecAssertion(section="4.2",
               id="ka")
public void testMethodInterceptorBindingDirectlyNotInherited(Shrub shrub)

testMethodInterceptorBindingIndirectlyNotInherited

@SpecAssertion(section="4.2",
               id="kc")
public void testMethodInterceptorBindingIndirectlyNotInherited(Shrub rosehip)


Copyright © 2008-2012 Seam Framework. All Rights Reserved.