@SpecVersion(spec="cdi",
version="1.1 Final Release")
public class ScopeDefinitionTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
ScopeDefinitionTest() |
| Modifier and Type | Method and Description |
|---|---|
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() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertion(section="scopes",
id="c")
public void testScopeTypesAreExtensible()
@SpecAssertion(section="defining_new_scope_type",
id="aa")
public void testScopeTypeHasCorrectTarget()
@SpecAssertion(section="defining_new_scope_type",
id="ba")
public void testScopeTypeDeclaresScopeTypeAnnotation()
@SpecAssertion(section="declaring_bean_scope",
id="a")
public void testScopeDeclaredInJava()
@SpecAssertion(section="default_scope",
id="aa")
public void testDefaultScope()
@SpecAssertion(section="default_scope",id="e") @SpecAssertion(section="declaring_stereotypes",id="a") public void testScopeSpecifiedAndStereotyped()
@SpecAssertion(section="default_scope",
id="da")
public void testMultipleIncompatibleScopeStereotypesWithScopeSpecified()
@SpecAssertion(section="default_scope",
id="c")
public void testMultipleCompatibleScopeStereotypes()
@SpecAssertion(section="declaring_stereotypes",id="db") @SpecAssertion(section="type_level_inheritance",id="ab") public void testWebBeanScopeTypeOverridesStereotype()
@SpecAssertion(section="type_level_inheritance",
id="ba")
public void testScopeTypeDeclaredInheritedIsInherited()
throws Exception
Exception@SpecAssertion(section="type_level_inheritance",
id="baa")
public void testScopeTypeNotDeclaredInheritedIsNotInherited()
@SpecAssertion(section="type_level_inheritance",
id="ba")
public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeMarkedInherited()
@SpecAssertion(section="type_level_inheritance",
id="ba")
public void testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited()
@SpecAssertion(section="type_level_inheritance",
id="bc")
public void testScopeTypeDeclaredInheritedIsIndirectlyInherited()
@SpecAssertion(section="type_level_inheritance",
id="bca")
public void testScopeTypeNotDeclaredInheritedIsNotIndirectlyInherited()
Copyright © 2008-2015 Seam Framework. All Rights Reserved.