org.jboss.cdi.tck.tests.alternative
Class AlternativeAvailabilityTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.alternative.AlternativeAvailabilityTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="cdi",
version="20091101")
public class AlternativeAvailabilityTest- extends AbstractTest
| 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, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, 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 |
AlternativeAvailabilityTest
public AlternativeAvailabilityTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testAlternativeAvailability
@SpecAssertions(value={@SpecAssertion(section="5.1",id="e"),@SpecAssertion(section="5.1.1",id="ab"),@SpecAssertion(section="5.1.1",id="ca"),@SpecAssertion(section="2.6",id="a"),@SpecAssertion(section="2.6.1",id="a"),@SpecAssertion(section="12.4",id="ka")})
public void testAlternativeAvailability()
throws Exception
- Throws:
Exception
testIsAlternative
@SpecAssertion(section="11.1",
id="bc")
public void testIsAlternative()
testAnyEnabledAlternativeStereotypeMakesAlternativeEnabled
@SpecAssertions(value={@SpecAssertion(section="5.1.1",id="cf"),@SpecAssertion(section="2.6.1",id="b"),@SpecAssertion(section="2.7",id="aa"),@SpecAssertion(section="2.7.1.4",id="a")})
public void testAnyEnabledAlternativeStereotypeMakesAlternativeEnabled()
throws Exception
- Throws:
Exception
testProducersOnAlternativeClass
@SpecAssertions(value={@SpecAssertion(section="5.1.1",id="cc"),@SpecAssertion(section="5.1.1",id="cd")})
public void testProducersOnAlternativeClass()
throws Exception
- Throws:
Exception
testProducerAlternativesOnMethodAndField
@SpecAssertions(value={@SpecAssertion(section="2.6.1",id="ab"),@SpecAssertion(section="2.6.1",id="ac")})
public void testProducerAlternativesOnMethodAndField()
throws Exception
- Throws:
Exception
testStereotypeAlternativeOnProducerMethodAndField
@SpecAssertions(value={@SpecAssertion(section="2.6.1",id="c"),@SpecAssertion(section="2.6.1",id="d")})
public void testStereotypeAlternativeOnProducerMethodAndField()
throws Exception
- Throws:
Exception
Copyright © 2008-2012 Seam Framework. All Rights Reserved.