org.openorb.orb.test.corba
Class ORBTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openorb.orb.test.corba.ORBTest
All Implemented Interfaces:
junit.framework.Test

public class ORBTest
extends junit.framework.TestCase

An ORB test case.

Author:
Chris Wood

Constructor Summary
ORBTest(java.lang.String name)
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
          The entry point of the test case.
 void setUp()
          Set up the test case.
protected  void tearDown()
          Dispose the test case.
 void testCorbaloc()
          ORBClass test.
 void testORB()
          ORBClass test.
 
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

ORBTest

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

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

setUp

public void setUp()
Set up the test case.

Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Dispose the test case.

Overrides:
tearDown in class junit.framework.TestCase

testCorbaloc

public void testCorbaloc()
                  throws org.omg.CORBA.UserException
ORBClass test. Test all ORB operations like resolve_initial_references and create operations.

Throws:
org.omg.CORBA.UserException - if any of the test case fails

testORB

public void testORB()
             throws org.omg.CORBA.UserException
ORBClass test. Test all ORB operations like resolve_initial_references and create operations.

Throws:
org.omg.CORBA.UserException - if any of the test case fails

main

public static void main(java.lang.String[] args)
The entry point of the test case.

Parameters:
args - The command line arguments.