Home
last modified time | relevance | path

Searched refs:SerializationTester (Results 1 – 25 of 25) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DSerializationTest.java29 import libcore.util.SerializationTester;
46 … FieldMadeTransient deserialized = (FieldMadeTransient) SerializationTester.deserializeHex(s); in testSerializeFieldMadeTransient()
66 FieldMadeStatic deserialized = (FieldMadeStatic) SerializationTester.deserializeHex(s); in testSerializeFieldMadeStatic()
91 SerializableContainer sc = (SerializableContainer) SerializationTester.deserializeHex(s); in testDeserializeNullUnserializableField()
115 SerializationTester.serializeHex(sc); in testSerializeUnserializableField()
138 SerializationTester.deserializeHex(s); in testDeserializeUnserializableField()
153 SerializationTester.deserializeHex(s); in testSerialVersionUidChange()
170 SerializationTester.deserializeHex(s); in testMissingSerialVersionUid()
201 SerializationTester.deserializeHex(s); in testDeserializeWasSerializableClass()
244 SerializationTester.deserializeHex(s); in testDeserializeWasExternalizableClass()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DTreeSetTest.java23 import libcore.util.SerializationTester;
31 new SerializationTester<TreeSet<String>>(set, s).test(); in testEmptySetSerialization()
42 new SerializationTester<NavigableSet<String>>(set, s) { in testSerializationWithComparator() method
60 new SerializationTester<SortedSet<String>>(subSet, s) { in testSubSetSerialization() method
78 new SerializationTester<SortedSet<String>>(subSet, s) { in testNavigableSubSetSerialization() method
115 new SerializationTester<NavigableSet<String>>(descendingSet, s) { in testDescendingSetSerialization() method
130 new SerializationTester<TreeSet<String>>(set, s) { in testJava5SerializationWithComparator() method
DEnumSetTest.java22 import libcore.util.SerializationTester;
37 new SerializationTester<EnumSet<Roshambo>>(set, s).test(); in testSmallEnumSetSerialization()
52 new SerializationTester<EnumSet<Element>>(set, s).test(); in testLargeEnumSetSerialization()
71 SerializationTester.deserializeHex(s); in testDeserializeRemovedValue()
94 SerializationTester.deserializeHex(s)); in testDeserializeShuffledOrdinals()
DEventObjectTest.java22 import libcore.util.SerializationTester;
48 new SerializationTester<EventObject>(eventObject, s) { in testSerializationNullsOutSource() method
DTreeMapTest.java29 import libcore.util.SerializationTester;
274 new SerializationTester<TreeMap<String, String>>(map, s).test(); in testEmptyMapSerialization()
287 new SerializationTester<NavigableMap<String, String>>(map, s) { in testSerializationWithComparator() method
315 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testSubMapSerialization() method
347 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testNavigableSubMapSerialization() method
379 new SerializationTester<NavigableMap<String, String>>(descendingMap, s) { in testDescendingMapSerialization() method
396 new SerializationTester<TreeMap<String, String>>(map, s) { in testJava5SerializationWithComparator() method
424 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testJava5SubMapSerialization() method
DOldPriorityQueueTest.java24 import libcore.util.SerializationTester;
76 new SerializationTester<PriorityQueue<Integer>>(srcIntegerQueue, s) { in test_Serialization() method
DCalendarTest.java24 import libcore.util.SerializationTester;
195 new SerializationTester<Calendar>(calendar, s).test(); in testCalendarSerialization()
DOldCollectionsTest.java40 import libcore.util.SerializationTester;
704 new SerializationTester<Collection<?>>(collection, s) { in assertSerialized() method
725 new SerializationTester<Map<?, ?>>(map, s) { in assertSerialized() method
/libcore/luni/src/test/java/libcore/java/lang/
DEnumTest.java20 import libcore.util.SerializationTester;
29 new SerializationTester<Roshambo>(value, s).test(); in testEnumSerialization()
38 new SerializationTester<Roshambo>(value, s).test(); in testEnumSubclassSerialization()
DThrowableTest.java23 import libcore.util.SerializationTester;
276 new SerializationTester<Throwable>(throwable, s) { in testDisableSuppressionSerialization() method
305 new SerializationTester<Throwable>(throwable, s) { in testEnableSuppressionSerialization() method
319 new SerializationTester<Throwable>(throwable, golden) { in assertSerialized() method
/libcore/luni/src/test/java/libcore/java/text/
DAttributedCharacterIteratorAttributeTest.java25 import libcore.util.SerializationTester;
43 SerializationTester.reserialize(a); in testSerializingSubclass()
50 assertSame(o, SerializationTester.reserialize(o)); in assertSameReserialized()
/libcore/support/src/test/java/tests/util/
DSerializationTester.java34 public class SerializationTester { class
35 private SerializationTester() { in SerializationTester() method in SerializationTester
122 URL url = SerializationTester.class.getClassLoader().getResource(fileName); in readObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java23 import tests.util.SerializationTester;
417SerializationTester.assertCompabilityEquals(c, "serialization/org/apache/harmony/tests/java/util/C… in test_checkedCollectionSerializationCompatability()
424SerializationTester.assertCompabilityEquals(c, "serialization/org/apache/harmony/tests/java/util/C… in test_checkedListRandomAccessSerializationCompatability()
431SerializationTester.assertCompabilityEquals(c, "serialization/org/apache/harmony/tests/java/util/C… in test_checkedListSerializationCompatability()
438SerializationTester.assertCompabilityEquals(c, "serialization/org/apache/harmony/tests/java/util/C… in test_checkedSetSerializationCompatability()
445SerializationTester.assertCompabilityEquals(c, "serialization/org/apache/harmony/tests/java/util/C… in test_checkedMapSerializationCompatability()
451SerializationTester.assertCompabilityEquals(c, "serialization/org/apache/harmony/tests/java/util/C… in test_checkedSortedSetSerializationCompatability()
457SerializationTester.assertCompabilityEquals(c, "serialization/org/apache/harmony/tests/java/util/C… in test_checkedSortedMapSerializationCompatability()
DSimpleImmutableEntryTest.java21 import tests.util.SerializationTester;
141 …if (!(SerializationTester.readObject(e, "serialization/org/apache/harmony/tests/java/util/Abstract… in testSerializationCompatibility_SimpleImmutableEntry()
144SerializationTester.assertCompabilityEquals(e, "serialization/org/apache/harmony/tests/java/util/A… in testSerializationCompatibility_SimpleImmutableEntry()
DSimpleEntryTest.java21 import tests.util.SerializationTester;
131SerializationTester.assertCompabilityEquals(e, "serialization/org/apache/harmony/tests/java/util/A… in testSerializationCompatibility_SimpleEntry()
DPriorityQueueTest.java31 import tests.util.SerializationTester;
673 PriorityQueue<Integer> destIntegerQueue = (PriorityQueue<Integer>) SerializationTester in test_Serialization()
690 PriorityQueue<String> destStringQueue = (PriorityQueue<String>) SerializationTester in test_Serialization_casting()
707 PriorityQueue<String> destStringQueue = (PriorityQueue<String>) SerializationTester in test_SerializationCompatibility_cast()
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/
DX500PrincipalTest.java25 import libcore.util.SerializationTester;
42 new SerializationTester<X500Principal>(actual, expected).test(); in testSerialization()
/libcore/luni/src/test/java/libcore/util/
DSerializationTester.java29 public class SerializationTester<T> { class
33 public SerializationTester(T value, String golden) { in SerializationTester() method in SerializationTester
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSealedObjectTest.java47 import libcore.util.SerializationTester;
339 String serializedForm = SerializationTester.serializeHex(sealedObjects); in testDeserialization()
342 SerializationTester.deserializeHex(serializedForm); in testDeserialization()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DEnumTest.java25 import tests.util.SerializationTester;
209 assertTrue(SerializationTester.assertCompabilityEquals(new MockEnum2(), in test_compatibilitySerialization_inClass_Complex_Harmony()
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java25 import libcore.util.SerializationTester;
165 new SerializationTester<InetAddress>(inetAddress, s) { in test_isReachable() method
DURLTest.java26 import libcore.util.SerializationTester;
108 new SerializationTester<URL>(url, s).test(); in testUrlSerialization()
124 new SerializationTester<URL>(url, s) { in testUrlSerializationWithHashCode() method
DURITest.java22 import libcore.util.SerializationTester;
88 new SerializationTester<URI>(uri, s).test(); in testUriSerialization()
/libcore/luni/src/test/java/libcore/java/util/beans/
DPropertyChangeSupportTest.java30 import libcore.util.SerializationTester;
246 new SerializationTester<PropertyChangeSupport>(support, s) { in testSerialize() method
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java31 import libcore.util.SerializationTester;
268 new SerializationTester<CopyOnWriteArrayList<String>>(list, s).test(); in testSerialize()