org.jboss.jsr299.tck.tests.extensions.alternative.metadata
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.alternative.metadata.AlternativeMetadataTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@BeansXml(value="beans.xml")
@Extension(value="javax.enterprise.inject.spi.Extension")
@SpecVersion(spec="cdi",
             version="20091101")
public class AlternativeMetadataTest
extends AbstractJSR299Test

This test class contains tests for adding meta data using extensions.

Author:
Jozef Hartinger

Constructor Summary
AlternativeMetadataTest()
           
 
Method Summary
 void testExtraQualifierAppliedToObservesMethodParameter()
           
 void testExtraQualifierIsAppliedToInjectedField()
           
 void testGetAnnotationUsedForGettingInterceptorInformation()
           
 void testGetAnnotationUsedForGettingQualifierInformation()
           
 void testGetAnnotationUsedForGettingScopeInformation()
           
 void testGetAnnotationUsedForGettingStereotypeInformation()
           
 void testGetBaseTypeUsedToDetermineTypeOfInjectionPoint()
           
 void testGetTypeClosureUsed()
           
 void testInjectCreatesInitializerMethod()
           
 void testObserverMethod()
           
 void testPreviouslyNonInjectAnnotatedConstructorIsUsed()
           
 void testPreviouslyNonInjectAnnotatedFieldIsInjected()
           
 void testProducesCreatesProducerField()
           
 void testProducesCreatesProducerMethod()
           
 void testQualifierAddedToInitializerParameter()
           
 void testQualifierIsAppliedToProducerMethod()
           
 void testQualifierIsAppliedToProducerMethodParameter()
           
 
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

testGetBaseTypeUsedToDetermineTypeOfInjectionPoint

@SpecAssertion(section="11.4",
               id="ha")
public void testGetBaseTypeUsedToDetermineTypeOfInjectionPoint()

testGetTypeClosureUsed

@SpecAssertion(section="11.4",
               id="ka")
public void testGetTypeClosureUsed()

testGetAnnotationUsedForGettingScopeInformation

@SpecAssertion(section="11.4",
               id="l")
public void testGetAnnotationUsedForGettingScopeInformation()

testGetAnnotationUsedForGettingQualifierInformation

@SpecAssertion(section="11.4",
               id="m")
public void testGetAnnotationUsedForGettingQualifierInformation()

testGetAnnotationUsedForGettingStereotypeInformation

@SpecAssertion(section="11.4",
               id="n")
public void testGetAnnotationUsedForGettingStereotypeInformation()

testGetAnnotationUsedForGettingInterceptorInformation

@SpecAssertion(section="11.4",
               id="p")
public void testGetAnnotationUsedForGettingInterceptorInformation()

testPreviouslyNonInjectAnnotatedConstructorIsUsed

@SpecAssertion(section="11.4",
               id="r")
public void testPreviouslyNonInjectAnnotatedConstructorIsUsed()

testPreviouslyNonInjectAnnotatedFieldIsInjected

@SpecAssertion(section="11.4",
               id="t")
public void testPreviouslyNonInjectAnnotatedFieldIsInjected()

testExtraQualifierIsAppliedToInjectedField

@SpecAssertion(section="11.4",
               id="u")
public void testExtraQualifierIsAppliedToInjectedField()

testProducesCreatesProducerField

@SpecAssertion(section="11.4",
               id="v")
public void testProducesCreatesProducerField()

testInjectCreatesInitializerMethod

@SpecAssertion(section="11.4",
               id="w")
public void testInjectCreatesInitializerMethod()

testQualifierAddedToInitializerParameter

@SpecAssertion(section="11.4",
               id="x")
public void testQualifierAddedToInitializerParameter()

testProducesCreatesProducerMethod

@SpecAssertion(section="11.4",
               id="y")
public void testProducesCreatesProducerMethod()

testQualifierIsAppliedToProducerMethod

@SpecAssertion(section="11.4",
               id="z")
public void testQualifierIsAppliedToProducerMethod()

testQualifierIsAppliedToProducerMethodParameter

@SpecAssertion(section="11.4",
               id="aa")
public void testQualifierIsAppliedToProducerMethodParameter()

testObserverMethod

@SpecAssertions(value={@SpecAssertion(section="11.4",id="ae"),@SpecAssertion(section="11.4",id="ag")})
public void testObserverMethod()

testExtraQualifierAppliedToObservesMethodParameter

@SpecAssertion(section="11.4",
               id="af")
public void testExtraQualifierAppliedToObservesMethodParameter()


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