org.openorb.orb.test.pi
Class PITest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openorb.orb.test.ORBTestCase
              extended by org.openorb.orb.test.pi.PITest
All Implemented Interfaces:
junit.framework.Test

public class PITest
extends ORBTestCase

Tests marshaling and unmarshaling of various iiop types.

Author:
Chris Wood

Nested Class Summary
static class PITest.EmptyInitializer
          An empty ORB initializer class.
 
Constructor Summary
PITest(java.lang.String name)
          The constructor is responsible for constructing a test category and adding the suite of test cases.
 
Method Summary
static void main(java.lang.String[] args)
          The entry point of the test case.
protected  void setUp()
          Set up of the test case.
 void testCompleteCall()
          Test complete request call.
 void testCompleteCallWithSCs()
          Test complete request call with service contexts.
 void testToRecvReply()
          Abort at send_reply.
 void testToRecvRequest()
          Abort at receive_request.
 void testToRecvRequestRecvExcept()
          Abort at receive_request and recieve_exception.
 void testToRecvRequestSC()
          Abort at receive_request_service_contexts.
 void testToRecvRequestSCReceiveException()
          Abort at receive_request_service_contexts and recieve_exception.
 void testToSendReply()
          Abort at send_reply.
 void testToSendRequest()
          Abort at send_request.
 
Methods inherited from class org.openorb.orb.test.ORBTestCase
enteringTest, exitingTest, forceMarshal, getORB, restartORB, setUp, tearDown, writeVerboseHex
 
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

PITest

public PITest(java.lang.String name)
The constructor is responsible for constructing a test category and adding the suite of test cases. It throws CWClassConstructorException if it cannot construct the category.

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

setUp

protected void setUp()
Set up of the test case.

Overrides:
setUp in class ORBTestCase

testCompleteCall

public void testCompleteCall()
Test complete request call.


testCompleteCallWithSCs

public void testCompleteCallWithSCs()
                             throws org.omg.CORBA.UserException
Test complete request call with service contexts.

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

testToSendRequest

public void testToSendRequest()
Abort at send_request.


testToRecvRequestSC

public void testToRecvRequestSC()
Abort at receive_request_service_contexts.


testToRecvRequestSCReceiveException

public void testToRecvRequestSCReceiveException()
Abort at receive_request_service_contexts and recieve_exception.


testToRecvRequest

public void testToRecvRequest()
Abort at receive_request.


testToRecvRequestRecvExcept

public void testToRecvRequestRecvExcept()
Abort at receive_request and recieve_exception.


testToSendReply

public void testToSendReply()
Abort at send_reply.


testToRecvReply

public void testToRecvReply()
Abort at send_reply.


main

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

Parameters:
args - The command line arguments.