/external/guava/guava-testlib/src/com/google/common/testing/ |
SerializableTester.java | 60 public static <T> T reserialize(T object) { method in class:SerializableTester 61 return Platform.reserialize(object); 86 * {@code reserializeAndAssert} is too strict, use {@link #reserialize}. 95 T copy = reserialize(object);
|
Platform.java | 37 static <T> T reserialize(T object) { method in class:Platform
|
/external/guava/guava-gwt/src-super/com/google/common/testing/super/com/google/common/testing/ |
Platform.java | 31 static <T> T reserialize(T object) { method in class:Platform
|
/external/guava/guava-tests/test/com/google/common/collect/ |
LenientSerializableTester.java | 19 import static com.google.common.testing.SerializableTester.reserialize; 47 Set<E> copy = reserialize(original);
|
HashMultisetTest.java | 65 Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); 84 Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset);
|
ImmutableSetCollectionTest.java | 73 return SerializableTester.reserialize(set); 105 return SerializableTester.reserialize(set); 139 return SerializableTester.reserialize( 154 return SerializableTester.reserialize( 170 return SerializableTester.reserialize(
|
EnumMultisetTest.java | 80 assertEquals(ms, SerializableTester.reserialize(ms));
|
ImmutableListMultimapTest.java | 461 SerializableTester.reserialize(multimap).size()); 467 = SerializableTester.reserialize(multimap.values()); 475 assertSame(multimap, SerializableTester.reserialize(multimap));
|
ImmutableMapTest.java | 19 import static com.google.common.testing.SerializableTester.reserialize; 212 return SerializableTester.reserialize( 583 Collection<Integer> reserializedValues = reserialize(map.values());
|
ImmutableMultisetTest.java | 71 return SerializableTester.reserialize( 82 return SerializableTester.reserialize( 409 assertSame(c, SerializableTester.reserialize(c));
|
ImmutableSetMultimapTest.java | 457 SerializableTester.reserialize(multimap).size()); 463 = SerializableTester.reserialize(multimap.values()); 471 assertSame(multimap, SerializableTester.reserialize(multimap));
|
ImmutableSortedMultisetTest.java | 71 return SerializableTester.reserialize(ImmutableSortedMultiset.copyOf(elements)); 86 return SerializableTester.reserialize(ImmutableSortedMultiset.copyOf(elements) 406 assertSame(c, SerializableTester.reserialize(c));
|
ContiguousSetTest.java | 22 import static com.google.common.testing.SerializableTester.reserialize; 100 ContiguousSet<Integer> enormousReserialized = reserialize(enormous);
|
AbstractBiMapTest.java | 514 BiMapPair copy = SerializableTester.reserialize(pair); 547 BiMapPair copy = SerializableTester.reserialize(pair);
|
OrderingTest.java | 20 import static com.google.common.testing.SerializableTester.reserialize; 74 assertSame(comparator, reserialize(comparator)); 199 assertSame(ordering, reserialize(ordering));
|
ConstraintsTest.java | 348 SerializableTester.reserialize(Constraints.notNull()));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ReserializingTestCollectionGenerator.java | 49 return reserialize(delegate.create(elements)); 53 static <T> T reserialize(T object) { method in class:ReserializingTestCollectionGenerator
|
/external/guava/guava-tests/test/com/google/common/base/ |
SuppliersTest.java | 19 import static com.google.common.testing.SerializableTester.reserialize; 123 Supplier<Integer> copy = reserialize(memoizedSupplier); 189 Supplier<Integer> copy = reserialize(memoizedSupplier); 382 Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get()); 383 assertEquals(Integer.valueOf(5), reserialize(Suppliers.compose( 386 reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get()); 388 reserialize(Suppliers.memoizeWithExpiration( 390 assertEquals(Integer.valueOf(5), reserialize(
|
FunctionsTest.java | 149 SerializableTester.reserialize(function)) 185 .addEqualityGroup(function, SerializableTester.reserialize(function)) 267 SerializableTester.reserialize(japaneseToSpanish))
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedBytesTest.java | 159 assertSame(comparator, SerializableTester.reserialize(comparator)); 164 assertSame(javaImpl, SerializableTester.reserialize(javaImpl));
|
SignedBytesTest.java | 154 assertSame(comparator, SerializableTester.reserialize(comparator));
|
BooleansTest.java | 155 assertSame(comparator, SerializableTester.reserialize(comparator));
|
CharsTest.java | 312 assertSame(comparator, SerializableTester.reserialize(comparator));
|
DoublesTest.java | 296 assertSame(comparator, SerializableTester.reserialize(comparator));
|
/external/guava/guava-tests/test/com/google/common/hash/ |
BloomFilterTest.java | 76 bf = SerializableTester.reserialize(bf);
|