org.jboss.test.helloiiop.test
Class HelloTimingStressTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.helloiiop.test.HelloTimingStressTestCase

public class HelloTimingStressTestCase
extends JBossTestCase (src)

Simple tests of the Hello stateless session bean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
HelloTimingStressTestCase(java.lang.String name)
           
 
Method Summary
protected  javax.naming.InitialContext getInitialContext()
          Gets the InitialContext attribute of the JBossTestCase object
static Test suite()
           
 void testContextSpeed()
          This tests the speed of InitialContext lookups including getting the initial context.
 void testData()
          Test marshalling of custom data-holders.
 void testHello()
          Lookup the bean, call it, remove it.
 void testReusedContextSpeed()
          This tests the speed of JNDI lookups
 void testSpeed()
          This tests the speed of invocations
 void testSpeed2()
          This tests the speed of invocations
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, 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

HelloTimingStressTestCase

public HelloTimingStressTestCase(java.lang.String name)
                          throws java.io.IOException
Method Detail

getInitialContext

protected javax.naming.InitialContext getInitialContext()
                                                 throws java.lang.Exception
Description copied from class: JBossTestCase (src)
Gets the InitialContext attribute of the JBossTestCase object

Overrides:
getInitialContext in class JBossTestCase (src)
Returns:
The InitialContext value
Throws:
java.lang.Exception

testHello

public void testHello()
               throws java.lang.Exception
Lookup the bean, call it, remove it.

Throws:
java.lang.Exception

testData

public void testData()
              throws java.lang.Exception
Test marshalling of custom data-holders.

Throws:
java.lang.Exception

testSpeed

public void testSpeed()
               throws java.lang.Exception
This tests the speed of invocations

Throws:
java.lang.Exception

testSpeed2

public void testSpeed2()
                throws java.lang.Exception
This tests the speed of invocations

Throws:
java.lang.Exception

testContextSpeed

public void testContextSpeed()
                      throws java.lang.Exception
This tests the speed of InitialContext lookups including getting the initial context.

Throws:
java.lang.Exception

testReusedContextSpeed

public void testReusedContextSpeed()
                            throws java.lang.Exception
This tests the speed of JNDI lookups

Throws:
java.lang.Exception

suite

public static Test suite()
                  throws java.lang.Exception
Throws:
java.lang.Exception