org.openorb.orb.test.rmi
Class RMITestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openorb.orb.test.rmi.RMITestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ComplexTest, DummyTest, ExceptionTest, PrimitiveTest, SpecialTest

public abstract class RMITestCase
extends junit.framework.TestCase

Skeleton orb test case to use when testing an orb component. The pre_init and post init functions deal with creating and destroying orb instances for the client and server ends.

Author:
Chris Wood

Constructor Summary
RMITestCase(java.lang.String name)
          Constructor.
 
Method Summary
protected  void setUp()
          This method is called prior to calling run and basically starts up a server and client orb, and spawns a thread for the server orb to run with.
protected  void tearDown()
          This method is called after calling run.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMITestCase

public RMITestCase(java.lang.String name)
Constructor.

Parameters:
name - Name of the test case.
Method Detail

setUp

protected void setUp()
This method is called prior to calling run and basically starts up a server and client orb, and spawns a thread for the server orb to run with.

Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
This method is called after calling run. It shuts down the local name service.

Overrides:
tearDown in class junit.framework.TestCase