org.openorb.orb.test.iiop.value
Class ValuetypeTest

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

public class ValuetypeTest
extends ORBTestCase

Tests marshaling and unmarshaling of various valuetypes.

Author:
Chris Wood

Constructor Summary
ValuetypeTest(java.lang.String name)
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
          The entry point of the test case.
protected  void setUp()
          Set up the test case.
 void testAbstract()
          Test abstract valuetypes.
 void testBasicValuetype()
          Test the Basic valuetype.
 void testCustomMarshalValuetype()
          Test custom marshal.
 void testMarshalValueTypeWithArray()
           
 void testNestedValuetype()
          Test custom marshal.
 void testNontruncatableValuetype()
          Test Nontruncatable, requiring factory.
 void testPMValuetype()
          Test Valuetype with private members.
 void testSupportsValuetype()
          Test Supports valuetype.
 void testTruncatableValuetype()
          Test Truncatable, requiring factory.
 
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

ValuetypeTest

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

testBasicValuetype

public void testBasicValuetype()
Test the Basic valuetype.


testPMValuetype

public void testPMValuetype()
Test Valuetype with private members.


testNontruncatableValuetype

public void testNontruncatableValuetype()
Test Nontruncatable, requiring factory.


testTruncatableValuetype

public void testTruncatableValuetype()
Test Truncatable, requiring factory.


testSupportsValuetype

public void testSupportsValuetype()
Test Supports valuetype.


testCustomMarshalValuetype

public void testCustomMarshalValuetype()
Test custom marshal.


testNestedValuetype

public void testNestedValuetype()
Test custom marshal.


testMarshalValueTypeWithArray

public void testMarshalValueTypeWithArray()

testAbstract

public void testAbstract()
Test abstract valuetypes.


main

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

Parameters:
args - The command line arguments.