|
||||||||
| 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.primitive.PrimitiveTest
public class PrimitiveTest
This test suite provides a large set of primitive data types tests. All RMI data types are tested:
| Nested Class Summary | |
|---|---|
static class |
PrimitiveTest.EchoImpl
Remote interface implementation. |
| Constructor Summary | |
|---|---|
PrimitiveTest(java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
The entry point of this application. |
protected void |
setUp()
Set up the test case. |
protected void |
tearDown()
Dispose the test case. |
void |
testBoolean()
Test the exchange of boolean and array of booleans. |
void |
testByte()
Test the exchange of byte and array of bytes. |
void |
testChar()
Test the exchange of char and array of chars. |
void |
testDouble()
Test the exchange of double and array of double. |
void |
testFloat()
Test the exchange of float and array of floats. |
void |
testInt()
Test the exchange of int and array of ints. |
void |
testPrimitive()
Test ping. |
void |
testShort()
Test the exchange of short and array of shorts. |
| 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 PrimitiveTest(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 testPrimitive()
throws java.lang.Exception
java.lang.Exception - if any unexpected problem occurs in the test case
public void testBoolean()
throws java.lang.Exception
java.lang.Exception - if any unexpected problem occurs in the test case
public void testByte()
throws java.lang.Exception
java.lang.Exception - if any unexpected problem occurs in the test case
public void testShort()
throws java.lang.Exception
java.lang.Exception - if any unexpected problem occurs in the test case
public void testInt()
throws java.lang.Exception
java.lang.Exception - if any unexpected problem occurs in the test case
public void testChar()
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 casepublic 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 | |||||||