public class SerializationUtilsTest extends Object
SerializationUtils.| Modifier and Type | Field and Description |
|---|---|
protected static String |
SERIALIZE_IO_EXCEPTION_MESSAGE |
| Constructor and Description |
|---|
SerializationUtilsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testClone() |
void |
testCloneNull() |
void |
testCloneUnserializable() |
void |
testConstructor() |
void |
testDeserializeBytes() |
void |
testDeserializeBytesBadStream() |
void |
testDeserializeBytesNull() |
void |
testDeserializeBytesOfNull() |
void |
testDeserializeClassCastException() |
void |
testDeserializeStream() |
void |
testDeserializeStreamBadStream() |
void |
testDeserializeStreamClassNotFound() |
void |
testDeserializeStreamNull() |
void |
testDeserializeStreamOfNull() |
void |
testException() |
void |
testPrimitiveTypeClassSerialization() |
void |
testSerializeBytes() |
void |
testSerializeBytesNull() |
void |
testSerializeBytesUnserializable() |
void |
testSerializeIOException() |
void |
testSerializeStream() |
void |
testSerializeStreamNullNull() |
void |
testSerializeStreamNullObj() |
void |
testSerializeStreamObjNull() |
void |
testSerializeStreamUnserializable() |
protected static final String SERIALIZE_IO_EXCEPTION_MESSAGE
public SerializationUtilsTest()
public void setUp()
public void testConstructor()
public void testException()
public void testSerializeStream() throws Exception
Exceptionpublic void testSerializeStreamUnserializable() throws Exception
Exceptionpublic void testSerializeStreamNullObj() throws Exception
Exceptionpublic void testSerializeStreamObjNull() throws Exception
Exceptionpublic void testSerializeStreamNullNull() throws Exception
Exceptionpublic void testSerializeIOException() throws Exception
Exceptionpublic void testDeserializeStream() throws Exception
Exceptionpublic void testDeserializeClassCastException()
public void testDeserializeStreamOfNull() throws Exception
Exceptionpublic void testDeserializeStreamNull() throws Exception
Exceptionpublic void testDeserializeStreamBadStream() throws Exception
Exceptionpublic void testDeserializeStreamClassNotFound() throws Exception
Exceptionpublic void testSerializeBytes() throws Exception
Exceptionpublic void testSerializeBytesUnserializable() throws Exception
Exceptionpublic void testSerializeBytesNull() throws Exception
Exceptionpublic void testDeserializeBytes() throws Exception
Exceptionpublic void testDeserializeBytesOfNull() throws Exception
Exceptionpublic void testDeserializeBytesNull() throws Exception
Exceptionpublic void testDeserializeBytesBadStream() throws Exception
Exceptionpublic void testCloneNull() throws Exception
Exceptionpublic void testCloneUnserializable() throws Exception
Exceptionpublic void testPrimitiveTypeClassSerialization()
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.