org.jboss.webbeans.tck.unit.inheritance.specialization.producer.method
Class ProducerMethodSpecializationTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.inheritance.specialization.producer.method.ProducerMethodSpecializationTest

public class ProducerMethodSpecializationTest
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
ProducerMethodSpecializationTest()
           
 
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 testSpecializedBeanNotInstantiated()
           
 void testSpecializedMethodDoesNotOverrideAnotherProducerMethod()
           
 void testSpecializedMethodIndirectlyOverridesAnotherProducerMethod()
           
 void testSpecializedStaticMethod()
           
 void testSpecializingAndSpecializedBeanHasName()
           
 void testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean()
           
 void testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean()
           
 void testSpecializingBeanHasNameOfSpecializedBean()
           
 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

ProducerMethodSpecializationTest

public ProducerMethodSpecializationTest()
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.4.5"})
public void testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean()

testSpecializingBeanHasNameOfSpecializedBean

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

testSpecializingAndSpecializedBeanHasName

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

testSpecializedBeanNotInstantiated

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

testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean

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

testTwoBeansSpecializeTheSameBean

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

testSpecializedStaticMethod

@SpecAssertion(section="3.4.5")
public void testSpecializedStaticMethod()

testSpecializedMethodDoesNotOverrideAnotherProducerMethod

@SpecAssertion(section="3.4.5")
public void testSpecializedMethodDoesNotOverrideAnotherProducerMethod()

testSpecializedMethodIndirectlyOverridesAnotherProducerMethod

@SpecAssertion(section="3.4.5")
public void testSpecializedMethodIndirectlyOverridesAnotherProducerMethod()


Copyright © 2008-2009. All Rights Reserved.