org.openorb.orb.test.rmi.exceptions
Class ExceptionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openorb.orb.test.rmi.RMITestCase
              extended by org.openorb.orb.test.rmi.exceptions.ExceptionTest
All Implemented Interfaces:
junit.framework.Test

public class ExceptionTest
extends RMITestCase

A test case checking the different exceptions.

Author:
Stefan Reich

Constructor Summary
ExceptionTest(java.lang.String name)
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
          The entry point of this application.
protected  void setUp()
          Set up the test case.
protected  void tearDown()
          Dispose the test case.
 void testExceptions()
          Test echoing a string.
 
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

ExceptionTest

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

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

setUp

protected void setUp()
Set up the test case.

Overrides:
setUp in class RMITestCase

tearDown

protected void tearDown()
Dispose the test case.

Overrides:
tearDown in class RMITestCase

testExceptions

public void testExceptions()
                    throws java.lang.Exception
Test echoing a string. Strings are marshalled as valuetypes, which allows nulls and multiple indirected writes.

Throws:
java.lang.Exception - If any unexpected problem occurs in the test case

main

public static void main(java.lang.String[] args)
The entry point of this application.

Parameters:
args - The command line parameters.