org.jboss.jsr299.tck.tests.lookup.dynamic
Class DynamicLookupTest

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

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

Tests for dynamic lookup features

Author:
Shane Bryzak, Jozef Hartinger

Constructor Summary
DynamicLookupTest()
           
 
Method Summary
 void testAmbiguousDependencyThrowsException()
           
 void testDuplicateBindingsThrowsException()
           
 void testGetMethod()
           
 void testIsAmbiguous()
           
 void testIsUnsatisfied()
           
 void testIteratorMethod()
           
 void testNonBindingThrowsException()
           
 void testObtainsInjectsInstanceOfInstance()
           
 void testUnsatisfiedDependencyThrowsException()
           
 
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

DynamicLookupTest

public DynamicLookupTest()
Method Detail

testObtainsInjectsInstanceOfInstance

@SpecAssertions(value=@SpecAssertion(section="5.6",id="aa"))
public void testObtainsInjectsInstanceOfInstance()

testDuplicateBindingsThrowsException

@SpecAssertion(section="5.6.1",
               id="da")
public void testDuplicateBindingsThrowsException()

testNonBindingThrowsException

@SpecAssertion(section="5.6.1",
               id="e")
public void testNonBindingThrowsException()

testGetMethod

@SpecAssertions(value={@SpecAssertion(section="5.6",id="ba"),@SpecAssertion(section="5.6",id="ca"),@SpecAssertion(section="5.6.1",id="aa"),@SpecAssertion(section="5.6.1",id="ab"),@SpecAssertion(section="5.6.1",id="fa"),@SpecAssertion(section="5.6.1",id="fc")})
public void testGetMethod()

testUnsatisfiedDependencyThrowsException

@SpecAssertion(section="5.6.1",
               id="fba")
public void testUnsatisfiedDependencyThrowsException()

testAmbiguousDependencyThrowsException

@SpecAssertion(section="5.6.1",
               id="fbb")
public void testAmbiguousDependencyThrowsException()

testIteratorMethod

@SpecAssertions(value={@SpecAssertion(section="5.6.1",id="aa"),@SpecAssertion(section="5.6.1",id="ba"),@SpecAssertion(section="5.6.1",id="ja"),@SpecAssertion(section="5.6.1",id="ka")})
public void testIteratorMethod()

testIsUnsatisfied

@SpecAssertion(section="5.6.1",
               id="l")
public void testIsUnsatisfied()

testIsAmbiguous

@SpecAssertions(value={@SpecAssertion(section="5.6",id="da"),@SpecAssertion(section="5.6.1",id="m")})
public void testIsAmbiguous()


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