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

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

@SpecVersion(spec="cdi",
             version="20091101")
public class ScopeDefinitionTest
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
ScopeDefinitionTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 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.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

ScopeDefinitionTest

public ScopeDefinitionTest()
Method Detail

createTestArchive

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

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.