@SpecVersion(spec="cdi",
version="2.0-EDR2")
public class DependentWithPublicFieldTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
DependentWithPublicFieldTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testNonDependentScopedBeanCanNotHavePublicField() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@ShouldThrowException(value=javax.enterprise.inject.spi.DefinitionException.class) @Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertion(section="managed_beans",id="fc") @SpecAssertion(section="exceptions",id="ba") public void testNonDependentScopedBeanCanNotHavePublicField()
Copyright © 2008–2016 CDI TCK. All rights reserved.