Home
last modified time | relevance | path

Searched refs:deserializedObj (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/io/Serializable/records/
DCycleTest.java64 R deserializedObj = serializeDeserialize(r); in testCycle1() local
65 out.println("deserialized: " + deserializedObj); in testCycle1()
66 assertEquals(deserializedObj.x(), 1); // sanity in testCycle1()
67 assertEquals(deserializedObj.y(), 2); // sanity in testCycle1()
68 assertTrue(deserializedObj.c() instanceof C); // sanity in testCycle1()
69 assertEquals(deserializedObj.c().obj, null); // cycle, expect null in testCycle1()
85 C deserializedObj = serializeDeserialize(c); in testCycle2() local
86 out.println("deserialized: " + deserializedObj); in testCycle2()
87 assertTrue(deserializedObj instanceof C); // sanity in testCycle2()
88 assertTrue(deserializedObj.obj != null); // expect non-null, r in testCycle2()
[all …]
DWriteReplaceTest.java92 Object deserializedObj = serializeDeserialize(objectToSerialize); in testSerialize() local
93 out.println("deserialized: " + deserializedObj); in testSerialize()
95 assertEquals(deserializedObj, objectToSerialize); in testSerialize()
97 assertEquals(deserializedObj.getClass(), expectedType); in testSerialize()
111 Object deserializedObj = serializeDeserialize(objectToSerialize); in testNull() local
112 out.println("deserialized: " + deserializedObj); in testNull()
113 assertEquals(deserializedObj, null); in testNull()
DReadResolveTest.java112 Object deserializedObj = serializeDeserialize(objectToSerialize); in testSerialize() local
113 out.println("deserialized: " + deserializedObj); in testSerialize()
114 assertEquals(deserializedObj, objectToSerialize); in testSerialize()
131 Object deserializedObj = serializeDeserialize(objectToSerialize); in testNull() local
132 out.println("deserialized: " + deserializedObj); in testNull()
133 assertEquals(deserializedObj, null); in testNull()