Class SimpleBeanLifecycleTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.jboss.cdi.tck.AbstractTest
-
- org.jboss.cdi.tck.tests.implementation.simple.lifecycle.SimpleBeanLifecycleTest
-
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@SpecVersion(spec="cdi", version="2.0") public class SimpleBeanLifecycleTest extends AbstractTest
-
-
Field Summary
-
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
-
-
Constructor Summary
Constructors Constructor Description SimpleBeanLifecycleTest()
-
Method Summary
-
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()
-
testInjectionOfParametersIntoBeanConstructor
@SpecAssertion(section="declaring_bean_constructor",id="f") @SpecAssertion(section="declaring_bean_constructor",id="g") @SpecAssertion(section="method_constructor_parameter_qualifiers",id="d") public void testInjectionOfParametersIntoBeanConstructor()
-
testQualifierTypeAnnotatedConstructor
@SpecAssertion(section="declaring_bean_constructor", id="g") public void testQualifierTypeAnnotatedConstructor()
-
testCreateReturnsSameBeanPushed
@SpecAssertion(section="creational_context",id="d") @SpecAssertion(section="creational_context",id="g") public void testCreateReturnsSameBeanPushed()
-
testBeanCreateInjectsDependenciesAndInvokesInitializerToInstantiateInstance
@SpecAssertions(@SpecAssertion(section="managed_bean_lifecycle",id="aa")) public void testBeanCreateInjectsDependenciesAndInvokesInitializerToInstantiateInstance()
-
testManagedBean
@SpecAssertion(section="concepts",id="g") @SpecAssertion(section="legal_bean_types",id="b") @SpecAssertion(section="legal_bean_types",id="k") @SpecAssertion(section="initialization",id="ja") public void testManagedBean()
-
testCreateInjectsFieldsDeclaredInJava
@SpecAssertion(section="managed_bean_lifecycle",id="aa") @SpecAssertion(section="declaring_bean_constructor",id="aa") @SpecAssertion(section="injected_field_qualifiers",id="a") @SpecAssertion(section="injected_fields",id="a") @SpecAssertion(section="declaring_injected_field",id="aa") @SpecAssertion(section="bean_archive_ee",id="jg") public void testCreateInjectsFieldsDeclaredInJava()
-
testContextCreatesNewInstanceForInjection
@SpecAssertions(@SpecAssertion(section="context",id="l")) public void testContextCreatesNewInstanceForInjection()
-
testPostConstructPreDestroy
@SpecAssertion(section="managed_bean_lifecycle",id="aa") @SpecAssertion(section="managed_bean_lifecycle",id="ba") public void testPostConstructPreDestroy()
-
testContextualDestroyDisposesWhenNecessary
@SpecAssertion(section="contextual_reference",id="aa") @SpecAssertion(section="managed_bean_lifecycle",id="ba") @SpecAssertion(section="contextual_reference",id="c") public void testContextualDestroyDisposesWhenNecessary()
-
testContextualDestroyCatchesException
@SpecAssertions(@SpecAssertion(section="contextual",id="ab")) public void testContextualDestroyCatchesException()
-
testDependentsDestroyedAfterPreDestroy
@SpecAssertions(@SpecAssertion(section="dependent_objects_destruction",id="a")) public void testDependentsDestroyedAfterPreDestroy()
-
testSubClassInheritsPostConstructOnSuperclass
@SpecAssertion(section="member_level_inheritance", id="baa") public void testSubClassInheritsPostConstructOnSuperclass(jakarta.enterprise.inject.Instance<Object> instance)
-
testIndirectSubClassInheritsPostConstructOnSuperclass
@SpecAssertion(section="member_level_inheritance", id="bac") public void testIndirectSubClassInheritsPostConstructOnSuperclass()
-
testSubClassInheritsPreDestroyOnSuperclass
@SpecAssertion(section="member_level_inheritance", id="bba") public void testSubClassInheritsPreDestroyOnSuperclass()
-
testIndirectSubClassInheritsPreDestroyOnSuperclass
@SpecAssertion(section="member_level_inheritance", id="bbc") public void testIndirectSubClassInheritsPreDestroyOnSuperclass()
-
testSubClassDoesNotInheritPostConstructOnSuperclassBlockedByIntermediateClass
@SpecAssertion(section="member_level_inheritance", id="baa") public void testSubClassDoesNotInheritPostConstructOnSuperclassBlockedByIntermediateClass()
-
testSubClassDoesNotInheritPreDestroyConstructOnSuperclassBlockedByIntermediateClass
@SpecAssertion(section="member_level_inheritance", id="bba") public void testSubClassDoesNotInheritPreDestroyConstructOnSuperclassBlockedByIntermediateClass()
-
testCreationExceptionWrapsCheckedExceptionThrownFromCreate
@SpecAssertion(section="contextual", id="aa") public void testCreationExceptionWrapsCheckedExceptionThrownFromCreate()
-
testUncheckedExceptionThrownFromCreateNotWrapped
@SpecAssertion(section="contextual", id="aa") public void testUncheckedExceptionThrownFromCreateNotWrapped()
-
-