Class SelectedAlternative02Test
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.alternative.selection.SelectedAlternative02Test
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class SelectedAlternative02Test extends AbstractTestTest resolution of ambiguous dependencies. WAR deployment with 2 libraries:- WEB-INF/classes - alpha - does not declare any alternative, includes
TestBeanimplementation - lib 1 - bravo - declares
Fooalternative selected for the app with priority 1000 - lib 2 - charlie - declares
Baralternative selected for the app with priority 2000
Baris resolved in all bean archives- Author:
- Martin Kouba
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description SelectedAlternative02Test()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestDependencyResolvable()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-