org.jboss.jsr299.tck.tests.implementation.simple.lifecycle
Class SimpleBeanLifecycleTest
java.lang.Object
org.jboss.testharness.AbstractTest
org.jboss.jsr299.tck.AbstractJSR299Test
org.jboss.jsr299.tck.tests.implementation.simple.lifecycle.SimpleBeanLifecycleTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@Artifact
@BeansXml(value="beans.xml")
@SpecVersion(spec="cdi",
version="20091101")
public class SimpleBeanLifecycleTest
- extends AbstractJSR299Test
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 |
SimpleBeanLifecycleTest
public SimpleBeanLifecycleTest()
testInjectionOfParametersIntoBeanConstructor
@SpecAssertions(value={@SpecAssertion(section="3.7.1",id="f"),@SpecAssertion(section="3.7.1",id="g"),@SpecAssertion(section="2.3.5",id="d")})
public void testInjectionOfParametersIntoBeanConstructor()
testSerializeRequestScoped
@SpecAssertions(value=@SpecAssertion(section="6.6.2",id="b"))
public void testSerializeRequestScoped()
throws Exception
- Throws:
Exception
testSerializeSessionScoped
@SpecAssertions(value=@SpecAssertion(section="6.6.2",id="b"))
public void testSerializeSessionScoped()
throws Exception
- Throws:
Exception
testQualifierTypeAnnotatedConstructor
@SpecAssertion(section="3.7.1",
id="g")
public void testQualifierTypeAnnotatedConstructor()
testSpecializedBeanExtendsManagedBean
@SpecAssertions(value=@SpecAssertion(section="3.1.4",id="ac"))
public void testSpecializedBeanExtendsManagedBean()
testCreateReturnsSameBeanPushed
@SpecAssertions(value={@SpecAssertion(section="6.1.1",id="d"),@SpecAssertion(section="6.1.1",id="g")})
public void testCreateReturnsSameBeanPushed()
testBeanCreateInjectsDependenciesAndInvokesInitializerToInstantiateInstance
@SpecAssertions(value=@SpecAssertion(section="7.3.1",id="aa"))
public void testBeanCreateInjectsDependenciesAndInvokesInitializerToInstantiateInstance()
testManagedBean
@SpecAssertions(value={@SpecAssertion(section="2",id="g"),@SpecAssertion(section="2.2.1",id="b"),@SpecAssertion(section="2.2.1",id="k"),@SpecAssertion(section="12.2",id="da")})
public void testManagedBean()
testCreateInjectsFieldsDeclaredInJava
@SpecAssertions(value={@SpecAssertion(section="7.3.1",id="aa"),@SpecAssertion(section="3.8.1",id="aa"),@SpecAssertion(section="2.3.4",id="a"),@SpecAssertion(section="3.8",id="a"),@SpecAssertion(section="12.1",id="bca")})
public void testCreateInjectsFieldsDeclaredInJava()
testContextCreatesNewInstanceForInjection
@SpecAssertions(value=@SpecAssertion(section="6.2",id="l"))
public void testContextCreatesNewInstanceForInjection()
testPostConstructPreDestroy
@SpecAssertions(value={@SpecAssertion(section="7.3.1",id="aa"),@SpecAssertion(section="7.3.1",id="ba")})
public void testPostConstructPreDestroy()
testContextualDestroyDisposesWhenNecessary
@SpecAssertions(value={@SpecAssertion(section="6.5.3",id="a0"),@SpecAssertion(section="7.3.1",id="ba")})
public void testContextualDestroyDisposesWhenNecessary()
testContextualDestroyCatchesException
@SpecAssertions(value=@SpecAssertion(section="6.1",id="a1"))
public void testContextualDestroyCatchesException()
testDependentsDestroyedAfterPreDestroy
@SpecAssertions(value=@SpecAssertion(section="5.5.3",id="a"))
public void testDependentsDestroyedAfterPreDestroy()
testSubClassInheritsPostConstructOnSuperclass
@SpecAssertion(section="4.2",
id="baa")
public void testSubClassInheritsPostConstructOnSuperclass()
testIndirectSubClassInheritsPostConstructOnSuperclass
@SpecAssertion(section="4.2",
id="bac")
public void testIndirectSubClassInheritsPostConstructOnSuperclass()
testSubClassInheritsPreDestroyOnSuperclass
@SpecAssertion(section="4.2",
id="bba")
public void testSubClassInheritsPreDestroyOnSuperclass()
testIndirectSubClassInheritsPreDestroyOnSuperclass
@SpecAssertion(section="4.2",
id="bbc")
public void testIndirectSubClassInheritsPreDestroyOnSuperclass()
testSubClassDoesNotInheritPostConstructOnSuperclassBlockedByIntermediateClass
@SpecAssertion(section="4.2",
id="baa")
public void testSubClassDoesNotInheritPostConstructOnSuperclassBlockedByIntermediateClass()
testSubClassDoesNotInheritPreDestroyConstructOnSuperclassBlockedByIntermediateClass
@SpecAssertion(section="4.2",
id="bba")
public void testSubClassDoesNotInheritPreDestroyConstructOnSuperclassBlockedByIntermediateClass()
testCreationExceptionWrapsCheckedExceptionThrownFromCreate
@SpecAssertion(section="6.1",
id="a0")
public void testCreationExceptionWrapsCheckedExceptionThrownFromCreate()
testUncheckedExceptionThrownFromCreateNotWrapped
@SpecAssertion(section="6.1",
id="a0")
public void testUncheckedExceptionThrownFromCreateNotWrapped()
Copyright © 2008-2012 Seam Framework. All Rights Reserved.