Class ResolutionByNameTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.lookup.el.ResolutionByNameTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class ResolutionByNameTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description ResolutionByNameTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestBeanNameWithSeparatedListOfELIdentifiers()voidtestContextCreatesNewInstanceForInjection()voidtestELResolverReturnsContextualInstance()voidtestQualifiedNameLookup()voidtestUnresolvedNameReturnsNull()-
Methods inherited from class org.jboss.cdi.tck.AbstractTest
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentBeanContainer, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatches
-
-
-
-
Method Detail
-
createTestArchive
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
-
testQualifiedNameLookup
@SpecAssertion(section="dependent_scope_el", id="a") public void testQualifiedNameLookup()
-
testContextCreatesNewInstanceForInjection
@SpecAssertion(section="contextual_instance",id="a") @SpecAssertion(section="contextual_instance",id="b") public void testContextCreatesNewInstanceForInjection()
-
testUnresolvedNameReturnsNull
@SpecAssertion(section="el", id="c") public void testUnresolvedNameReturnsNull()
-
testELResolverReturnsContextualInstance
@SpecAssertion(section="el",id="d") @SpecAssertion(section="names",id="a") public void testELResolverReturnsContextualInstance()
-
testBeanNameWithSeparatedListOfELIdentifiers
@SpecAssertions(@SpecAssertion(section="names",id="a")) public void testBeanNameWithSeparatedListOfELIdentifiers()
-
-