org.jboss.webbeans.tck.unit.implementation.simple
Class SimpleBeanDefinitionTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.implementation.simple.SimpleBeanDefinitionTest

public class SimpleBeanDefinitionTest
extends AbstractTest

Spec version: PRD2


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.webbeans.tck.AbstractTest
AbstractTest.RunInDependentContext
 
Field Summary
 
Fields inherited from class org.jboss.webbeans.tck.AbstractTest
BUILT_IN_BEANS, manager, visited
 
Constructor Summary
SimpleBeanDefinitionTest()
           
 
Method Summary
protected  java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledDeploymentTypes()
          This method should be overridden by test classes which need to enable additional deployment types beyond the normal ones.
 void testAbstractClassDeclaredInJavaIsNotAllowed()
           
 void testAbstractClassDeclaredInXmlIsNotAllowed()
           
 void testBeanDeclaredInXmlIgnoresDisposalMethodDeclaredInJava()
           
 void testBeanDeclaredInXmlIgnoresObserverMethodDeclaredInJava()
           
 void testBeanDeclaredInXmlIgnoresProducerMethodDeclaredInJava()
           
 void testBindingTypeAnnotatedConstructor()
           
 void testClassCannotBeInterceptorAndDecorator()
           
 void testClassesImplementingEnterpriseBeanInterfaceNotDiscoveredAsSimpleBean()
           
 void testClassesImplementingServletInterfacesNotDiscoveredAsSimpleBeans()
           
 void testClassExtendingUiComponentNotDiscoveredAsSimpleBean()
           
 void testClassHasDecoratorInJavaMustHaveDecoratorInXml()
           
 void testClassHasInterceptorInJavaMustHaveInterceptorInXml()
           
 void testConstructorDeclaredInXmlDoesNotExist()
           
 void testConstructorDeclaredInXmlIgnoresBindingTypesDeclaredInJava()
           
 void testConstructorHasDisposesParameter()
           
 void testConstructorHasObservesParameter()
           
 void testDependentScopedBeanCanHavePublicField()
           
 void testEjbsNotDiscoveredAsSimpleBean()
           
 void testEmptyConstructorDeclaredInXmlUsed()
           
 void testEmptyConstructorUsed()
           
 void testEntitiesNotDiscoveredAsSimpleBeans()
           
 void testImplicitConstructorDeclaredInXmlUsed()
           
 void testImplicitConstructorUsed()
           
 void testInitializerAnnotatedConstructor()
           
 void testInitializerAnnotatedConstructorUsedOverEmptyConstuctor()
           
 void testNonDependentScopedBeanCanNotHavePublicField()
           
 void testNonStaticInnerClassDeclaredInJavaNotAllowed()
           
 void testNonStaticInnerClassDeclaredInXmlNotAllowed()
           
 void testParameterizedClassDeclaredInJavaIsNotAllowed()
           
 void testParameterizedClassDeclaredInXmlIsNotAllowed()
           
 void testStaticInnerClassDeclaredInJavaAllowed()
           
 void testStaticInnerClassDeclaredInXmlAllowed()
           
 void testTooManyInitializerAnnotatedConstructor()
           
 
Methods inherited from class org.jboss.webbeans.tck.AbstractTest
activateDependentContext, after, before, createEnterpriseBean, createProducerFieldBean, createProducerMethodBean, createSimpleBean, deactivateDependentContext, deployBeans, deserialize, getStandardDeploymentTypes, mockCreationalContext, serialize
 
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

getEnabledDeploymentTypes

protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledDeploymentTypes()
Description copied from class: AbstractTest
This method should be overridden by test classes which need to enable additional deployment types beyond the normal ones.

Overrides:
getEnabledDeploymentTypes in class AbstractTest
Returns:
the list of enabled deployment types

testAbstractClassDeclaredInJavaIsNotAllowed

@SpecAssertion(section="3.2")
public void testAbstractClassDeclaredInJavaIsNotAllowed()

testStaticInnerClassDeclaredInJavaAllowed

@SpecAssertion(section="3.2")
public void testStaticInnerClassDeclaredInJavaAllowed()

testNonStaticInnerClassDeclaredInJavaNotAllowed

@SpecAssertion(section="3.2")
public void testNonStaticInnerClassDeclaredInJavaNotAllowed()

testParameterizedClassDeclaredInJavaIsNotAllowed

@SpecAssertion(section="3.2")
public void testParameterizedClassDeclaredInJavaIsNotAllowed()

testClassCannotBeInterceptorAndDecorator

@SpecAssertion(section="3.2")
public void testClassCannotBeInterceptorAndDecorator()

testEntitiesNotDiscoveredAsSimpleBeans

