@SpecVersion(spec="cdi",
version="20091101")
public class AlternativeAvailabilityTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
AlternativeAvailabilityTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testAlternativeAvailability() |
void |
testAnyEnabledAlternativeStereotypeMakesAlternativeEnabled() |
void |
testIsAlternative() |
void |
testProducerAlternativesOnMethodAndField() |
void |
testProducersOnAlternativeClass() |
void |
testStereotypeAlternativeOnProducerMethodAndField() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertions(value={@SpecAssertion(section="selection",id="e"),@SpecAssertion(section="declaring_selected_alternatives",id="ab"),@SpecAssertion(section="declaring_selected_alternatives",id="ca"),@SpecAssertion(section="alternatives",id="a"),@SpecAssertion(section="declaring_alternative",id="a"),@SpecAssertion(section="bean_discovery",id="ka")})
public void testAlternativeAvailability()
throws Exception
Exception@SpecAssertion(section="bean",
id="bc")
public void testIsAlternative()
@SpecAssertions(value={@SpecAssertion(section="declaring_selected_alternatives",id="cf"),@SpecAssertion(section="declaring_alternative",id="b"),@SpecAssertion(section="stereotypes",id="aa"),@SpecAssertion(section="alternative_stereotype",id="a")})
public void testAnyEnabledAlternativeStereotypeMakesAlternativeEnabled()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="declaring_selected_alternatives",id="cc"),@SpecAssertion(section="declaring_selected_alternatives",id="cd")})
public void testProducersOnAlternativeClass()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="declaring_alternative",id="ab"),@SpecAssertion(section="declaring_alternative",id="ac")})
public void testProducerAlternativesOnMethodAndField()
throws Exception
ExceptionCopyright © 2008-2013 Seam Framework. All Rights Reserved.