|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.openorb.orb.test.rmi.RMITestCase
org.openorb.orb.test.rmi.complex.ComplexTest
public class ComplexTest
This test suit provides addition tests cases for complex RMI over IIOP data types. In particular, it exchanges complexe data types like strings, serializable ojects, remote objects and classes.
| Constructor Summary | |
|---|---|
ComplexTest(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. |
protected void |
tearDown()
Dispose the test case. |
void |
testAny()
Test echoing a Long. |
void |
testBigDecimal()
Test the BigDecimal type. |
void |
testBitSet()
This method tests whether we can marshal and unmarshal a class of type java.lang.math.BitSet correctly. |
void |
testClass()
Echo a java.lang.Class. |
void |
testCollections()
Test Java collections. |
void |
testCorbaObjects()
Test echoing CORBA Objects and specialized versions of type CosNaming.NamingContext. |
void |
testCustomSerializable()
Write some objects which use some of the custom serializable functions |
void |
testDouble()
Test echoing a Long. |
void |
testEchoNull()
Write some objects which use some of the custom serializable functions |
void |
testEchoRemote()
Echo a remote object. |
void |
testFloat()
Test echoing a Long. |
void |
testIDLEntity()
Test IDLEntity derived types. |
void |
testInteger()
Test echoing a Long. |
void |
testLong()
Test echoing a Long. |
void |
testMultipleObjectArray()
Test echoing a java.rmi.Remote array, a serializable object. |
void |
testObject()
Echo a java.lang.Object. |
void |
testPutFields()
Test the PutField serialization mechanism. |
void |
testRemoteArray()
Test echoing a java.rmi.Remote array, a serializable object. |
void |
testRemoteObjectArray()
Test echoing a java.rmi.Remote array, a serializable object. |
void |
testSerialInterfaceMarshal()
This method tests whether we can marshal a Serializable interface. |
void |
testSerialPersistentFields()
Test the serialPersistentFields serialization mechanism. |
void |
testString()
Test echoing a string. |
void |
testThrowable()
Test the Throwable type. |
void |
testTimestamp()
This method tests whether we can marshal and unmarshal a class of type java.sql.Timestamp correctly. |
void |
testTypeHolder()
Test echoing CORBA Objects. |
void |
testVector()
Test echoing a java.util.Vector, a serializable object. |
| 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 |
|---|
public ComplexTest(java.lang.String name)
name - The name of the test case.| Method Detail |
|---|
protected void setUp()
setUp in class RMITestCaseprotected void tearDown()
tearDown in class RMITestCase
public void testString()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testLong()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testInteger()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testFloat()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testDouble()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testAny()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testVector()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testClass()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testObject()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testEchoRemote()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testEchoNull()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testCustomSerializable()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testRemoteArray()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testCorbaObjects()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testTypeHolder()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testPutFields()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testSerialPersistentFields()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testCollections()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testIDLEntity()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testThrowable()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testBigDecimal()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testRemoteObjectArray()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testMultipleObjectArray()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testSerialInterfaceMarshal()
throws java.lang.Exception
java.lang.Exception - If any unexpected problem occurs in the test case
public void testBitSet()
throws java.lang.Exception
java.lang.Exception
public void testTimestamp()
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
args - The command line parameters.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||