org.jboss.cdi.tck.tests.definition.qualifier.enterprise
Class EnterpriseQualifierDefinitionTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.definition.qualifier.enterprise.EnterpriseQualifierDefinitionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

TODO This test specifically tests session beans even though the assertions are true for all managed beans. So likely there should be a parallel set of tests for session and other managed beans.


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
EnterpriseQualifierDefinitionTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testQualifierDeclaredInheritedIsIndirectlyInherited()
           
 void testQualifierDeclaredInheritedIsInherited()
           
 void testQualifierNotDeclaredInheritedIsNotIndirectlyInherited()
           
 void testQualifierNotDeclaredInheritedIsNotInherited()
           
 
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
 

Constructor Detail

EnterpriseQualifierDefinitionTest

public EnterpriseQualifierDefinitionTest()
Method Detail

createTestArchive

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

testQualifierDeclaredInheritedIsInherited

@SpecAssertion(section="4.1",
               id="al")
public void testQualifierDeclaredInheritedIsInherited()
                                               throws Exception
Throws:
Exception

testQualifierNotDeclaredInheritedIsNotInherited

@SpecAssertion(section="4.1",
               id="ala")
public void testQualifierNotDeclaredInheritedIsNotInherited()
                                                     throws Exception
Throws:
Exception

testQualifierDeclaredInheritedIsIndirectlyInherited

@SpecAssertion(section="4.1",
               id="ap")
public void testQualifierDeclaredInheritedIsIndirectlyInherited()

testQualifierNotDeclaredInheritedIsNotIndirectlyInherited

@SpecAssertion(section="4.1",
               id="apa")
public void testQualifierNotDeclaredInheritedIsNotIndirectlyInherited()


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