@SpecVersion(spec="cdi",
version="1.1 Final Release")
public class StereotypeDefinitionTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
StereotypeDefinitionTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testExplicitScopeOverridesMergedScopesFromMultipleStereotype() |
void |
testMultipleStereotypesAllowed() |
void |
testOneStereotypeAllowed() |
void |
testStereotypeDeclaredInheritedIsIndirectlyInherited() |
void |
testStereotypeDeclaredInheritedIsInherited() |
void |
testStereotypeNotDeclaredInheritedIsNotIndirectlyInherited() |
void |
testStereotypeNotDeclaredInheritedIsNotInherited() |
void |
testStereotypeScopeIsOverriddenByIndirectlyInheritedScope() |
void |
testStereotypeScopeIsOverriddenByInheritedScope() |
void |
testStereotypeWithoutScopeType() |
void |
testStereotypeWithScopeType() |
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="stereotype_default_scope",id="aa") @SpecAssertion(section="declaring_bean_scope",id="c") public void testStereotypeWithScopeType()
@SpecAssertion(section="stereotype_default_scope",id="aa") @SpecAssertion(section="default_scope",id="b") public void testStereotypeWithoutScopeType()
@SpecAssertion(section="stereotypes",id="c") @SpecAssertion(section="defining_new_stereotype",id="b") @SpecAssertion(section="specify_stereotype_interceptor_bindings",id="a") public void testOneStereotypeAllowed()
@SpecAssertion(section="declaring_stereotypes",id="e") @SpecAssertion(section="stereotypes",id="d") public void testMultipleStereotypesAllowed()
@SpecAssertion(section="declaring_stereotypes",id="e") @SpecAssertion(section="default_scope",id="e") public void testExplicitScopeOverridesMergedScopesFromMultipleStereotype()
@SpecAssertion(section="type_level_inheritance",
id="ab")
public void testStereotypeDeclaredInheritedIsInherited()
throws Exception
Exception@SpecAssertion(section="type_level_inheritance",
id="aba")
public void testStereotypeNotDeclaredInheritedIsNotInherited()
@SpecAssertion(section="type_level_inheritance",
id="ah")
public void testStereotypeDeclaredInheritedIsIndirectlyInherited()
@SpecAssertion(section="type_level_inheritance",
id="aha")
public void testStereotypeNotDeclaredInheritedIsNotIndirectlyInherited()
@SpecAssertion(section="type_level_inheritance",
id="hhh")
public void testStereotypeScopeIsOverriddenByInheritedScope()
@SpecAssertion(section="type_level_inheritance",
id="hhi")
public void testStereotypeScopeIsOverriddenByIndirectlyInheritedScope()
Copyright © 2008-2015 Seam Framework. All Rights Reserved.