org.jboss.cdi.tck.tests.implementation.simple.definition
Class SimpleBeanDefinitionTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by 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


Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
SimpleBeanDefinitionTest()
           
 
Method Summary
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()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, 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
 

Constructor Detail

SimpleBeanDefinitionTest

public SimpleBeanDefinitionTest()
Method Detail

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

testAbstractClassDeclaredInJavaNotDiscovered

@SpecAssertion(section="3.1.1",
               id="ca")
public void testAbstractClassDeclaredInJavaNotDiscovered()

testStaticInnerClassDeclaredInJavaAllowed

@SpecAssertions(value=@SpecAssertion(section="3.1.1",id="ba"))
public void testStaticInnerClassDeclaredInJavaAllowed()

testNonStaticInnerClassDeclaredInJavaNotDiscovered

@SpecAssertions(value=@SpecAssertion(section="3.1.1",id="b"))
public void testNonStaticInnerClassDeclaredInJavaNotDiscovered()

testInterfaceNotDiscoveredAsSimpleBean

@SpecAssertion(section="3.1.1",
               id="cb")
public void testInterfaceNotDiscoveredAsSimpleBean()

testExtensionNotDiscoveredAsSimpleBean

@SpecAssertion(section="3.1.1",
               id="g")
public void testExtensionNotDiscoveredAsSimpleBean()

testSimpleBeanOnlyIfConstructorParameterless

@SpecAssertion(section="3.1.1",
               id="p")
public void testSimpleBeanOnlyIfConstructorParameterless()

testSimpleBeanOnlyIfConstructorIsInitializer

@SpecAssertion(section="3.1.1",
               id="q")
public void testSimpleBeanOnlyIfConstructorIsInitializer()

testInitializerAnnotatedConstructor

@SpecAssertion(section="3.8.1",
               id="aa")
public void testInitializerAnnotatedConstructor()
                                         throws Exception
Throws:
Exception

testEmptyConstructorUsed

@SpecAssertions(value={@SpecAssertion(section="3.8.1",id="ba"),@SpecAssertion(section="3.1.3",id="a"),@SpecAssertion(section="3.8",id="a"),@SpecAssertion(section="5.5.1",id="ba")})
public void testEmptyConstructorUsed()

testInitializerAnnotatedConstructorUsedOverEmptyConstuctor

@SpecAssertions(value={@SpecAssertion(section="3.8.1",id="aa"),@SpecAssertion(section="5.5.1",id="aa")})
public void testInitializerAnnotatedConstructorUsedOverEmptyConstuctor()
                                                                throws Exception
Throws:
Exception

testDependentScopedBeanCanHaveNonStaticPublicField

@SpecAssertion(section="3.1",
               id="fa")
public void testDependentScopedBeanCanHaveNonStaticPublicField()
                                                        throws Exception
Throws:
Exception


Copyright © 2008-2012 Seam Framework. All Rights Reserved.