org.jboss.webbeans.tck.unit.definition.stereotype
Class StereotypeDefinitionTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.definition.stereotype.StereotypeDefinitionTest

public class StereotypeDefinitionTest
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
StereotypeDefinitionTest()
           
 
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 testHasCorrectRetention()
           
 void testHasCorrectTarget()
           
 void testHasStereotypeAnnotation()
           
 void testMultipleStereotypes()
           
 void testMultipleStereotypesMergesRequiredTypes()
           
 void testMultipleStereotypesMergesScopes()
           
 void testMultipleStereotypesWithMultipleDeploymentTypes()
           
 void testMultipleStereotypesWithMultipleScopeTypes()
           
 void testRequiredTypeIsImplemented()
           
 void testRequiredTypeIsNotImplemented()
           
 void testScopeIsNotSupported()
           
 void testScopeIsSupported()
           
 void testStereotypeDeclaredInheritedIsInherited()
           
 void testStereotypeDeclaredInXmlIgnoresJavaBindingTypes()
           
 void testStereotypeDeclaredInXmlIgnoresJavaStereotypes()
           
 void testStereotypeNotDeclaredInheritedIsNotInherited()
           
 void testStereotypeWithBindingTypes()
           
 void testStereotypeWithInterceptors()
           
 void testStereotypeWithNonEmptyNamed()
           
 void testStereotypeWithoutInterceptors()
           
 void testStereotypeWithoutScopeType()
           
 void testStereotypeWithScopeType()
           
 void testStereotypeWithTooManyDeploymentTypes()
           
 void testStereotypeWithTooManyScopeTypes()
           
 
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

StereotypeDefinitionTest

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

testHasCorrectTarget

@SpecAssertion(section="2.7.1")
public void testHasCorrectTarget()

testHasCorrectRetention

@SpecAssertion(section="2.7.1")
public void testHasCorrectRetention()

testHasStereotypeAnnotation

@SpecAssertion(section="2.7.1")
public void testHasStereotypeAnnotation()

testStereotypeWithScopeType

@SpecAssertion(section="2.7.1.1")
public void testStereotypeWithScopeType()

testStereotypeWithoutScopeType

@SpecAssertion(section="2.7.1.1")
public void testStereotypeWithoutScopeType()

testStereotypeWithoutInterceptors

@SpecAssertion(section="2.7.1.2")
public void testStereotypeWithoutInterceptors()

testStereotypeWithInterceptors

@SpecAssertion(section="2.7.1.2")
public void testStereotypeWithInterceptors()

testStereotypeWithTooManyScopeTypes

@SpecAssertion(section="2.7.1.1")
public void testStereotypeWithTooManyScopeTypes()

testStereotypeWithTooManyDeploymentTypes

@SpecAssertion(section="2.7.1.1")
public void testStereotypeWithTooManyDeploymentTypes()

testStereotypeWithNonEmptyNamed

@SpecAssertion(section="2.7.1.3")
public void testStereotypeWithNonEmptyNamed()

testStereotypeWithBindingTypes

@SpecAssertion(section="2.7.1")
public void testStereotypeWithBindingTypes()

testMultipleStereotypes

@SpecAssertion(section={"2.7.2","2.7.4"})
public void testMultipleStereotypes()

testMultipleStereotypesMergesScopes

@SpecAssertion(section={"2.7.2","2.7.4"})
public void testMultipleStereotypesMergesScopes()

testMultipleStereotypesMergesRequiredTypes

@SpecAssertion(section={"2.7.2","2.7.4"})
public void testMultipleStereotypesMergesRequiredTypes()

testMultipleStereotypesWithMultipleDeploymentTypes

@SpecAssertion(section={"2.7.2","2.7.4"})
public void testMultipleStereotypesWithMultipleDeploymentTypes()

testMultipleStereotypesWithMultipleScopeTypes

@SpecAssertion(section={"2.7.2","2.7.4"})
public void testMultipleStereotypesWithMultipleScopeTypes()

testStereotypeDeclaredInXmlIgnoresJavaStereotypes

@SpecAssertion(section="2.7.3")
public void testStereotypeDeclaredInXmlIgnoresJavaStereotypes()

testStereotypeDeclaredInXmlIgnoresJavaBindingTypes

@SpecAssertion(section="2.7.3")
public void testStereotypeDeclaredInXmlIgnoresJavaBindingTypes()

testRequiredTypeIsImplemented

@SpecAssertion(section={"2.7.1.4","2.7.4"})
public void testRequiredTypeIsImplemented()

testRequiredTypeIsNotImplemented

@SpecAssertion(section={"2.7.1.4","2.7.4"})
public void testRequiredTypeIsNotImplemented()

testScopeIsSupported

@SpecAssertion(section={"2.7.1.4","2.7.4"})
public void testScopeIsSupported()

testScopeIsNotSupported

@SpecAssertion(section={"2.7.1.4","2.7.4"})
public void testScopeIsNotSupported()

testStereotypeDeclaredInheritedIsInherited

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

testStereotypeNotDeclaredInheritedIsNotInherited

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


Copyright © 2008-2009. All Rights Reserved.