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

@SpecVersion(spec="cdi",
             version="20091101")
public class AlternativeMetadataTest
extends AbstractTest

This test class contains tests for adding meta data using extensions. Temporarily marked as integration tests - see SHRINKWRAP-369.

Author:
Jozef Hartinger, 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 testContainerUsesOperationsOfAnnotatedNotReflectionApi()
           
 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.cdi.tck.AbstractTest
annotationSetMatches, annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, rawTypeSetMatches, serialize, 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()

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()

testContainerUsesOperationsOfAnnotatedNotReflectionApi

@SpecAssertion(section="11.4",
               id="h")
public void testContainerUsesOperationsOfAnnotatedNotReflectionApi()


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