org.jboss.cdi.tck.tests.definition.stereotype
Class StereotypeDefinitionTest

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.stereotype.StereotypeDefinitionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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


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
StereotypeDefinitionTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testExplicitScopeOverridesMergedScopesFromMultipleStereotype()
           
 void testMultipleStereotypesAllowed()
           
 void testOneStereotypeAllowed()
           
 void testStereotypeDeclaredInheritedIsIndirectlyInherited()
           
 void testStereotypeDeclaredInheritedIsInherited()
           
 void testStereotypeNotDeclaredInheritedIsNotIndirectlyInherited()
           
 void testStereotypeNotDeclaredInheritedIsNotInherited()
           
 void testStereotypeScopeIsOverriddenByIndirectlyInheritedScope()
           
 void testStereotypeScopeIsOverriddenByInheritedScope()
           
 void testStereotypeWithoutScopeType()
           
 void testStereotypeWithScopeType()
           
 
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

StereotypeDefinitionTest

public StereotypeDefinitionTest()
Method Detail

createTestArchive

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

testStereotypeWithScopeType

@SpecAssertions(value={@SpecAssertion(section="2.7.1.1",id="aa"),@SpecAssertion(section="2.4.3",id="c")})
public void testStereotypeWithScopeType()

testStereotypeWithoutScopeType

@SpecAssertions(value={@SpecAssertion(section="2.7.1.1",id="aa"),@SpecAssertion(section="2.4.4",id="b")})
public void testStereotypeWithoutScopeType()

testOneStereotypeAllowed

@SpecAssertions(value={@SpecAssertion(section="2.7",id="c"),@SpecAssertion(section="2.7.1",id="b"),@SpecAssertion(section="2.7.1.2",id="a")})
public void testOneStereotypeAllowed()

testMultipleStereotypesAllowed

@SpecAssertions(value={@SpecAssertion(section="2.7.2",id="e"),@SpecAssertion(section="2.7",id="d")})
public void testMultipleStereotypesAllowed()

testExplicitScopeOverridesMergedScopesFromMultipleStereotype

@SpecAssertions(value={@SpecAssertion(section="2.7.2",id="e"),@SpecAssertion(section="2.4.4",id="e")})
public void testExplicitScopeOverridesMergedScopesFromMultipleStereotype()

testStereotypeDeclaredInheritedIsInherited

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

testStereotypeNotDeclaredInheritedIsNotInherited

@SpecAssertion(section="4.1",
               id="aba")
public void testStereotypeNotDeclaredInheritedIsNotInherited()

testStereotypeDeclaredInheritedIsIndirectlyInherited

@SpecAssertion(section="4.1",
               id="ah")
public void testStereotypeDeclaredInheritedIsIndirectlyInherited()

testStereotypeNotDeclaredInheritedIsNotIndirectlyInherited

@SpecAssertion(section="4.1",
               id="aha")
public void testStereotypeNotDeclaredInheritedIsNotIndirectlyInherited()

testStereotypeScopeIsOverriddenByInheritedScope

@SpecAssertion(section="4.1",
               id="hhh")
public void testStereotypeScopeIsOverriddenByInheritedScope()

testStereotypeScopeIsOverriddenByIndirectlyInheritedScope

@SpecAssertion(section="4.1",
               id="hhi")
public void testStereotypeScopeIsOverriddenByIndirectlyInheritedScope()


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