net.wgen.op
Class TestEjbOpExecutor

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.wgen.op.TestEjbOpExecutor
All Implemented Interfaces:
junit.framework.Test

public class TestEjbOpExecutor
extends junit.framework.TestCase

Version:
$Id: TestEjbOpExecutor.html,v 1.2 2007/01/28 04:09:36 paulfeuer Exp $
Author:
paulf

Field Summary
(package private) static boolean _testMultithread_longOpReturned
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestEjbOpExecutor()
           
 
Method Summary
 void testMultithread()
          Test that a single Stateless Session EJB can execute multiple Ops simulataneously by sending a time-consuming Op and verifying that a shorter Op can be executed during the longer one.
 void testServerTraceCapture()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_testMultithread_longOpReturned

static boolean _testMultithread_longOpReturned
Constructor Detail

TestEjbOpExecutor

public TestEjbOpExecutor()
Method Detail

testMultithread

public void testMultithread()
                     throws java.lang.InterruptedException
Test that a single Stateless Session EJB can execute multiple Ops simulataneously by sending a time-consuming Op and verifying that a shorter Op can be executed during the longer one.

Throws:
java.lang.InterruptedException

testServerTraceCapture

public void testServerTraceCapture()
                            throws java.lang.Exception
Throws:
java.lang.Exception