Class SimpleBeanDefinitionTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.implementation.simple.definition.SimpleBeanDefinitionTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class SimpleBeanDefinitionTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description SimpleBeanDefinitionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestAbstractClassDeclaredInJavaNotDiscovered()voidtestDependentScopedBeanCanHaveNonStaticPublicField()voidtestEmptyConstructorUsed()voidtestExtensionNotDiscoveredAsSimpleBean()voidtestInitializerAnnotatedConstructor()voidtestInitializerAnnotatedConstructorUsedOverEmptyConstuctor()voidtestInterfaceNotDiscoveredAsSimpleBean()voidtestNonStaticInnerClassDeclaredInJavaNotDiscovered()voidtestSimpleBeanOnlyIfConstructorIsInitializer()voidtestSimpleBeanOnlyIfConstructorParameterless()voidtestStaticInnerClassDeclaredInJavaAllowed()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-
-
-
Method Detail
-
createTestArchive
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
-
testAbstractClassDeclaredInJavaNotDiscovered
@SpecAssertion(section="what_classes_are_beans", id="ca") public void testAbstractClassDeclaredInJavaNotDiscovered()
-
testStaticInnerClassDeclaredInJavaAllowed
@SpecAssertions(@SpecAssertion(section="what_classes_are_beans",id="ba")) public void testStaticInnerClassDeclaredInJavaAllowed()
-
testNonStaticInnerClassDeclaredInJavaNotDiscovered
@SpecAssertions(@SpecAssertion(section="what_classes_are_beans",id="b")) public void testNonStaticInnerClassDeclaredInJavaNotDiscovered()
-
testInterfaceNotDiscoveredAsSimpleBean
@SpecAssertion(section="what_classes_are_beans", id="cb") public void testInterfaceNotDiscoveredAsSimpleBean()
-
testExtensionNotDiscoveredAsSimpleBean
@SpecAssertion(section="what_classes_are_beans", id="g") public void testExtensionNotDiscoveredAsSimpleBean()
-
testSimpleBeanOnlyIfConstructorParameterless
@SpecAssertion(section="what_classes_are_beans", id="p") public void testSimpleBeanOnlyIfConstructorParameterless()
-
testSimpleBeanOnlyIfConstructorIsInitializer
@SpecAssertion(section="what_classes_are_beans", id="q") public void testSimpleBeanOnlyIfConstructorIsInitializer()
-
testInitializerAnnotatedConstructor
@SpecAssertion(section="declaring_bean_constructor", id="aa") public void testInitializerAnnotatedConstructor() throws Exception- Throws:
Exception
-
testEmptyConstructorUsed
@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()
-
testInitializerAnnotatedConstructorUsedOverEmptyConstuctor
@SpecAssertion(section="declaring_bean_constructor",id="aa") @SpecAssertion(section="instantiation",id="aa") public void testInitializerAnnotatedConstructorUsedOverEmptyConstuctor() throws Exception- Throws:
Exception
-
-