org.jboss.test.jbossnet.state
Class StateUnitTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.jbossnet.JBossNetTestBase (src) 
              extended byorg.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

Field Summary
 
Fields inherited from class org.jboss.test.jbossnet.JBossNetTestBase (src)
ADDRESS, AXIS_CONTEXT, PROTOCOL, SERVICE_PORT, SERVICES_LOCATION
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
StateUnitTestCase(java.lang.String name)
           
 
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.jbossnet.JBossNetTestBase (src)
createService, createService, getAxisConfiguration
 
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
 

Constructor Detail

StateUnitTestCase

public StateUnitTestCase(java.lang.String name)
Method Detail

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)