org.jboss.jsr299.tck.tests.implementation.producer.method.definition
Class ProducerMethodDefinitionTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.implementation.producer.method.definition.ProducerMethodDefinitionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@BeansXml(value="beans.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class ProducerMethodDefinitionTest
extends AbstractJSR299Test


Constructor Summary
ProducerMethodDefinitionTest()
           
 
Method Summary
 void testApiTypeForArrayTypeReturn()
           
 void testApiTypeForClassReturn()
           
 void testApiTypeForInterfaceReturn()
           
 void testApiTypeForPrimitiveReturn()
           
 void testBindingType()
           
 void testBindingTypesAppliedToProducerMethodParameters()
           
 void testDefaultBindingType()
           
 void testDefaultNamedMethod()
           
 void testDependentProducerReturnsNullValue()
           
 void testNamedMethod()
           
 void testNonDependentProducerReturnsNullValue()
           
 void testNonStaticProducerMethodInheritedBySpecializingSubclass()
           
 void testNonStaticProducerMethodNotInherited()
           
 void testParameterizedReturnType()
           
 void testProducerOnNonBean()
           
 void testScopeType()
           
 void testStaticDisposerMethod()
           
 void testStaticMethod()
           
 void testStereotypeSpecifiesScope()
           
 
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
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

testStaticMethod

@SpecAssertions(value={@SpecAssertion(section="3.3",id="b"),@SpecAssertion(section="5.5.4",id="a")})
public void testStaticMethod()
                      throws Exception
Throws:
Exception

testProducerOnNonBean

@SpecAssertions(value=@SpecAssertion(section="3.3",id="aa"))
public void testProducerOnNonBean()
                           throws Exception
Throws:
Exception

testStaticDisposerMethod

@SpecAssertions(value=@SpecAssertion(section="3.3.4",id="b"))
public void testStaticDisposerMethod()
                              throws Exception
Throws:
Exception

testParameterizedReturnType

@SpecAssertion(section="3.3",
               id="ga")
public void testParameterizedReturnType()
                                 throws Exception
Throws:
Exception

testDefaultBindingType

@SpecAssertions(value={@SpecAssertion(section="3.3",id="c"),@SpecAssertion(section="3.3.2",id="a"),@SpecAssertion(section="2.3.1",id="a0"),@SpecAssertion(section="2.3.1",id="aa")})
public void testDefaultBindingType()
                            throws Exception
Throws:
Exception

testApiTypeForClassReturn

@SpecAssertions(value={@SpecAssertion(section="3.3.1",id="c"),@SpecAssertion(section="2.2",id="l")})
public void testApiTypeForClassReturn()
                               throws Exception
Throws:
Exception

testApiTypeForInterfaceReturn

@SpecAssertion(section="3.3.1",
               id="a")
public void testApiTypeForInterfaceReturn()
                                   throws Exception
Throws:
Exception

testApiTypeForPrimitiveReturn

@SpecAssertion(section="3.3.1",
               id="ba")
public void testApiTypeForPrimitiveReturn()
                                   throws Exception
Throws:
Exception

testApiTypeForArrayTypeReturn

@SpecAssertions(value={@SpecAssertion(section="3.3.1",id="bb"),@SpecAssertion(section="2.2.1",id="i")})
public void testApiTypeForArrayTypeReturn()
                                   throws Exception
Throws:
Exception

testBindingType

@SpecAssertions(value={@SpecAssertion(section="3.3.2",id="be"),@SpecAssertion(section="3.3",id="k"),@SpecAssertion(section="2.3.3",id="b")})
public void testBindingType()
                     throws Exception
Throws:
Exception

testScopeType

@SpecAssertions(value={@SpecAssertion(section="3.3.2",id="ba"),@SpecAssertion(section="3.3",id="k")})
public void testScopeType()
                   throws Exception
Throws:
Exception

testNamedMethod

@SpecAssertions(value={@SpecAssertion(section="3.3.2",id="bb"),@SpecAssertion(section="2.5.1",id="b")})
public void testNamedMethod()
                     throws Exception
Throws:
Exception

testDefaultNamedMethod

@SpecAssertions(value={@SpecAssertion(section="3.3.2",id="bb"),@SpecAssertion(section="2.5.2",id="b"),@SpecAssertion(section="2.5.1",id="d"),@SpecAssertion(section="3.3.8",id="a")})
public void testDefaultNamedMethod()
                            throws Exception
Throws:
Exception

testStereotypeSpecifiesScope

@SpecAssertions(value={@SpecAssertion(section="2.7.2",id="b"),@SpecAssertion(section="3.3.2",id="ba"),@SpecAssertion(section="2.4.4",id="c"),@SpecAssertion(section="3.3.2",id="bd")})
public void testStereotypeSpecifiesScope()
                                  throws Exception
Throws:
Exception

testNonStaticProducerMethodInheritedBySpecializingSubclass

@SpecAssertion(section="4.2",
               id="da")
public void testNonStaticProducerMethodInheritedBySpecializingSubclass()

testNonStaticProducerMethodNotInherited

@SpecAssertions(value={@SpecAssertion(section="4.2",id="da"),@SpecAssertion(section="4.2",id="dg")})
public void testNonStaticProducerMethodNotInherited()

testBindingTypesAppliedToProducerMethodParameters

@SpecAssertions(value={@SpecAssertion(section="2.3.5",id="a"),@SpecAssertion(section="3.3.2",id="i")})
public void testBindingTypesAppliedToProducerMethodParameters()

testDependentProducerReturnsNullValue

@SpecAssertion(section="3.3",
               id="e")
public void testDependentProducerReturnsNullValue()

testNonDependentProducerReturnsNullValue

@SpecAssertion(section="3.3",
               id="f")
public void testNonDependentProducerReturnsNullValue()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.