org.jboss.webbeans.tck.unit.implementation.producer.method
Class ProducerMethodDefinitionTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.implementation.producer.method.ProducerMethodDefinitionTest

public class ProducerMethodDefinitionTest
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
ProducerMethodDefinitionTest()
           
 
Method Summary
 void testApiTypeForArrayTypeReturn()
           
 void testApiTypeForClassReturn()
           
 void testApiTypeForInterfaceReturn()
           
 void testApiTypeForPrimitiveReturn()
           
 void testBeanCanDeclareMultipleDisposalMethods()
           
 void testBindingType()
           
 void testDefaultBindingType()
           
 void testDefaultNamedMethod()
           
 void testDeploymentType()
           
 void testDisposalMethodBindingAnnotations()
           
 void testDisposalMethodDeclaredOnEnabledBean()
           
 void testDisposalMethodDefaultBindingAnnotations()
           
 void testDisposalMethodDoesNotResolveToProducerMethod()
           
 void testDisposalMethodMethodDeclaredOnWebBeanImplementationClass()
           
 void testDisposalMethodNonStatic()
           
 void testNamedMethod()
           
 void testNonStaticProducerMethodNotInherited()
           
 void testParameterizedReturnType()
           
 void testParameterizedReturnTypeWithTypeParameter()
           
 void testParameterizedReturnTypeWithWildcard()
           
 void testProducerMethodHasNoMoreThanOneDisposalMethod()
           
 void testProducerMethodInheritsDeploymentTypeOfDeclaringWebBean()
           
 void testProducerMethodIsNotBusinessMethod()
           
 void testProducerMethodWithParameterAnnotatedDisposes()
           
 void testProducerMethodWithParameterAnnotatedObserves()
           
 void testScopeType()
           
 void testStaticMethod()
           
 void testStereotypeEnforcesTypes()
           
 void testStereotypeSpecifiesScope()
           
 
Methods inherited from class org.jboss.webbeans.tck.AbstractTest
activateDependentContext, after, before, createEnterpriseBean, createProducerFieldBean, createProducerMethodBean, createSimpleBean, deactivateDependentContext, deployBeans, deserialize, getEnabledDeploymentTypes, getStandardDeploymentTypes, mockCreationalContext, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProducerMethodDefinitionTest

public ProducerMethodDefinitionTest()
Method Detail

testProducerMethodInheritsDeploymentTypeOfDeclaringWebBean

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

testStaticMethod

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

testProducerMethodIsNotBusinessMethod

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

testParameterizedReturnType

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

testParameterizedReturnTypeWithWildcard

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

testParameterizedReturnTypeWithTypeParameter

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

testDefaultBindingType

@SpecAssertion(section={"3.4","2.3.1"})
public void testDefaultBindingType()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testApiTypeForClassReturn

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

testApiTypeForInterfaceReturn

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

testApiTypeForPrimitiveReturn

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

testApiTypeForArrayTypeReturn

@SpecAssertion(section={"3.4.1","2.2"})
public void testApiTypeForArrayTypeReturn()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testBindingType

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

testScopeType

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

testDeploymentType

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

testNamedMethod

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

testDefaultNamedMethod

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

testProducerMethodWithParameterAnnotatedDisposes

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

testProducerMethodWithParameterAnnotatedObserves

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

testDisposalMethodNonStatic

@SpecAssertion(section="3.3.5")
public void testDisposalMethodNonStatic()

testDisposalMethodMethodDeclaredOnWebBeanImplementationClass

@SpecAssertion(section="3.3.5")
public void testDisposalMethodMethodDeclaredOnWebBeanImplementationClass()

testDisposalMethodBindingAnnotations

@SpecAssertion(section="3.3.5")
public void testDisposalMethodBindingAnnotations()

testDisposalMethodDefaultBindingAnnotations

@SpecAssertion(section="3.3.5")
public void testDisposalMethodDefaultBindingAnnotations()

testDisposalMethodDoesNotResolveToProducerMethod

@SpecAssertion(section="3.3.5")
public void testDisposalMethodDoesNotResolveToProducerMethod()

testDisposalMethodDeclaredOnEnabledBean

@SpecAssertion(section="3.4.6")
public void testDisposalMethodDeclaredOnEnabledBean()

testBeanCanDeclareMultipleDisposalMethods

@SpecAssertion(section="3.4.6")
public void testBeanCanDeclareMultipleDisposalMethods()

testProducerMethodHasNoMoreThanOneDisposalMethod

@SpecAssertion(section="3.4.6")
public void testProducerMethodHasNoMoreThanOneDisposalMethod()

testStereotypeSpecifiesScope

@SpecAssertion(section={"2.7.2","3.4.2","2.2"})
public void testStereotypeSpecifiesScope()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testStereotypeEnforcesTypes

@SpecAssertion(section={"2.7.2","3.4.2","2.2"})
public void testStereotypeEnforcesTypes()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testNonStaticProducerMethodNotInherited

@SpecAssertion(section="4.2")
public void testNonStaticProducerMethodNotInherited()


Copyright © 2008-2009. All Rights Reserved.