Searched refs:objectToSerialize (Results 1 – 4 of 4) sorted by relevance
87 public void testSerialize(Object objectToSerialize, Class<?> expectedType) in testSerialize() argument91 out.println("serializing : " + objectToSerialize); in testSerialize()92 Object deserializedObj = serializeDeserialize(objectToSerialize); in testSerialize()94 if (objectToSerialize.getClass().equals(expectedType)) in testSerialize()95 assertEquals(deserializedObj, objectToSerialize); in testSerialize()109 Object objectToSerialize = new R10(); in testNull() local110 out.println("serializing : " + objectToSerialize); in testNull()111 Object deserializedObj = serializeDeserialize(objectToSerialize); in testNull()
109 public void testSerialize(Object objectToSerialize) throws Exception { in testSerialize() argument111 out.println("serializing : " + objectToSerialize); in testSerialize()112 Object deserializedObj = serializeDeserialize(objectToSerialize); in testSerialize()114 assertEquals(deserializedObj, objectToSerialize); in testSerialize()129 Object objectToSerialize = new R10(); in testNull() local130 out.println("serializing : " + objectToSerialize); in testNull()131 Object deserializedObj = serializeDeserialize(objectToSerialize); in testNull()
104 public void testExceptions(Object objectToSerialize, in testExceptions() argument110 out.println("serializing: " + objectToSerialize); in testExceptions()111 byte[] bytes = serialize(objectToSerialize); in testExceptions()163 public void testErrors(Object objectToSerialize, in testErrors() argument169 out.println("serializing: " + objectToSerialize); in testErrors()170 byte[] bytes = serialize(objectToSerialize); in testErrors()
84 public void testSerialize(Object objectToSerialize, long expectedUID) in testSerialize() argument88 out.println("serializing : " + objectToSerialize); in testSerialize()89 byte[] bytes = serialize(objectToSerialize); in testSerialize()99 assertEquals(dis.readUTF(), objectToSerialize.getClass().getName()); in testSerialize()