org.jboss.webbeans.tck.unit.lookup.injection
Class InjectionTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.unit.lookup.injection.InjectionTest

public class InjectionTest
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
InjectionTest()
           
 
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 testFieldDeclaredInSuperclassInjected()
           
 void testInjectedFieldDeclaredInXmlAssumesCurrent()
           
 void testInjectedFieldDeclaredInXmlIgnoresJavaAnnotations()
           
 void testInjectFieldsDeclaredInXml()
           
 void testInjectFieldsDeclaredInXmlAndJava()
           
 void testInjectingFinalField()
           
 void testInjectingStaticField()
           
 void testInjectionPerformsBoxingIfNecessary()
           
 void testInvokeDependentScopeWhenContextNotActive()
           
 void testInvokeNormalInjectedWebBeanWhenContextNotActive()
           
 void testNonexistentFieldDefinedInXml()
           
 void testPrimitiveInjectionPointResolvesToNullableWebBean()
           
 
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

InjectionTest

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

testInjectionPerformsBoxingIfNecessary

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

testPrimitiveInjectionPointResolvesToNullableWebBean

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

testInvokeNormalInjectedWebBeanWhenContextNotActive

@SpecAssertion(section="5.3")
public void testInvokeNormalInjectedWebBeanWhenContextNotActive()

testInvokeDependentScopeWhenContextNotActive

@SpecAssertion(section="5.3")
public void testInvokeDependentScopeWhenContextNotActive()

testInjectingStaticField

@SpecAssertion(section="3.7")
public void testInjectingStaticField()

testInjectingFinalField

@SpecAssertion(section="3.7")
public void testInjectingFinalField()

testFieldDeclaredInSuperclassInjected

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

testInjectFieldsDeclaredInXml

@SpecAssertion(section="3.8.2")
public void testInjectFieldsDeclaredInXml()

testInjectedFieldDeclaredInXmlIgnoresJavaAnnotations

@SpecAssertion(section="3.8.2")
public void testInjectedFieldDeclaredInXmlIgnoresJavaAnnotations()

testInjectedFieldDeclaredInXmlAssumesCurrent

@SpecAssertion(section="3.8.2")
public void testInjectedFieldDeclaredInXmlAssumesCurrent()

testNonexistentFieldDefinedInXml

@SpecAssertion(section="3.8.2")
public void testNonexistentFieldDefinedInXml()

testInjectFieldsDeclaredInXmlAndJava

@SpecAssertion(section="3.8.2")
public void testInjectFieldsDeclaredInXmlAndJava()


Copyright © 2008-2009. All Rights Reserved.