org.jboss.cdi.tck.tests.implementation.simple.definition
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="20091101")
public class SimpleBeanDefinitionTest- extends AbstractTest
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches |
| Methods inherited from class org.jboss.arquillian.testng.Arquillian |
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleBeanDefinitionTest
public SimpleBeanDefinitionTest()
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(value=@SpecAssertion(section="what_classes_are_beans",id="ba"))
public void testStaticInnerClassDeclaredInJavaAllowed()
testNonStaticInnerClassDeclaredInJavaNotDiscovered
@SpecAssertions(value=@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
@SpecAssertions(value={@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
@SpecAssertions(value={@SpecAssertion(section="declaring_bean_constructor",id="aa"),@SpecAssertion(section="instantiation",id="aa")})
public void testInitializerAnnotatedConstructorUsedOverEmptyConstuctor()
throws Exception
- Throws:
Exception
testDependentScopedBeanCanHaveNonStaticPublicField
@SpecAssertion(section="managed_beans",
id="fa")
public void testDependentScopedBeanCanHaveNonStaticPublicField()
throws Exception
- Throws:
Exception
Copyright © 2008-2013 Seam Framework. All Rights Reserved.