@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class NormalContextTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
NormalContextTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testGetMayNotReturnNullUnlessContextualCreateReturnsNull() |
void |
testGetReturnsExistingInstance() |
void |
testGetWithCreationalContextReturnsNewInstance() |
void |
testSameNormalScopeBeanInjectedEverywhere() |
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="context",id="j") @SpecAssertion(section="context",id="l") @SpecAssertion(section="normal_scope",id="c") public void testGetReturnsExistingInstance()
@SpecAssertions(value=@SpecAssertion(section="context",id="l")) public void testGetWithCreationalContextReturnsNewInstance()
@SpecAssertion(section="context",
id="nb")
public void testGetMayNotReturnNullUnlessContextualCreateReturnsNull()
@SpecAssertions(value=@SpecAssertion(section="normal_scope",id="e")) public void testSameNormalScopeBeanInjectedEverywhere()
Copyright © 2008–2016 CDI TCK. All rights reserved.