org.jboss.cdi.tck.tests.extensions.annotated
Class AlternativeMetaDataTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by 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

Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
AlternativeMetaDataTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testBaseType()
           
 void testConstructors()
           
 void testFields()
           
 void testGetAnnotation()
           
 void testGetAnnotations()
           
 void testIsAnnotationPresent()
           
 void testMethods()
           
 void testTypeClosure()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, 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
 

Constructor Detail

AlternativeMetaDataTest

public AlternativeMetaDataTest()
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(value=@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="aac")
public void testFields()


Copyright © 2008-2013 Seam Framework. All Rights Reserved.