org.jboss.jsr299.tck.tests.lookup.typesafe.resolution
Class ResolutionByTypeTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.ResolutionByTypeTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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


Constructor Summary
ResolutionByTypeTest()
           
 
Method Summary
 void testAllQualifiersSpecifiedForResolutionMustAppearOnBean()
           
 void testBeanTypesOnManagedBean()
           
 void testBeanTypesOnProducerField()
           
 void testBeanTypesOnProducerMethod()
           
 void testDefaultBindingTypeAssumed()
           
 void testGenericBeanTypesOnManagedBean()
           
 void testGenericBeanTypesOnProducerField()
           
 void testGenericBeanTypesOnProducerMethod()
           
 void testPolicyNotAvailableInNonDeploymentArchive()
           
 void testResolveByType()
           
 void testResolveByTypeWithArray()
           
 void testResolveByTypeWithNonBindingMembers()
           
 void testResolveByTypeWithPrimitives()
           
 void testResolveByTypeWithTypeParameter()
           
 
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

ResolutionByTypeTest

public ResolutionByTypeTest()
Method Detail

testDefaultBindingTypeAssumed

@SpecAssertion(section="5.2",
               id="lb")
public void testDefaultBindingTypeAssumed()
                                   throws Exception
Throws:
Exception

testResolveByType

@SpecAssertion(section="5.2",
               id="hc")
public void testResolveByType()
                       throws Exception
Throws:
Exception

testAllQualifiersSpecifiedForResolutionMustAppearOnBean

@SpecAssertions(value={@SpecAssertion(section="2.3.4",id="b"),@SpecAssertion(section="5.2",id="lc"),@SpecAssertion(section="2.3.3",id="d"),@SpecAssertion(section="5.2",id="la"),@SpecAssertion(section="5.2.6",id="a"),@SpecAssertion(section="5.2.6",id="d")})
public void testAllQualifiersSpecifiedForResolutionMustAppearOnBean()

testResolveByTypeWithTypeParameter

@SpecAssertions(value=@SpecAssertion(section="5.2",id="ka"))
public void testResolveByTypeWithTypeParameter()
                                        throws Exception
Throws:
Exception

testResolveByTypeWithArray

@SpecAssertions(value={@SpecAssertion(section="5.2",id="j"),@SpecAssertion(section="2.2.1",id="i")})
public void testResolveByTypeWithArray()
                                throws Exception
Throws:
Exception

testResolveByTypeWithPrimitives

@SpecAssertions(value={@SpecAssertion(section="5.2",id="i"),@SpecAssertion(section="5.2.4",id="aa"),@SpecAssertion(section="5.2.4",id="ab"),@SpecAssertion(section="5.2.6",id="b"),@SpecAssertion(section="5.2.6",id="c")})
public void testResolveByTypeWithPrimitives()

testResolveByTypeWithNonBindingMembers

@SpecAssertions(value={@SpecAssertion(section="5.2",id="ld"),@SpecAssertion(section="5.2.5",id="b")})
public void testResolveByTypeWithNonBindingMembers()
                                            throws Exception
Throws:
Exception

testPolicyNotAvailableInNonDeploymentArchive

@SpecAssertion(section="5.1.4",
               id="i")
public void testPolicyNotAvailableInNonDeploymentArchive()
                                                  throws Exception
Throws:
Exception

testBeanTypesOnManagedBean

@SpecAssertion(section="2.2.2",
               id="a")
public void testBeanTypesOnManagedBean()

testGenericBeanTypesOnManagedBean

@SpecAssertion(section="2.2.2",
               id="e")
public void testGenericBeanTypesOnManagedBean()

testBeanTypesOnProducerMethod

@SpecAssertion(section="2.2.2",
               id="c")
public void testBeanTypesOnProducerMethod()

testGenericBeanTypesOnProducerField

@SpecAssertion(section="2.2.2",
               id="h")
public void testGenericBeanTypesOnProducerField()

testGenericBeanTypesOnProducerMethod

@SpecAssertion(section="2.2.2",
               id="g")
public void testGenericBeanTypesOnProducerMethod()

testBeanTypesOnProducerField

@SpecAssertion(section="2.2.2",
               id="d")
public void testBeanTypesOnProducerField()


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