org.jboss.test.jbossnet.state
Class StateUnitTestCase
java.lang.Object
TestCase
org.jboss.test.JBossTestCase (src)
org.jboss.test.jbossnet.JBossNetTestBase (src)
org.jboss.test.jbossnet.state.StateUnitTestCase
- Direct Known Subclasses:
- RedeployStateUnitTestCase (src)
- public class StateUnitTestCase
- extends JBossNetTestBase (src)
Tests remote accessibility of stateful ejb bean
- Since:
- 2. Oktober 2002, 12:11
- See Also:
- Serialized Form
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
setUp()
setup the bean |
static Test |
suite()
this is to deploy the whole ear |
void |
testFullState()
test stateful behaviour |
void |
testNoState()
test stateless behaviour |
void |
testState()
test stateful behaviour |
Methods inherited from class org.jboss.test.JBossTestCase (src) |
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateUnitTestCase
public StateUnitTestCase(java.lang.String name)
setUp
public void setUp()
throws java.lang.Exception
- setup the bean
- Throws:
java.lang.Exception
testState
public void testState()
throws java.lang.Exception
- test stateful behaviour
- Throws:
java.lang.Exception
testNoState
public void testNoState()
throws java.lang.Exception
- test stateless behaviour
- Throws:
java.lang.Exception
testFullState
public void testFullState()
throws java.lang.Exception
- test stateful behaviour
- Throws:
java.lang.Exception
suite
public static Test suite()
throws java.lang.Exception
- this is to deploy the whole ear
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)