org.jboss.cdi.tck.tests.implementation.producer.method.lifecycle
Class ProducerMethodLifecycleTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
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
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, 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 |
ProducerMethodLifecycleTest
public ProducerMethodLifecycleTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testProducerMethodBeanCreate
@SpecAssertion(section="producer_method_lifecycle",
id="ea")
public void testProducerMethodBeanCreate()
testProducerMethodInvokedOnCreate
@SpecAssertions(value=@SpecAssertion(section="producer_method_lifecycle",id="ea"))
public void testProducerMethodInvokedOnCreate()
testWhenApplicationInvokesProducerMethodParametersAreNotInjected
@SpecAssertion(section="producer_method",
id="j")
public void testWhenApplicationInvokesProducerMethodParametersAreNotInjected()
testProducerMethodFromSpecializedBeanUsed
@SpecAssertions(value={@SpecAssertion(section="producer_or_disposer_methods_invocation",id="c"),@SpecAssertion(section="specialization",id="cb")})
public void testProducerMethodFromSpecializedBeanUsed()
testCreateReturnsNullIfProducerDoesAndDependent
@SpecAssertions(value=@SpecAssertion(section="producer_method_lifecycle",id="k"))
public void testCreateReturnsNullIfProducerDoesAndDependent()
testCreateFailsIfProducerReturnsNullAndNotDependent
@SpecAssertions(value=@SpecAssertion(section="producer_method_lifecycle",id="l"))
public void testCreateFailsIfProducerReturnsNullAndNotDependent()
testProducerMethodBeanDestroy
@SpecAssertions(value={@SpecAssertion(section="producer_method_lifecycle",id="ma"),@SpecAssertion(section="producer_method_lifecycle",id="r")})
public void testProducerMethodBeanDestroy()
testCreateRethrowsUncheckedException
@SpecAssertions(value=@SpecAssertion(section="contextual",id="a0"))
public void testCreateRethrowsUncheckedException()
testCreateWrapsCheckedExceptionAndRethrows
@SpecAssertions(value=@SpecAssertion(section="contextual",id="a0"))
public void testCreateWrapsCheckedExceptionAndRethrows()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.