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

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.definition.stereotype.StereotypeDefinitionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@BeansXml(value="beans.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class StereotypeDefinitionTest
extends AbstractJSR299Test


Constructor Summary
StereotypeDefinitionTest()
           
 
Method Summary
 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.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
 

Constructor Detail

StereotypeDefinitionTest

public StereotypeDefinitionTest()
Method Detail

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")})
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.