@SpecVersion(spec="cdi",
version="1.1 Final Release")
public class WebArchiveModulesTest
extends AbstractTest
beanManager| Constructor and Description |
|---|
WebArchiveModulesTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive()
Modules:
A - WEB-INF/classes BDA: Foo, Secured, SecurityInterceptor, Business, BusinessOperationEvent
B - WEB-INF/lib BDA: Bar, AlternativeBar, BarInspector
C - WEB-INF/lib BDA: Baz, LoggingDecorator, Bazinga
D - WEB-INF/lib BDA: Qux, ContainerEventsObserver, LegacyServiceProducer
E - WEB-INF/lib non-BDA: LegacyService
|
void |
testAlternatives(BarInspector barInspector) |
void |
testDecoratorAndCrossModuleEventObserver() |
void |
testExtensionAndContainerEvents() |
void |
testInjectionChainVisibilityAndInterceptorEnablement() |
void |
testProducerAndEventDuringDisposal() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertions(value=@SpecAssertion(section="init_events",id="bb"))
public void testExtensionAndContainerEvents()
throws Exception
Exception@SpecAssertion(section="bean_archive",id="jg") @SpecAssertion(section="bean_archive",id="jh") @SpecAssertion(section="performing_typesafe_resolution",id="n") public void testInjectionChainVisibilityAndInterceptorEnablement()
@SpecAssertion(section="decorator_resolution",id="aa") @SpecAssertion(section="enabled_decorators_bean_archive",id="a") @SpecAssertion(section="observer_resolution",id="c")
public void testDecoratorAndCrossModuleEventObserver()
throws Exception
Exception@SpecAssertion(section="producer_method",id="aa") @SpecAssertion(section="producer_method",id="c") @SpecAssertion(section="observer_resolution",id="c")
public void testProducerAndEventDuringDisposal()
throws Exception
Exception@SpecAssertions(value=@SpecAssertion(section="declaring_selected_alternatives_bean_archive",id="i")) public void testAlternatives(BarInspector barInspector) throws Exception
ExceptionCopyright © 2008-2015 Seam Framework. All Rights Reserved.