org.jboss.webbeans.tck.unit.lookup.typesafe
Class ResolutionByTypeTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.lookup.typesafe.ResolutionByTypeTest

public class ResolutionByTypeTest
extends AbstractTest

Spec version: PRD2


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.webbeans.tck.AbstractTest
AbstractTest.RunInDependentContext
 
Field Summary
 
Fields inherited from class org.jboss.webbeans.tck.AbstractTest
BUILT_IN_BEANS, manager, visited
 
Constructor Summary
ResolutionByTypeTest()
           
 
Method Summary
protected  java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledDeploymentTypes()
          This method should be overridden by test classes which need to enable additional deployment types beyond the normal ones.
 void testAllBindingTypesSpecifiedForResolutionMustAppearOnWebBean()
           
 void testAnnotationValuedAnnotationMemberWithoutNonBinding()
           
 void testArrayValuedAnnotationMemberWithoutNonBinding()
           
 void testDefaultBindingTypeAssumed()
           
 void testDuplicateBindingTypesUsed()
           
 void testNonBindingTypeUsed()
           
 void testNoWebBeansFound()
           
 void testOnlyHighestEnabledPrecedenceWebBeansResolved()
           
<T> void
testParameterizedTypeWithTypeParameter()
           
 void testParameterizedTypeWithWildcardParameter()
           
 void testResolveByType()
           
 void testResolveByTypeWithArray()
           
 void testResolveByTypeWithNonBindingMembers()
           
 void testResolveByTypeWithTypeParameter()
           
 
Methods inherited from class org.jboss.webbeans.tck.AbstractTest
activateDependentContext, after, before, createEnterpriseBean, createProducerFieldBean, createProducerMethodBean, createSimpleBean, deactivateDependentContext, deployBeans, deserialize, getStandardDeploymentTypes, mockCreationalContext, serialize
 
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

getEnabledDeploymentTypes

protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEnabledDeploymentTypes()
Description copied from class: AbstractTest
This method should be overridden by test classes which need to enable additional deployment types beyond the normal ones.

Overrides:
getEnabledDeploymentTypes in class AbstractTest
Returns:
the list of enabled deployment types

testDefaultBindingTypeAssumed

@SpecAssertion(section="5.9")
public void testDefaultBindingTypeAssumed()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testParameterizedTypeWithWildcardParameter

@SpecAssertion(section="5.9")
public void testParameterizedTypeWithWildcardParameter()

testParameterizedTypeWithTypeParameter

@SpecAssertion(section="5.9")
public <T> void testParameterizedTypeWithTypeParameter()

testDuplicateBindingTypesUsed

@SpecAssertion(section="5.9")
public void testDuplicateBindingTypesUsed()

testNonBindingTypeUsed

@SpecAssertion(section="5.9")
public void testNonBindingTypeUsed()

testResolveByType

@SpecAssertion(section="5.9")
public void testResolveByType()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testAllBindingTypesSpecifiedForResolutionMustAppearOnWebBean

@SpecAssertion(section={"2.3.5","5.9.2"})
public void testAllBindingTypesSpecifiedForResolutionMustAppearOnWebBean()

testResolveByTypeWithTypeParameter

@SpecAssertion(section="5.9")
public void testResolveByTypeWithTypeParameter()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testResolveByTypeWithArray

@SpecAssertion(section="5.9")
public void testResolveByTypeWithArray()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testOnlyHighestEnabledPrecedenceWebBeansResolved

@SpecAssertion(section="5.9")
public void testOnlyHighestEnabledPrecedenceWebBeansResolved()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testNoWebBeansFound

@SpecAssertion(section="5.9")
public void testNoWebBeansFound()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testResolveByTypeWithNonBindingMembers

@SpecAssertion(section="5.9.1")
public void testResolveByTypeWithNonBindingMembers()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testArrayValuedAnnotationMemberWithoutNonBinding

@SpecAssertion(section="5.9.1")
public void testArrayValuedAnnotationMemberWithoutNonBinding()

testAnnotationValuedAnnotationMemberWithoutNonBinding

@SpecAssertion(section="5.9.1")
public void testAnnotationValuedAnnotationMemberWithoutNonBinding()


Copyright © 2008-2009. All Rights Reserved.