org.jboss.webbeans.tck.unit.definition.deployment
Class DeploymentTypeDefinitionTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.definition.deployment.DeploymentTypeDefinitionTest

public class DeploymentTypeDefinitionTest
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
DeploymentTypeDefinitionTest()
           
 
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 testBeanWithDisabledDeploymentTypeNotInstantiated()
           
 void testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypeMarkedInherited()
           
 void testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypeNotMarkedInherited()
           
 void testDeploymentTypeDeclaredInheritedIsInherited()
           
 void testDeploymentTypeDeclaresScopeTypeAnnotation()
           
 void testDeploymentTypeHasCorrectRetention()
           
 void testDeploymentTypeHasCorrectTarget()
           
 void testDeploymentTypeInhertitedFromDeclaringBean()
           
 void testDeploymentTypeNotDeclaredInheritedIsNotInherited()
           
 void testHighestPrecedenceDeploymentTypeFromStereotype()
           
 void testMultipleDeployElementsCannotBeDefined()
           
 void testNonBuiltInComponentUsesStandard()
           
 void testTooManyDeploymentTypes()
           
 void testWebBeanDeploymentTypeOverridesStereotype()
           
 void testXmlDefaultDeploymentType()
           
 void testXmlDeploymentTypeOverridesJava()
           
 void testXmlRespectsJavaDeploymentType()
           
 
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

DeploymentTypeDefinitionTest

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

testNonBuiltInComponentUsesStandard

@SpecAssertion(section="2.5.1")
public void testNonBuiltInComponentUsesStandard()

testDeploymentTypeHasCorrectTarget

@SpecAssertion(section="2.5.2")
public void testDeploymentTypeHasCorrectTarget()

testDeploymentTypeHasCorrectRetention

@SpecAssertion(section="2.5.2")
public void testDeploymentTypeHasCorrectRetention()

testDeploymentTypeDeclaresScopeTypeAnnotation

@SpecAssertion(section="2.5.2")
public void testDeploymentTypeDeclaresScopeTypeAnnotation()

testTooManyDeploymentTypes

@SpecAssertion(section="2.5.3")
public void testTooManyDeploymentTypes()

testDeploymentTypeInhertitedFromDeclaringBean

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

testXmlDeploymentTypeOverridesJava

@SpecAssertion(section="2.5.4")
public void testXmlDeploymentTypeOverridesJava()

testXmlRespectsJavaDeploymentType

@SpecAssertion(section="2.5.4")
public void testXmlRespectsJavaDeploymentType()

testXmlDefaultDeploymentType

@SpecAssertion(section="2.5.5")
public void testXmlDefaultDeploymentType()

testHighestPrecedenceDeploymentTypeFromStereotype

@SpecAssertion(section="2.5.5")
public void testHighestPrecedenceDeploymentTypeFromStereotype()

testBeanWithDisabledDeploymentTypeNotInstantiated

@SpecAssertion(section="2.5.6")
public void testBeanWithDisabledDeploymentTypeNotInstantiated()

testMultipleDeployElementsCannotBeDefined

@SpecAssertion(section="2.5.6")
public void testMultipleDeployElementsCannotBeDefined()

testWebBeanDeploymentTypeOverridesStereotype

@SpecAssertion(section={"2.5.5","2.7.2","4.1"})
public void testWebBeanDeploymentTypeOverridesStereotype()

testDeploymentTypeDeclaredInheritedIsInherited

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

testDeploymentTypeNotDeclaredInheritedIsNotInherited

@SpecAssertion(section="4.1")
public void testDeploymentTypeNotDeclaredInheritedIsNotInherited()

testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypeNotMarkedInherited

@SpecAssertion(section="4.1")
public void testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypeNotMarkedInherited()

testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypeMarkedInherited

@SpecAssertion(section="4.1")
public void testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypeMarkedInherited()


Copyright © 2008-2009. All Rights Reserved.