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

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.implementation.simple.definition.SimpleBeanDefinitionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@SpecVersion(spec="cdi",
             version="20091101")
public class SimpleBeanDefinitionTest
extends AbstractJSR299Test


Constructor Summary
SimpleBeanDefinitionTest()
           
 
Method Summary
 void testAbstractClassDeclaredInJavaNotDiscovered()
           
 void testDependentScopedBeanCanHavePublicField()
           
 void testEmptyConstructorUsed()
           
 void testInitializerAnnotatedConstructor()
           
 void testInitializerAnnotatedConstructorUsedOverEmptyConstuctor()
           
 void testInterfaceNotDiscoveredAsSimpleBean()
           
 void testNonStaticInnerClassDeclaredInJavaNotDiscovered()
           
 void testSimpleBeanOnlyIfConstructorIsInitializer()
           
 void testSimpleBeanOnlyIfConstructorParameterless()
           
 void testStaticInnerClassDeclaredInJavaAllowed()
           
 
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
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

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()

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.7.1",
               id="aa")
public void testInitializerAnnotatedConstructor()
                                         throws Exception
Throws:
Exception

testEmptyConstructorUsed

@SpecAssertions(value={@SpecAssertion(section="3.7.1",id="ba"),@SpecAssertion(section="3.1.3",id="a"),@SpecAssertion(section="3.7",id="a")})
public void testEmptyConstructorUsed()

testInitializerAnnotatedConstructorUsedOverEmptyConstuctor

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

testDependentScopedBeanCanHavePublicField

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


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