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

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.extensions.annotated.AlternativeMetaDataTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@SpecVersion(spec="cdi",
             version="20091101")
public class AlternativeMetaDataTest
extends AbstractJSR299Test

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

Constructor Summary
AlternativeMetaDataTest()
           
 
Method Summary
 void testBaseType()
           
 void testGetAnnotation()
           
 void testGetAnnotations()
           
 void testIsAnnotationPresent()
           
 void testTypeClosure()
           
 
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
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

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

@SpecAssertion(section="11.4",
               id="f")
public void testGetAnnotations()

testIsAnnotationPresent

@SpecAssertion(section="11.4",
               id="g")
public void testIsAnnotationPresent()


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