org.jboss.jsr299.tck.tests.lookup.injection
Class InjectionTest

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

@Artifact
@BeansXml(value="beans.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class InjectionTest
extends AbstractJSR299Test


Constructor Summary
InjectionTest()
           
 
Method Summary
 void testFieldDeclaredInIndirectSuperclassInjected()
           
 void testFieldDeclaredInSuperclassInjected()
           
 void testInjectionOfNamedBean()
           
 void testInjectionPerformsBoxingIfNecessary()
           
 
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

InjectionTest

public InjectionTest()
Method Detail

testInjectionPerformsBoxingIfNecessary

@SpecAssertion(section="5.2.4",
               id="aa")
public void testInjectionPerformsBoxingIfNecessary()
                                            throws Exception
Throws:
Exception

testInjectionOfNamedBean

@SpecAssertions(value={@SpecAssertion(section="5.2",id="kc"),@SpecAssertion(section="5.5",id="b"),@SpecAssertion(section="5.5.2",id="ac")})
public void testInjectionOfNamedBean()

testFieldDeclaredInSuperclassInjected

@SpecAssertion(section="4.2",
               id="aa")
public void testFieldDeclaredInSuperclassInjected()
                                           throws Exception
Throws:
Exception

testFieldDeclaredInIndirectSuperclassInjected

@SpecAssertion(section="4.2",
               id="ac")
public void testFieldDeclaredInIndirectSuperclassInjected()
                                                   throws Exception
Throws:
Exception


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