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

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

public class InstantiationByTypeTest
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
InstantiationByTypeTest()
           
 
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 testAmbiguousDependencies()
           
 void testCurrentBindingTypeAssumed()
           
 void testDuplicateBindingTypesUsed()
           
 void testNonBindingTypeUsed()
           
<T> void
testParameterizedTypeWithTypeParameter()
           
 void testParameterizedTypeWithWildcardParameter()
           
 void testUnproxyableDependencies()
           
 void testUnsatisfiedDependencies()
           
 
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

InstantiationByTypeTest

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

testCurrentBindingTypeAssumed

@SpecAssertion(section="5.8")
public void testCurrentBindingTypeAssumed()

testParameterizedTypeWithWildcardParameter

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

testParameterizedTypeWithTypeParameter

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

testDuplicateBindingTypesUsed

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

testNonBindingTypeUsed

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

testAmbiguousDependencies

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

testUnsatisfiedDependencies

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

testUnproxyableDependencies

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


Copyright © 2008-2009. All Rights Reserved.