Class AlternativeMetaDataTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.full.extensions.annotated.AlternativeMetaDataTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class AlternativeMetaDataTest extends AbstractTestContains all the functioning tests for the extension which provides alternative meta data sources. Some of the assertions are really statements of intent, but are tested here to make sure the container provides implementations that meet that same intent as any third party extension would.- Author:
- David Allen, Martin Kouba
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description AlternativeMetaDataTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestBaseType()voidtestConstructors()voidtestFields()voidtestGetAnnotation()voidtestGetAnnotations()voidtestIsAnnotationPresent()voidtestMethods()voidtestTypeClosure()-
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()
-
testBaseType
@SpecAssertion(section="alternative_metadata_sources", id="c") public void testBaseType()
-
testTypeClosure
@SpecAssertion(section="alternative_metadata_sources", id="d") public void testTypeClosure()
-
testGetAnnotation
@SpecAssertion(section="alternative_metadata_sources", id="e") public void testGetAnnotation()
-
testGetAnnotations
@SpecAssertions(@SpecAssertion(section="alternative_metadata_sources",id="f")) public void testGetAnnotations()
-
testIsAnnotationPresent
@SpecAssertion(section="alternative_metadata_sources", id="g") public void testIsAnnotationPresent()
-
testConstructors
@SpecAssertion(section="alternative_metadata_sources", id="aaa") public void testConstructors()
-
testMethods
@SpecAssertion(section="alternative_metadata_sources", id="aab") public void testMethods()
-
testFields
@SpecAssertion(section="alternative_metadata_sources", id="aad") public void testFields()
-
-