Home
last modified time | relevance | path

Searched refs:objectToSerialize (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/io/Serializable/records/
DWriteReplaceTest.java87 public void testSerialize(Object objectToSerialize, Class<?> expectedType) in testSerialize() argument
91 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() local
110 out.println("serializing : " + objectToSerialize); in testNull()
111 Object deserializedObj = serializeDeserialize(objectToSerialize); in testNull()
DReadResolveTest.java109 public void testSerialize(Object objectToSerialize) throws Exception { in testSerialize() argument
111 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() local
130 out.println("serializing : " + objectToSerialize); in testNull()
131 Object deserializedObj = serializeDeserialize(objectToSerialize); in testNull()
DThrowingConstructorTest.java104 public void testExceptions(Object objectToSerialize, in testExceptions() argument
110 out.println("serializing: " + objectToSerialize); in testExceptions()
111 byte[] bytes = serialize(objectToSerialize); in testExceptions()
163 public void testErrors(Object objectToSerialize, in testErrors() argument
169 out.println("serializing: " + objectToSerialize); in testErrors()
170 byte[] bytes = serialize(objectToSerialize); in testErrors()
DSerialVersionUIDTest.java84 public void testSerialize(Object objectToSerialize, long expectedUID) in testSerialize() argument
88 out.println("serializing : " + objectToSerialize); in testSerialize()
89 byte[] bytes = serialize(objectToSerialize); in testSerialize()
99 assertEquals(dis.readUTF(), objectToSerialize.getClass().getName()); in testSerialize()