org.jboss.webbeans.tck.unit.inheritance.specialization.simple
Class SimpleBeanSpecializationTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.inheritance.specialization.simple.SimpleBeanSpecializationTest

public class SimpleBeanSpecializationTest
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
SimpleBeanSpecializationTest()
           
 
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 testProducerMethodOnSpecializedBeanCalledOnSpecializingBean()
           
 void testSpecializedBeanNotInstantiated()
           
 void testSpecializingAndSpecializedBeanHasName()
           
 void testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean()
           
 void testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean()
           
 void testSpecializingBeanHasNameOfSpecializedBean()
           
 void testSpecializingClassDirectlyExtendsEnterpriseBean()
           
 void testSpecializingClassDirectlyExtendsNothing()
           
 void testSpecializingClassImplementsInterfaceAndExtendsNothing()
           
 void testTwoBeansSpecializeTheSameBean()
           
 
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

SimpleBeanSpecializationTest

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

testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean

@SpecAssertion(section={"4.3.1","3.2.7"})
public void testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean()

testSpecializingBeanHasNameOfSpecializedBean

@SpecAssertion(section={"4.3.1","3.2.7"})
public void testSpecializingBeanHasNameOfSpecializedBean()

testSpecializingAndSpecializedBeanHasName

@SpecAssertion(section="4.3.1")
public void testSpecializingAndSpecializedBeanHasName()

testSpecializedBeanNotInstantiated

@SpecAssertion(section={"4.3.1","3.2.7"})
public void testSpecializedBeanNotInstantiated()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean

@SpecAssertion(section="4.3.1")
public void testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean()

testProducerMethodOnSpecializedBeanCalledOnSpecializingBean

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

testTwoBeansSpecializeTheSameBean

@SpecAssertion(section="4.3.1")
public void testTwoBeansSpecializeTheSameBean()

testSpecializingClassDirectlyExtendsEnterpriseBean

@SpecAssertion(section="3.2.7")
public void testSpecializingClassDirectlyExtendsEnterpriseBean()

testSpecializingClassDirectlyExtendsNothing

@SpecAssertion(section="3.2.7")
public void testSpecializingClassDirectlyExtendsNothing()

testSpecializingClassImplementsInterfaceAndExtendsNothing

@SpecAssertion(section="3.2.7")
public void testSpecializingClassImplementsInterfaceAndExtendsNothing()


Copyright © 2008-2009. All Rights Reserved.