Class AlternativeInLibraryWithExtensionTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.full.extensions.alternative.deployment.AlternativeInLibraryWithExtensionTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class AlternativeInLibraryWithExtensionTest extends AbstractTestThis test verifies that alternatives work correctly in BDAs that contain at least one extension.This test was originally part of Seam Compatibility project.
- Author:
- Jozef Hartinger, Martin Kouba
- See Also:
- GLASSFISH-15791
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description AlternativeInLibraryWithExtensionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestAlternative()-
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
-
-
-
-
Method Detail
-
createTestArchive
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
-
testAlternative
@SpecAssertion(section="declaring_alternative",id="aa") @SpecAssertion(section="declaring_selected_alternatives_bean_archive",id="ba") @SpecAssertion(section="initialization",id="b") public void testAlternative()
-
-