|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.util.testing.XMLObjectStreamUnit
DESCRIBE THE CLASS
Nested Class Summary | |
static class |
XMLObjectStreamUnit.TestByteSerialization
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestExternalizable
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestPutFields
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestReplace
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestReplace2
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestReplace3
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestResolve
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestResolve2
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestResolve3
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestSerialPersistentFields
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestSubExternalizable
DESCRIBE THE CLASS |
static class |
XMLObjectStreamUnit.TestUnreadData
DESCRIBE THE CLASS |
Field Summary | |
protected java.io.ByteArrayInputStream |
bais
DESCRIBE THE FIELD |
protected java.io.ByteArrayOutputStream |
baos
DESCRIBE THE FIELD |
protected XMLObjectInputStream |
xois
DESCRIBE THE FIELD |
protected XMLObjectOutputStream |
xoos
DESCRIBE THE FIELD |
Constructor Summary | |
XMLObjectStreamUnit()
Constructor for XMLObjectStreamUnit. |
Method Summary | |
protected boolean |
compare(java.lang.Object o1,
java.lang.Object o2)
DESCRIBE THE METHOD |
protected void |
flip()
DESCRIBE THE METHOD |
static void |
main(java.lang.String[] args)
The main program for the XMLObjectStreamUnit class |
protected void |
reset()
DESCRIBE THE METHOD |
void |
start()
DESCRIBE THE METHOD |
protected void |
test(java.lang.Object o)
A unit test for JUnit |
protected void |
testBoolean(boolean b)
A unit test for JUnit |
protected void |
testBrokenCustomSerializer()
A unit test for JUnit |
protected void |
testByte(byte i)
A unit test for JUnit |
protected void |
testByteCustomSerializer()
A unit test for JUnit |
protected void |
testChar(char i)
A unit test for JUnit |
protected void |
testCustomSerializer()
A unit test for JUnit |
protected void |
testDouble(double i)
A unit test for JUnit |
protected void |
testExternal()
A unit test for JUnit |
protected void |
testFloat(float i)
A unit test for JUnit |
protected void |
testHashtable()
A unit test for JUnit |
protected void |
testInheritedReadResolve()
A unit test for JUnit |
protected void |
testInheritedWriteReplace()
A unit test for JUnit |
protected void |
testInt(int i)
A unit test for JUnit |
protected void |
testLong(long i)
A unit test for JUnit |
protected void |
testMultipleObjects()
A unit test for JUnit |
protected void |
testMultiplePrimitives()
A unit test for JUnit |
protected void |
testPutFields()
A unit test for JUnit |
protected void |
testReadResolve()
A unit test for JUnit |
protected void |
testSerialPersistentFields()
A unit test for JUnit |
protected void |
testShort(short i)
A unit test for JUnit |
protected void |
testSubExternal()
A unit test for JUnit |
protected void |
testUnreadData()
A unit test for JUnit |
protected void |
testUnserializableObject()
A unit test for JUnit |
protected void |
testUnshared()
A unit test for JUnit |
protected void |
testWriteReplace()
A unit test for JUnit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected XMLObjectOutputStream xoos
protected XMLObjectInputStream xois
protected java.io.ByteArrayOutputStream baos
protected java.io.ByteArrayInputStream bais
Constructor Detail |
public XMLObjectStreamUnit() throws java.io.IOException
java.io.IOException
- DESCRIBE THE EXCEPTIONMethod Detail |
protected void reset() throws java.io.IOException
java.io.IOException
- DESCRIBE THE EXCEPTIONprotected void flip() throws java.io.IOException
java.io.IOException
- DESCRIBE THE EXCEPTIONprotected void testInt(int i)
i
- DESCRIBE THE PARAMETERprotected void testBoolean(boolean b)
b
- DESCRIBE THE PARAMETERprotected void testByte(byte i)
i
- DESCRIBE THE PARAMETERprotected void testChar(char i)
i
- DESCRIBE THE PARAMETERprotected void testDouble(double i)
i
- DESCRIBE THE PARAMETERprotected void testFloat(float i)
i
- DESCRIBE THE PARAMETERprotected void testLong(long i)
i
- DESCRIBE THE PARAMETERprotected void testShort(short i)
i
- DESCRIBE THE PARAMETERprotected void testMultiplePrimitives()
protected boolean compare(java.lang.Object o1, java.lang.Object o2)
o1
- DESCRIBE THE PARAMETERo2
- DESCRIBE THE PARAMETER
protected void test(java.lang.Object o)
o
- DESCRIBE THE PARAMETERprotected void testHashtable()
protected void testMultipleObjects()
protected void testUnserializableObject()
protected void testByteCustomSerializer()
protected void testCustomSerializer()
protected void testBrokenCustomSerializer()
protected void testUnshared()
protected void testExternal()
protected void testSubExternal()
protected void testPutFields()
protected void testUnreadData()
protected void testWriteReplace()
protected void testReadResolve()
protected void testInheritedWriteReplace()
protected void testInheritedReadResolve()
protected void testSerialPersistentFields()
public void start()
public static void main(java.lang.String[] args) throws java.io.IOException
args
- The command line arguments
java.io.IOException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |