org.jboss.jsr299.tck.tests.lookup.el
Class ResolutionByNameTest

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

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


Constructor Summary
ResolutionByNameTest()
           
 
Method Summary
 void testContextCreatesNewInstanceForInjection()
           
 void testELResolverReturnsContextualInstance()
           
 void testQualifiedNameLookup()
           
 void testUnresolvedNameReturnsNull()
           
 
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

ResolutionByNameTest

public ResolutionByNameTest()
Method Detail

testQualifiedNameLookup

@SpecAssertion(section="6.4.3",
               id="a")
public void testQualifiedNameLookup()

testContextCreatesNewInstanceForInjection

@SpecAssertion(section="6.5.2",
               id="a")
public void testContextCreatesNewInstanceForInjection()

testUnresolvedNameReturnsNull

@SpecAssertion(section="12.4",
               id="c")
public void testUnresolvedNameReturnsNull()

testELResolverReturnsContextualInstance

@SpecAssertions(value={@SpecAssertion(section="12.4",id="d"),@SpecAssertion(section="2.5",id="a")})
public void testELResolverReturnsContextualInstance()


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