org.openorb.orb.test.rmi.special
Class SpecialTest

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.special.SpecialTest
All Implemented Interfaces:
junit.framework.Test

public class SpecialTest
extends RMITestCase

This test suit is used in order to test some other parts of the RMI over IIOP implementation : - narrowing - stub serialization and deserialization

Author:
Jerome Daniel

Constructor Summary
SpecialTest(java.lang.String name)
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
          The entry point for the test case.
protected  void setUp()
          Set up the test case.
protected  void tearDown()
          Dispose the test case.
 void testBadNarrow()
          Test narrowing incorrectly operations.
 void testSerialize()
          Test case for serialization and deserialization of a stub class.
 
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

SpecialTest

public SpecialTest(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

testBadNarrow

public void testBadNarrow()
Test narrowing incorrectly operations. An exception must be raised.


testSerialize

public void testSerialize()
Test case for serialization and deserialization of a stub class.


main

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

Parameters:
args - The command line parameters.