org.openorb.orb.test.dynamic
Class DynamicScenarioTest

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

public class DynamicScenarioTest
extends ORBTestCase

A DynAny test case.

Author:
Chris Wood

Constructor Summary
DynamicScenarioTest(java.lang.String name)
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
          The entry point of the test case.
 void setUp()
          Set up the test case.
 void testDIISequence()
          This test creates thanks to DynAny a sequence and then sends it to a CORBA Server by using DII.
 void testDIIStruct()
          This test creates thanks to DynAny a struct and then sends it to a CORBA Server by using DII.
 
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

DynamicScenarioTest

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

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

setUp

public void setUp()
Set up the test case.

Overrides:
setUp in class ORBTestCase

testDIISequence

public void testDIISequence()
                     throws org.omg.CORBA.UserException
This test creates thanks to DynAny a sequence and then sends it to a CORBA Server by using DII.

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

testDIIStruct

public void testDIIStruct()
                   throws org.omg.CORBA.UserException
This test creates thanks to DynAny a struct and then sends it to a CORBA Server by using DII.

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

main

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

Parameters:
args - The command line arguments.