@SpecVersion(spec="cdi",
version="20091101")
public class BeanManagerTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
BeanManagerTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testAmbiguousDependencyNotResolved() |
void |
testAmbiguousDependencyResolved() |
void |
testDetermineInterceptorBindingType() |
void |
testDetermineQualifierType() |
void |
testDetermineScope() |
void |
testDetermineScopeType() |
void |
testDetermineStereotype() |
void |
testGetELResolver() |
void |
testGetExtension()
The method BeanManager.getExtension() returns the container's instance of an Extension class declared in
META-INF/services, or throws an IllegalArgumentException if the container has no instance of the given class.
|
void |
testGetMetaAnnotationsForInterceptorBindingType() |
void |
testGetMetaAnnotationsForStereotype() |
void |
testObtainingAnnotatedType() |
void |
testObtainingInjectionTarget() |
void |
testObtainingInjectionTargetWithDefinitionError() |
void |
testObtainingWrappedAnnotatedType() |
void |
testResolveWithEmptySet() |
void |
testResolveWithNull() |
void |
testValidateThrowsException() |
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="bm_resolve_ambiguous_dep",
id="a")
public void testAmbiguousDependencyResolved()
@SpecAssertion(section="bm_resolve_ambiguous_dep",
id="b")
public void testAmbiguousDependencyNotResolved()
@SpecAssertion(section="bm_validate_ip",
id="a")
public void testValidateThrowsException()
@SpecAssertion(section="bm_determining_annotation",
id="aa")
public void testDetermineQualifierType()
@SpecAssertion(section="bm_determining_annotation",
id="ab")
public void testDetermineScope()
@SpecAssertion(section="bm_determining_annotation",
id="ac")
public void testDetermineStereotype()
@SpecAssertion(section="bm_determining_annotation",
id="ad")
public void testDetermineInterceptorBindingType()
@SpecAssertion(section="bm_determining_annotation",
id="ae")
public void testGetMetaAnnotationsForStereotype()
@SpecAssertion(section="bm_determining_annotation",
id="af")
public void testGetMetaAnnotationsForInterceptorBindingType()
@SpecAssertion(section="bm_determining_annotation",
id="ag")
public void testDetermineScopeType()
@SpecAssertion(section="bm_obtain_elresolver",
id="a")
public void testGetELResolver()
@SpecAssertions(value=@SpecAssertion(section="bm_obtain_annotatedtype",id="a")) public void testObtainingAnnotatedType()
public void testObtainingWrappedAnnotatedType()
@SpecAssertion(section="bm_obtain_injectiontarget",
id="aa")
public void testObtainingInjectionTarget()
@SpecAssertion(section="bm_obtain_injectiontarget",
id="ab")
public void testObtainingInjectionTargetWithDefinitionError()
@SpecAssertions(value={@SpecAssertion(section="bm_obtain_extension",id="a"),@SpecAssertion(section="bm_obtain_extension",id="b")})
public void testGetExtension()
@SpecAssertion(section="bm_resolve_ambiguous_dep",
id="c")
public void testResolveWithNull()
@SpecAssertion(section="bm_resolve_ambiguous_dep",
id="d")
public void testResolveWithEmptySet()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.