org.jboss.jsr299.tck.tests.implementation.enterprise.lifecycle
Class EnterpriseBeanLifecycleTest
java.lang.Object
org.jboss.testharness.AbstractTest
org.jboss.jsr299.tck.AbstractJSR299Test
org.jboss.jsr299.tck.tests.implementation.enterprise.lifecycle.EnterpriseBeanLifecycleTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@Artifact
@Packaging(value=EAR)
@SpecVersion(spec="cdi",
version="20091101")
public class EnterpriseBeanLifecycleTest
- extends AbstractJSR299Test
Sections
6.5. Lifecycle of stateful session beans
6.6. Lifecycle of stateless session and singleton beans
6.11. Lifecycle of EJBs
Mostly overlapping with other tests...
- Author:
- Nicklas Karlsson, David Allen
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 |
EnterpriseBeanLifecycleTest
public EnterpriseBeanLifecycleTest()
testCreateSFSB
@SpecAssertions(value={@SpecAssertion(section="7.3.2",id="aa"),@SpecAssertion(section="7.3.2",id="bb"),@SpecAssertion(section="6.5.3",id="b"),@SpecAssertion(section="12.1",id="bba")})
public void testCreateSFSB()
throws Exception
- Throws:
Exception
testSerializeSFSB
@SpecAssertions(value=@SpecAssertion(section="6.6.2",id="a"))
public void testSerializeSFSB()
throws Exception
- Throws:
Exception
testDestroyRemovesSFSB
@SpecAssertions(value={@SpecAssertion(section="7.3.2",id="bc"),@SpecAssertion(section="7.3.3",id="c")})
public void testDestroyRemovesSFSB()
throws Exception
- Throws:
Exception
testRemovedEjbIgnored
@SpecAssertions(value={@SpecAssertion(section="7.3.2",id="bc"),@SpecAssertion(section="3.2.1",id="dba")})
public void testRemovedEjbIgnored()
testCreateSLSB
@SpecAssertions(value=@SpecAssertion(section="7.3.3",id="b"))
public void testCreateSLSB()
testInitializerMethodsCalledWithCurrentParameterValues
@SpecAssertion(section="3.9.1",
id="f")
public void testInitializerMethodsCalledWithCurrentParameterValues()
testDependentObjectsDestroyed
@SpecAssertion(section="5.5.3",
id="a")
public void testDependentObjectsDestroyed()
testDirectSubClassInheritsPostConstructOnSuperclass
@SpecAssertion(section="4.2",
id="bab")
public void testDirectSubClassInheritsPostConstructOnSuperclass()
throws Exception
- Throws:
Exception
testIndirectSubClassInheritsPostConstructOnSuperclass
@SpecAssertion(section="4.2",
id="bad")
public void testIndirectSubClassInheritsPostConstructOnSuperclass()
throws Exception
- Throws:
Exception
testSubClassInheritsPreDestroyOnSuperclass
@SpecAssertion(section="4.2",
id="bbb")
public void testSubClassInheritsPreDestroyOnSuperclass()
throws Exception
- Throws:
Exception
testIndirectSubClassInheritsPreDestroyOnSuperclass
@SpecAssertion(section="4.2",
id="bbd")
public void testIndirectSubClassInheritsPreDestroyOnSuperclass()
throws Exception
- Throws:
Exception
Copyright © 2008-2012 Seam Framework. All Rights Reserved.