org.jboss.cdi.tck.tests.implementation.producer.method.lifecycle
Class ProducerMethodLifecycleTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.implementation.producer.method.lifecycle.ProducerMethodLifecycleTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="cdi",
             version="20091101")
public class ProducerMethodLifecycleTest
extends AbstractTest

NOTE May be able to get rid of some of the binding types if the producer method precedence question is resolved


Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ProducerMethodLifecycleTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testCreateFailsIfProducerReturnsNullAndNotDependent()
           
 void testCreateRethrowsUncheckedException()
           
 void testCreateReturnsNullIfProducerDoesAndDependent()
           
 void testCreateWrapsCheckedExceptionAndRethrows()
           
 void testProducerMethodBeanCreate()
           
 void testProducerMethodBeanDestroy()
           
 void testProducerMethodFromSpecializedBeanUsed()
           
 void testProducerMethodInvokedOnCreate()
           
 void testWhenApplicationInvokesProducerMethodParametersAreNotInjected()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
annotationSetMatches, annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProducerMethodLifecycleTest

public ProducerMethodLifecycleTest()
Method Detail

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

testProducerMethodBeanCreate

@SpecAssertion(section="7.3.4",
               id="ea")
public void testProducerMethodBeanCreate()

testProducerMethodInvokedOnCreate

@SpecAssertions(value=@SpecAssertion(section="7.3.4",id="ea"))
public void testProducerMethodInvokedOnCreate()

testWhenApplicationInvokesProducerMethodParametersAreNotInjected

@SpecAssertion(section="3.3",
               id="j")
public void testWhenApplicationInvokesProducerMethodParametersAreNotInjected()

testProducerMethodFromSpecializedBeanUsed

@SpecAssertions(value={@SpecAssertion(section="5.5.4",id="c"),@SpecAssertion(section="4.3",id="cb")})
public void testProducerMethodFromSpecializedBeanUsed()

testCreateReturnsNullIfProducerDoesAndDependent

@SpecAssertions(value=@SpecAssertion(section="7.3.4",id="k"))
public void testCreateReturnsNullIfProducerDoesAndDependent()

testCreateFailsIfProducerReturnsNullAndNotDependent

@SpecAssertions(value=@SpecAssertion(section="7.3.4",id="l"))
public void testCreateFailsIfProducerReturnsNullAndNotDependent()

testProducerMethodBeanDestroy

@SpecAssertions(value={@SpecAssertion(section="7.3.4",id="ma"),@SpecAssertion(section="7.3.4",id="r")})
public void testProducerMethodBeanDestroy()

testCreateRethrowsUncheckedException

@SpecAssertions(value=@SpecAssertion(section="6.1",id="a0"))
public void testCreateRethrowsUncheckedException()

testCreateWrapsCheckedExceptionAndRethrows

@SpecAssertions(value=@SpecAssertion(section="6.1",id="a0"))
public void testCreateWrapsCheckedExceptionAndRethrows()


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