public void testEntitiesNotDiscoveredAsSimpleBeans()

testClassesImplementingServletInterfacesNotDiscoveredAsSimpleBeans

public void testClassesImplementingServletInterfacesNotDiscoveredAsSimpleBeans()

testClassesImplementingEnterpriseBeanInterfaceNotDiscoveredAsSimpleBean

public void testClassesImplementingEnterpriseBeanInterfaceNotDiscoveredAsSimpleBean()

testClassExtendingUiComponentNotDiscoveredAsSimpleBean

public void testClassExtendingUiComponentNotDiscoveredAsSimpleBean()

testEjbsNotDiscoveredAsSimpleBean

public void testEjbsNotDiscoveredAsSimpleBean()

testBeanDeclaredInXmlIgnoresProducerMethodDeclaredInJava

@SpecAssertion(section="3.2.4")
public void testBeanDeclaredInXmlIgnoresProducerMethodDeclaredInJava()

testBeanDeclaredInXmlIgnoresDisposalMethodDeclaredInJava

@SpecAssertion(section="3.2.4")
public void testBeanDeclaredInXmlIgnoresDisposalMethodDeclaredInJava()

testBeanDeclaredInXmlIgnoresObserverMethodDeclaredInJava

@SpecAssertion(section="3.2.4")
public void testBeanDeclaredInXmlIgnoresObserverMethodDeclaredInJava()

testAbstractClassDeclaredInXmlIsNotAllowed

@SpecAssertion(section="3.2.4")
public void testAbstractClassDeclaredInXmlIsNotAllowed()

testStaticInnerClassDeclaredInXmlAllowed

@SpecAssertion(section="3.2.4")
public void testStaticInnerClassDeclaredInXmlAllowed()

testNonStaticInnerClassDeclaredInXmlNotAllowed

@SpecAssertion(section="3.2.4")
public void testNonStaticInnerClassDeclaredInXmlNotAllowed()

testParameterizedClassDeclaredInXmlIsNotAllowed

@SpecAssertion(section="3.2.4")
public void testParameterizedClassDeclaredInXmlIsNotAllowed()

testClassHasInterceptorInJavaMustHaveInterceptorInXml

@SpecAssertion(section="3.2.4")
public void testClassHasInterceptorInJavaMustHaveInterceptorInXml()

testClassHasDecoratorInJavaMustHaveDecoratorInXml

@SpecAssertion(section="3.2.4")
public void testClassHasDecoratorInJavaMustHaveDecoratorInXml()

testInitializerAnnotatedConstructor

@SpecAssertion(section="3.2.5.1")
public void testInitializerAnnotatedConstructor()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testImplicitConstructorUsed

@SpecAssertion(section="3.2.5.1")
public void testImplicitConstructorUsed()

testEmptyConstructorUsed

@SpecAssertion(section="3.2.6.1")
public void testEmptyConstructorUsed()

testInitializerAnnotatedConstructorUsedOverEmptyConstuctor

@SpecAssertion(section="3.2.6.1")
public void testInitializerAnnotatedConstructorUsedOverEmptyConstuctor()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testTooManyInitializerAnnotatedConstructor

@SpecAssertion(section="3.2.6.1")
public void testTooManyInitializerAnnotatedConstructor()

testConstructorHasDisposesParameter

@SpecAssertion(section="3.2.6.1")
public void testConstructorHasDisposesParameter()

testConstructorHasObservesParameter

@SpecAssertion(section="3.2.6.1")
public void testConstructorHasObservesParameter()

testImplicitConstructorDeclaredInXmlUsed

@SpecAssertion(section="3.2.6.2")
public void testImplicitConstructorDeclaredInXmlUsed()

testEmptyConstructorDeclaredInXmlUsed

@SpecAssertion(section="3.2.6.2")
public void testEmptyConstructorDeclaredInXmlUsed()

testConstructorDeclaredInXmlDoesNotExist

@SpecAssertion(section="3.2.6.2")
public void testConstructorDeclaredInXmlDoesNotExist()

testConstructorDeclaredInXmlIgnoresBindingTypesDeclaredInJava

@SpecAssertion(section="3.2.6.2")
public void testConstructorDeclaredInXmlIgnoresBindingTypesDeclaredInJava()

testBindingTypeAnnotatedConstructor

@SpecAssertion(section="3.2.6.3")
public void testBindingTypeAnnotatedConstructor()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testDependentScopedBeanCanHavePublicField

@SpecAssertion(section="3.2")
public void testDependentScopedBeanCanHavePublicField()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testNonDependentScopedBeanCanNotHavePublicField

@SpecAssertion(section="3.2")
public void testNonDependentScopedBeanCanNotHavePublicField()


Copyright © 2008-2009. All Rights Reserved.