/external/guava/guava-testlib/src/com/google/common/testing/ |
D | SerializableTester.java | 60 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()
|
D | Platform.java | 37 static <T> T reserialize(T object) { in reserialize() method in Platform
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | SuppliersTest.java | 19 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()
|
D | FunctionsTest.java | 149 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/ |
D | LenientSerializableTester.java | 19 import static com.google.common.testing.SerializableTester.reserialize; 47 Set<E> copy = reserialize(original); in reserializeAndAssertLenient()
|
D | ImmutableSetCollectionTest.java | 73 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()
|
D | HashMultisetTest.java | 65 Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); in testSerializationContainingSelf() 84 Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset); in testSerializationIndirectSelfReference()
|
D | ImmutableMultisetTest.java | 71 return SerializableTester.reserialize( in suite() 82 return SerializableTester.reserialize( in suite() 409 assertSame(c, SerializableTester.reserialize(c)); in testSerialization_empty()
|
D | EnumMultisetTest.java | 80 assertEquals(ms, SerializableTester.reserialize(ms)); in testSerializable()
|
D | ImmutableSortedMultisetTest.java | 71 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()
|
D | ImmutableSetMultimapTest.java | 457 SerializableTester.reserialize(multimap).size()); in testSerialization() 463 = SerializableTester.reserialize(multimap.values()); in testSerialization() 471 assertSame(multimap, SerializableTester.reserialize(multimap)); in testEmptySerialization()
|
D | ImmutableListMultimapTest.java | 461 SerializableTester.reserialize(multimap).size()); in testSerialization() 467 = SerializableTester.reserialize(multimap.values()); in testSerialization() 475 assertSame(multimap, SerializableTester.reserialize(multimap)); in testEmptySerialization()
|
D | ImmutableMapTest.java | 19 import static com.google.common.testing.SerializableTester.reserialize; 212 return SerializableTester.reserialize( in makePopulatedMap() 583 Collection<Integer> reserializedValues = reserialize(map.values()); in testViewSerialization()
|
D | ContiguousSetTest.java | 22 import static com.google.common.testing.SerializableTester.reserialize; 100 ContiguousSet<Integer> enormousReserialized = reserialize(enormous); in testSerialization()
|
D | OrderingTest.java | 20 import static com.google.common.testing.SerializableTester.reserialize; 74 assertSame(comparator, reserialize(comparator)); in testNatural() 199 assertSame(ordering, reserialize(ordering));
|
D | AbstractBiMapTest.java | 514 BiMapPair copy = SerializableTester.reserialize(pair); in testSerializationWithInverseEqual() 547 BiMapPair copy = SerializableTester.reserialize(pair); in testSerializationWithInverseSame()
|
D | ImmutableSortedMapTest.java | 226 return SerializableTester.reserialize( in makePopulatedMap() 762 Lists.newArrayList(SerializableTester.reserialize(map.values()))); in testViewSerialization()
|
D | ImmutableListTest.java | 94 return SerializableTester.reserialize( in suite() 620 assertSame(c, SerializableTester.reserialize(c));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | ReserializingTestCollectionGenerator.java | 49 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/ |
D | Platform.java | 31 static <T> T reserialize(T object) { in reserialize() method in Platform
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | UnsignedBytesTest.java | 159 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparator() 164 assertSame(javaImpl, SerializableTester.reserialize(javaImpl)); in testLexicographicalComparator()
|
D | SignedBytesTest.java | 154 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparatorSerializable()
|
D | BooleansTest.java | 155 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparatorSerializable()
|
D | LongsTest.java | 295 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparatorSerializable()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | BloomFilterTest.java | 76 bf = SerializableTester.reserialize(bf); in testSerialization()
|