|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--ca.quine.jcommons.marshaller.test.MarshallerTest
| Constructor Summary | |
MarshallerTest()
|
|
| Method Summary | |
void |
test2DBooleanArray()
|
void |
test2DCharArray()
|
void |
test2DIntArray()
|
void |
test2DShortArray()
|
void |
test3DCharArray()
|
void |
test3DIntArray()
|
void |
test4DIntArray()
|
void |
testArrayList()
Ensures the ArrayList marshaller can request default marshalling of each object in the ArrayList (in this case, they are Strings). |
void |
testCharArray()
|
void |
testFqcn()
Test the fqcn method on Marshaller. |
void |
testHashMap()
Tests that a HashMap is correctly marshalled. |
void |
testHashMapOfClasses()
|
void |
testIntArray()
|
void |
testIntegerVsIntType()
Ensures that an Integer is marshalled with the type "Integer", and an int is marshalled with the type "int". |
void |
testLinkedList()
Mostly this test ensures that an infinite loop of some kind doesn't occur, since many of the Objects held by a LinkedList point to internal structures held by it. |
void |
testObjectArray()
|
void |
testString()
Test String marshalling. |
void |
testVector()
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MarshallerTest()
| Method Detail |
public void testFqcn()
throws Exception
fqcn method on Marshaller.
Exception
public void testString()
throws Exception
String marshalling.
Exception
public void testIntegerVsIntType()
throws Exception
Exception
public void testArrayList()
throws Exception
Strings).
Exception
public void testLinkedList()
throws Exception
Exception
public void testHashMap()
throws Exception
HashMap is correctly marshalled.
Exception
public void testHashMapOfClasses()
throws Exception
Exception
public void testCharArray()
throws Exception
Exception
public void test2DCharArray()
throws Exception
Exception
public void test3DCharArray()
throws Exception
Exception
public void testIntArray()
throws Exception
Exception
public void test2DIntArray()
throws Exception
Exception
public void test3DIntArray()
throws Exception
Exception
public void test4DIntArray()
throws Exception
Exception
public void test2DShortArray()
throws Exception
Exception
public void test2DBooleanArray()
throws Exception
Exception
public void testObjectArray()
throws Exception
Exception
public void testVector()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||