@SpecVersion(spec="cdi",
version="20091101")
public class DynamicLookupTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
DynamicLookupTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testAmbiguousDependencyThrowsException() |
void |
testDuplicateBindingsThrowsException() |
void |
testGetMethod() |
void |
testIsAmbiguous() |
void |
testIsUnsatisfied() |
void |
testIteratorMethod() |
void |
testNewBean() |
void |
testNewBeanNotEnabledWithouInjectionPoint() |
void |
testNonBindingThrowsException() |
void |
testObtainsInjectsInstanceOfInstance() |
void |
testUnsatisfiedDependencyThrowsException() |
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()
@SpecAssertions(value=@SpecAssertion(section="programmatic_lookup",id="aa")) public void testObtainsInjectsInstanceOfInstance()
@SpecAssertion(section="dynamic_lookup",
id="da")
public void testDuplicateBindingsThrowsException()
@SpecAssertion(section="dynamic_lookup",
id="e")
public void testNonBindingThrowsException()
@SpecAssertions(value={@SpecAssertion(section="programmatic_lookup",id="ba"),@SpecAssertion(section="programmatic_lookup",id="ca"),@SpecAssertion(section="dynamic_lookup",id="aa"),@SpecAssertion(section="dynamic_lookup",id="ab"),@SpecAssertion(section="dynamic_lookup",id="fa"),@SpecAssertion(section="dynamic_lookup",id="fc")})
public void testGetMethod()
@SpecAssertion(section="dynamic_lookup",
id="fba")
public void testUnsatisfiedDependencyThrowsException()
@SpecAssertion(section="dynamic_lookup",
id="fbb")
public void testAmbiguousDependencyThrowsException()
@SpecAssertions(value={@SpecAssertion(section="dynamic_lookup",id="aa"),@SpecAssertion(section="dynamic_lookup",id="ba"),@SpecAssertion(section="dynamic_lookup",id="ja"),@SpecAssertion(section="dynamic_lookup",id="ka"),@SpecAssertion(section="annotationliteral_typeliteral",id="a")})
public void testIteratorMethod()
@SpecAssertion(section="dynamic_lookup",
id="l")
public void testIsUnsatisfied()
@SpecAssertions(value={@SpecAssertion(section="programmatic_lookup",id="da"),@SpecAssertion(section="dynamic_lookup",id="m")})
public void testIsAmbiguous()
@SpecAssertions(value={@SpecAssertion(section="programmatic_lookup",id="e"),@SpecAssertion(section="annotationliteral_typeliteral",id="b")})
public void testNewBean()
@SpecAssertion(section="new",
id="xc")
public void testNewBeanNotEnabledWithouInjectionPoint()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.