org.openorb.orb.test.iiop.primitive
Class PrimitiveTest

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.iiop.primitive.PrimitiveTest
All Implemented Interfaces:
junit.framework.Test

public class PrimitiveTest
extends ORBTestCase

Tests marshaling and unmarshaling of various iiop types.

Author:
Chris Wood

Constructor Summary
PrimitiveTest(java.lang.String name)
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
          The main entry point of the test case.
protected  void setUp()
          Set up the test case.
 void testBasicOperations()
          Test basic object operations.
 void testBoolean()
          Test boolean echo.
 void testChar()
          Test char echo.
 void testDoubleEcho()
          Test double echo.
 void testFloat()
          Test float echo.
 void testInterORBInvocation()
          Test interorb invocation.
 void testLargeBufferEcho()
          Test large buffer echo.
 void testLargeStringEcho()
          Test large string echo.
 void testLargeStringSeqEcho()
          Test large array of strings echo.
 void testLocalInvocation()
          Test local invocation.
 void testLong()
          Test long echo.
 void testLongLong()
          Test long long echo.
 void testObject()
          Test object ref transmission.
 void testOctet()
          Test octet echo.
 void testShort()
          Test short echo.
 void testStringEcho()
          Test string echo.
 void testThrowException()
          Throw exception.
 void testULong()
          Test unsigned long echo.
 void testULongLong()
          Test unsigned long long echo.
 void testUShort()
          Test unsigned short echo.
 void testValuetypes()
          Test valuetype transmission.
 void testVoid()
          Test ping/void.
 void testWChar()
          Test wchar echo.
 void testWStringEcho()
          Test wstring echo.
 
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

PrimitiveTest

public PrimitiveTest(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 ORBTestCase

testBasicOperations

public void testBasicOperations()
Test basic object operations.


testLocalInvocation

public void testLocalInvocation()
Test local invocation.


testInterORBInvocation

public void testInterORBInvocation()
                            throws java.lang.Exception
Test interorb invocation.

Throws:
java.lang.Exception - When an error occurs.

testObject

public void testObject()
Test object ref transmission.


testValuetypes

public void testValuetypes()
Test valuetype transmission.


testVoid

public void testVoid()
Test ping/void.


testThrowException

public void testThrowException()
Throw exception.


testBoolean

public void testBoolean()
Test boolean echo.


testOctet

public void testOctet()
Test octet echo.


testShort

public void testShort()
Test short echo.


testUShort

public void testUShort()
Test unsigned short echo.


testLong

public void testLong()
Test long echo.


testULong

public void testULong()
Test unsigned long echo.


testLongLong

public void testLongLong()
Test long long echo.


testULongLong

public void testULongLong()
Test unsigned long long echo.


testFloat

public void testFloat()
Test float echo.


testDoubleEcho

public void testDoubleEcho()
Test double echo.


testChar

public void testChar()
Test char echo.


testWChar

public void testWChar()
Test wchar echo.


testStringEcho

public void testStringEcho()
Test string echo.


testLargeStringEcho

public void testLargeStringEcho()
Test large string echo.


testWStringEcho

public void testWStringEcho()
Test wstring echo.


testLargeBufferEcho

public void testLargeBufferEcho()
Test large buffer echo.


testLargeStringSeqEcho

public void testLargeStringSeqEcho()
Test large array of strings echo.


main

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

Parameters:
args - The command line arguments.