Class ScopeDefinitionTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.definition.scope.ScopeDefinitionTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class ScopeDefinitionTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description ScopeDefinitionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestDefaultScope()voidtestMultipleCompatibleScopeStereotypes()voidtestMultipleIncompatibleScopeStereotypesWithScopeSpecified()voidtestScopeDeclaredInJava()voidtestScopeSpecifiedAndStereotyped()voidtestScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited()voidtestScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited()voidtestScopeTypeDeclaredInheritedIsIndirectlyInherited()voidtestScopeTypeDeclaredInheritedIsInherited()voidtestScopeTypeDeclaresScopeTypeAnnotation()voidtestScopeTypeHasCorrectTarget()voidtestScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited()voidtestScopeTypeNotDeclaredInheritedIsNotInherited()voidtestScopeTypesAreExtensible()voidtestWebBeanScopeTypeOverridesStereotype()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-
-
-
Method Detail
-
createTestArchive
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
-
testScopeTypesAreExtensible
@SpecAssertion(section="scopes", id="c") public void testScopeTypesAreExtensible()
-
testScopeTypeHasCorrectTarget
@SpecAssertion(section="defining_new_scope_type", id="aa") public void testScopeTypeHasCorrectTarget()
-
testScopeTypeDeclaresScopeTypeAnnotation
@SpecAssertion(section="defining_new_scope_type", id="ba") public void testScopeTypeDeclaresScopeTypeAnnotation()
-
testScopeDeclaredInJava
@SpecAssertion(section="declaring_bean_scope", id="a") public void testScopeDeclaredInJava()
-
testDefaultScope
@SpecAssertion(section="default_scope", id="aa") public void testDefaultScope()
-
testScopeSpecifiedAndStereotyped
@SpecAssertion(section="default_scope",id="e") @SpecAssertion(section="declaring_stereotypes",id="a") public void testScopeSpecifiedAndStereotyped()
-
testMultipleIncompatibleScopeStereotypesWithScopeSpecified
@SpecAssertion(section="default_scope", id="da") public void testMultipleIncompatibleScopeStereotypesWithScopeSpecified()
-
testMultipleCompatibleScopeStereotypes
@SpecAssertion(section="default_scope", id="c") public void testMultipleCompatibleScopeStereotypes()
-
testWebBeanScopeTypeOverridesStereotype
@SpecAssertion(section="declaring_stereotypes",id="db") @SpecAssertion(section="type_level_inheritance",id="ab") public void testWebBeanScopeTypeOverridesStereotype()
-
testScopeTypeDeclaredInheritedIsInherited
@SpecAssertion(section="type_level_inheritance", id="ba") public void testScopeTypeDeclaredInheritedIsInherited() throws Exception- Throws:
Exception
-
testScopeTypeNotDeclaredInheritedIsNotInherited
@SpecAssertion(section="type_level_inheritance", id="baa") public void testScopeTypeNotDeclaredInheritedIsNotInherited()
-
testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited
@SpecAssertion(section="type_level_inheritance", id="ba") public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited()
-
testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited
@SpecAssertion(section="type_level_inheritance", id="ba") public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited()
-
testScopeTypeDeclaredInheritedIsIndirectlyInherited
@SpecAssertion(section="type_level_inheritance", id="bc") public void testScopeTypeDeclaredInheritedIsIndirectlyInherited()
-
testScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited
@SpecAssertion(section="type_level_inheritance", id="bca") public void testScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited()
-
-