org.jboss.cdi.tck.tests.lookup.dynamic
Class DynamicLookupTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.jboss.cdi.tck.AbstractTest
org.jboss.cdi.tck.tests.lookup.dynamic.DynamicLookupTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@SpecVersion(spec="cdi",
version="20091101")
public class DynamicLookupTest- extends AbstractTest
Tests for dynamic lookup features
- Author:
- Shane Bryzak, Jozef Hartinger
| Fields inherited from class org.jboss.arquillian.testng.Arquillian |
ARQUILLIAN_DATA_PROVIDER |
| Methods inherited from class org.jboss.cdi.tck.AbstractTest |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches |
| Methods inherited from class org.jboss.arquillian.testng.Arquillian |
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicLookupTest
public DynamicLookupTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
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"),@SpecAssertion(section="5.6.3",id="a")})
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()
testNewBean
@SpecAssertions(value={@SpecAssertion(section="5.6",id="e"),@SpecAssertion(section="5.6.3",id="b")})
public void testNewBean()
testNewBeanNotEnabledWithouInjectionPoint
@SpecAssertion(section="3.14",
id="xc")
public void testNewBeanNotEnabledWithouInjectionPoint()
Copyright © 2008-2012 Seam Framework. All Rights Reserved.