@SpecVersion(spec="cdi",
version="1.1 Final Release")
public class SimpleBeanDefinitionTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
SimpleBeanDefinitionTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testAbstractClassDeclaredInJavaNotDiscovered() |
void |
testDependentScopedBeanCanHaveNonStaticPublicField() |
void |
testEmptyConstructorUsed() |
void |
testExtensionNotDiscoveredAsSimpleBean() |
void |
testInitializerAnnotatedConstructor() |
void |
testInitializerAnnotatedConstructorUsedOverEmptyConstuctor() |
void |
testInterfaceNotDiscoveredAsSimpleBean() |
void |
testNonStaticInnerClassDeclaredInJavaNotDiscovered() |
void |
testSimpleBeanOnlyIfConstructorIsInitializer() |
void |
testSimpleBeanOnlyIfConstructorParameterless() |
void |
testStaticInnerClassDeclaredInJavaAllowed() |
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="what_classes_are_beans",
id="ca")
public void testAbstractClassDeclaredInJavaNotDiscovered()
@SpecAssertions(value=@SpecAssertion(section="what_classes_are_beans",id="ba")) public void testStaticInnerClassDeclaredInJavaAllowed()
@SpecAssertions(value=@SpecAssertion(section="what_classes_are_beans",id="b")) public void testNonStaticInnerClassDeclaredInJavaNotDiscovered()
@SpecAssertion(section="what_classes_are_beans",
id="cb")
public void testInterfaceNotDiscoveredAsSimpleBean()
@SpecAssertion(section="what_classes_are_beans",
id="g")
public void testExtensionNotDiscoveredAsSimpleBean()
@SpecAssertion(section="what_classes_are_beans",
id="p")
public void testSimpleBeanOnlyIfConstructorParameterless()
@SpecAssertion(section="what_classes_are_beans",
id="q")
public void testSimpleBeanOnlyIfConstructorIsInitializer()
@SpecAssertion(section="declaring_bean_constructor",
id="aa")
public void testInitializerAnnotatedConstructor()
throws Exception
Exception@SpecAssertion(section="declaring_bean_constructor",id="ba") @SpecAssertion(section="declaring_managed_bean",id="a") @SpecAssertion(section="bean_constructors",id="a") @SpecAssertion(section="instantiation",id="ba") public void testEmptyConstructorUsed()
@SpecAssertion(section="declaring_bean_constructor",id="aa") @SpecAssertion(section="instantiation",id="aa")
public void testInitializerAnnotatedConstructorUsedOverEmptyConstuctor()
throws Exception
ExceptionCopyright © 2008-2015 Seam Framework. All Rights Reserved.