Class CustomBeanImplementationTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.full.definition.bean.custom.CustomBeanImplementationTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class CustomBeanImplementationTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description CustomBeanImplementationTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchivecreateTestArchive()voidtestCustomBeanIsPassivationCapable()voidtestCustomBeanIsPassivationCapableDependency()voidtestCustomBeanNotAutomaticallySelected()voidtestGetBeanClassCalled()voidtestGetBindingsCalled()voidtestGetInjectionPointsCalled(Bar bar)voidtestGetNameCalled()voidtestGetScopeTypeCalled()voidtestGetStereotypesCalled()voidtestGetTypesCalled()voidtestInjectionPointGetMemberIsUsedToDetermineTheClassThatDeclaresAnInjectionPoint()voidtestIsPolicyCalled()-
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()
-
testGetBeanClassCalled
@SpecAssertion(section="declaring_selected_alternatives_bean_archive",id="h") @SpecAssertion(section="inter_module_injection",id="q") public void testGetBeanClassCalled()
-
testGetStereotypesCalled
@SpecAssertion(section="declaring_selected_alternatives_bean_archive", id="h") public void testGetStereotypesCalled()
-
testIsPolicyCalled
@SpecAssertion(section="declaring_selected_alternatives_bean_archive", id="h") public void testIsPolicyCalled()
-
testCustomBeanNotAutomaticallySelected
@SpecAssertion(section="declaring_selected_alternatives_bean_archive", id="h") public void testCustomBeanNotAutomaticallySelected()
-
testGetTypesCalled
@SpecAssertion(section="performing_typesafe_resolution", id="na") public void testGetTypesCalled()
-
testGetBindingsCalled
@SpecAssertion(section="performing_typesafe_resolution", id="nb") public void testGetBindingsCalled()
-
testGetInjectionPointsCalled
@SpecAssertion(section="unsatisfied_and_ambig_dependencies",id="b") @SpecAssertion(section="passivation_validation",id="ga") @SpecAssertion(section="passivation_validation",id="gb") public void testGetInjectionPointsCalled(Bar bar)
-
testGetNameCalled
@SpecAssertion(section="name_resolution", id="e") public void testGetNameCalled()
-
testGetScopeTypeCalled
@SpecAssertion(section="contextual_instance", id="e") public void testGetScopeTypeCalled()
-
testCustomBeanIsPassivationCapable
@SpecAssertion(section="passivation_capable", id="ea") public void testCustomBeanIsPassivationCapable() throws IOException, ClassNotFoundException- Throws:
IOExceptionClassNotFoundException
-
testCustomBeanIsPassivationCapableDependency
@SpecAssertion(section="passivation_capable_dependency", id="fa") public void testCustomBeanIsPassivationCapableDependency() throws IOException, ClassNotFoundException- Throws:
IOExceptionClassNotFoundException
-
testInjectionPointGetMemberIsUsedToDetermineTheClassThatDeclaresAnInjectionPoint
public void testInjectionPointGetMemberIsUsedToDetermineTheClassThatDeclaresAnInjectionPoint()
-
-