org.jboss.cdi.tck.tests.extensions.annotated
Class AlternativeMetaDataTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.extensions.annotated.AlternativeMetaDataTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="cdi",
version="20091101")
public class AlternativeMetaDataTest- extends AbstractTest
Contains 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
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches |
| Methods inherited from class org.jboss.arquillian.testng.Arquillian |
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlternativeMetaDataTest
public AlternativeMetaDataTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
testBaseType
@SpecAssertion(section="11.4",
id="c")
public void testBaseType()
testTypeClosure
@SpecAssertion(section="11.4",
id="d")
public void testTypeClosure()
testGetAnnotation
@SpecAssertion(section="11.4",
id="e")
public void testGetAnnotation()
testGetAnnotations
@SpecAssertions(value={@SpecAssertion(section="11.4",id="f"),@SpecAssertion(section="11.4",id="ga")})
public void testGetAnnotations()
testIsAnnotationPresent
@SpecAssertion(section="11.4",
id="g")
public void testIsAnnotationPresent()
testConstructors
@SpecAssertion(section="11.4",
id="aaa")
public void testConstructors()
testMethods
@SpecAssertion(section="11.4",
id="aab")
public void testMethods()
testFields
@SpecAssertion(section="11.4",
id="aac")
public void testFields()
Copyright © 2008-2012 Seam Framework. All Rights Reserved.