org.jboss.jsr299.tck.tests.definition.scope
Class ScopeDefinitionTest

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

@Artifact
@SpecVersion(spec="cdi",
             version="20091101")
public class ScopeDefinitionTest
extends AbstractJSR299Test


Constructor Summary
ScopeDefinitionTest()
           
 
Method Summary
 void testDefaultScope()
           
 void testMultipleCompatibleScopeStereotypes()
           
 void testMultipleIncompatibleScopeStereotypesWithScopeSpecified()
           
 void testScopeDeclaredInJava()
           
 void testScopeSpecifiedAndStereotyped()
           
 void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited()
           
 void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited()
           
 void testScopeTypeDeclaredInheritedIsIndirectlyInherited()
           
 void testScopeTypeDeclaredInheritedIsInherited()
           
 void testScopeTypeDeclaresScopeTypeAnnotation()
           
 void testScopeTypeHasCorrectTarget()
           
 void testScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited()
           
 void testScopeTypeNotDeclaredInheritedIsNotInherited()
           
 void testScopeTypesAreExtensible()
           
 void testWebBeanScopeTypeOverridesStereotype()
           
 
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

ScopeDefinitionTest

public ScopeDefinitionTest()
Method Detail

testScopeTypesAreExtensible

@SpecAssertion(section="2.4",
               id="c")
public void testScopeTypesAreExtensible()

testScopeTypeHasCorrectTarget

@SpecAssertion(section="2.4.2",
               id="aa")
public void testScopeTypeHasCorrectTarget()

testScopeTypeDeclaresScopeTypeAnnotation

@SpecAssertion(section="2.4.2",
               id="ba")
public void testScopeTypeDeclaresScopeTypeAnnotation()

testScopeDeclaredInJava

@SpecAssertion(section="2.4.3",
               id="a")
public void testScopeDeclaredInJava()

testDefaultScope

@SpecAssertion(section="2.4.4",
               id="aa")
public void testDefaultScope()

testScopeSpecifiedAndStereotyped

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

testMultipleIncompatibleScopeStereotypesWithScopeSpecified

@SpecAssertion(section="2.4.4",
               id="da")
public void testMultipleIncompatibleScopeStereotypesWithScopeSpecified()

testMultipleCompatibleScopeStereotypes

@SpecAssertion(section="2.4.4",
               id="c")
public void testMultipleCompatibleScopeStereotypes()

testWebBeanScopeTypeOverridesStereotype

@SpecAssertions(value={@SpecAssertion(section="2.7.2",id="db"),@SpecAssertion(section="4.1",id="ab")})
public void testWebBeanScopeTypeOverridesStereotype()

testScopeTypeDeclaredInheritedIsInherited

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

testScopeTypeNotDeclaredInheritedIsNotInherited

@SpecAssertion(section="4.1",
               id="baa")
public void testScopeTypeNotDeclaredInheritedIsNotInherited()

testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited

@SpecAssertion(section="4.1",
               id="ba")
public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited()

testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited

@SpecAssertion(section="4.1",
               id="ba")
public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited()

testScopeTypeDeclaredInheritedIsIndirectlyInherited

@SpecAssertion(section="4.1",
               id="bc")
public void testScopeTypeDeclaredInheritedIsIndirectlyInherited()

testScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited

@SpecAssertion(section="4.1",
               id="bca")
public void testScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited()


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