Home
last modified time | relevance | path

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

12

/external/guava/guava-testlib/src/com/google/common/testing/
DSerializableTester.java60 public static <T> T reserialize(T object) { in reserialize() method in SerializableTester
61 return Platform.reserialize(object); in reserialize()
95 T copy = reserialize(object); in reserializeAndAssert()
DPlatform.java37 static <T> T reserialize(T object) { in reserialize() method in Platform
/external/guava/guava-tests/test/com/google/common/base/
DSuppliersTest.java19 import static com.google.common.testing.SerializableTester.reserialize;
123 Supplier<Integer> copy = reserialize(memoizedSupplier); in testMemoizeSerialized()
189 Supplier<Integer> copy = reserialize(memoizedSupplier); in testMemoizeWithExpirationSerialized()
382 Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get()); in testSerialization()
383 assertEquals(Integer.valueOf(5), reserialize(Suppliers.compose( in testSerialization()
386 reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get()); in testSerialization()
388 reserialize(Suppliers.memoizeWithExpiration( in testSerialization()
390 assertEquals(Integer.valueOf(5), reserialize( in testSerialization()
DFunctionsTest.java149 SerializableTester.reserialize(function)) in testForMapWithDefault_includeSerializable()
185 .addEqualityGroup(function, SerializableTester.reserialize(function)) in testForMapWithDefault_null_compareWithSerializable()
267 SerializableTester.reserialize(japaneseToSpanish)) in testComposition_includeReserializabled()
/external/guava/guava-tests/test/com/google/common/collect/
DLenientSerializableTester.java19 import static com.google.common.testing.SerializableTester.reserialize;
47 Set<E> copy = reserialize(original); in reserializeAndAssertLenient()
DImmutableSetCollectionTest.java73 return SerializableTester.reserialize(set); in suite()
105 return SerializableTester.reserialize(set); in suite()
139 return SerializableTester.reserialize( in suite()
154 return SerializableTester.reserialize( in suite()
170 return SerializableTester.reserialize( in suite()
DHashMultisetTest.java65 Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); in testSerializationContainingSelf()
84 Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset); in testSerializationIndirectSelfReference()
DImmutableMultisetTest.java71 return SerializableTester.reserialize( in suite()
82 return SerializableTester.reserialize( in suite()
409 assertSame(c, SerializableTester.reserialize(c)); in testSerialization_empty()
DEnumMultisetTest.java80 assertEquals(ms, SerializableTester.reserialize(ms)); in testSerializable()
DImmutableSortedMultisetTest.java71 return SerializableTester.reserialize(ImmutableSortedMultiset.copyOf(elements)); in suite()
86 return SerializableTester.reserialize(ImmutableSortedMultiset.copyOf(elements) in suite()
406 assertSame(c, SerializableTester.reserialize(c)); in testSerialization_empty()
DImmutableSetMultimapTest.java457 SerializableTester.reserialize(multimap).size()); in testSerialization()
463 = SerializableTester.reserialize(multimap.values()); in testSerialization()
471 assertSame(multimap, SerializableTester.reserialize(multimap)); in testEmptySerialization()
DImmutableListMultimapTest.java461 SerializableTester.reserialize(multimap).size()); in testSerialization()
467 = SerializableTester.reserialize(multimap.values()); in testSerialization()
475 assertSame(multimap, SerializableTester.reserialize(multimap)); in testEmptySerialization()
DImmutableMapTest.java19 import static com.google.common.testing.SerializableTester.reserialize;
212 return SerializableTester.reserialize( in makePopulatedMap()
583 Collection<Integer> reserializedValues = reserialize(map.values()); in testViewSerialization()
DContiguousSetTest.java22 import static com.google.common.testing.SerializableTester.reserialize;
100 ContiguousSet<Integer> enormousReserialized = reserialize(enormous); in testSerialization()
DOrderingTest.java20 import static com.google.common.testing.SerializableTester.reserialize;
74 assertSame(comparator, reserialize(comparator)); in testNatural()
199 assertSame(ordering, reserialize(ordering));
DAbstractBiMapTest.java514 BiMapPair copy = SerializableTester.reserialize(pair); in testSerializationWithInverseEqual()
547 BiMapPair copy = SerializableTester.reserialize(pair); in testSerializationWithInverseSame()
DImmutableSortedMapTest.java226 return SerializableTester.reserialize( in makePopulatedMap()
762 Lists.newArrayList(SerializableTester.reserialize(map.values()))); in testViewSerialization()
DImmutableListTest.java94 return SerializableTester.reserialize( in suite()
620 assertSame(c, SerializableTester.reserialize(c));
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DReserializingTestCollectionGenerator.java49 return reserialize(delegate.create(elements)); in create()
53 static <T> T reserialize(T object) { in reserialize() method in ReserializingTestCollectionGenerator
/external/guava/guava-gwt/src-super/com/google/common/testing/super/com/google/common/testing/
DPlatform.java31 static <T> T reserialize(T object) { in reserialize() method in Platform
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedBytesTest.java159 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparator()
164 assertSame(javaImpl, SerializableTester.reserialize(javaImpl)); in testLexicographicalComparator()
DSignedBytesTest.java154 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparatorSerializable()
DBooleansTest.java155 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparatorSerializable()
DLongsTest.java295 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparatorSerializable()
/external/guava/guava-tests/test/com/google/common/hash/
DBloomFilterTest.java76 bf = SerializableTester.reserialize(bf); in testSerialization()

12