Home
last modified time | relevance | path

Searched refs:objToSerialize (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/io/Serializable/records/
DBasicRecordSer.java127 public void testSerializable(Object objToSerialize) throws Exception { in testSerializable() argument
129 out.println("serializing : " + objToSerialize); in testSerializable()
130 var objDeserialized = serializeDeserialize(objToSerialize); in testSerializable()
132 assertEquals(objToSerialize, objDeserialized); in testSerializable()
133 assertEquals(objDeserialized, objToSerialize); in testSerializable()
142 var objToSerialize = new Rectangle(new Point(0, 1), new Point (5, 6)); in testLocalRecord() local
143 out.println("serializing : " + objToSerialize); in testLocalRecord()
144 var objDeserialized = serializeDeserialize(objToSerialize); in testLocalRecord()
146 assertEquals(objToSerialize, objDeserialized); in testLocalRecord()
147 assertEquals(objDeserialized, objToSerialize); in testLocalRecord()
[all …]
DConstructorAccessTest.java97 public void roundTrip(Object objToSerialize) throws Exception { in roundTrip() argument
99 out.println("serializing : " + objToSerialize); in roundTrip()
100 var objDeserialized = serializeDeserialize(objToSerialize); in roundTrip()
102 assertEquals(objToSerialize, objDeserialized); in roundTrip()
103 assertEquals(objDeserialized, objToSerialize); in roundTrip()