/external/guava/guava-tests/test/com/google/common/hash/ |
D | FunnelsTest.java | 143 SerializableTester.reserialize(Funnels.byteArrayFunnel())); in testSerialization() 146 SerializableTester.reserialize(Funnels.integerFunnel())); in testSerialization() 149 SerializableTester.reserialize(Funnels.longFunnel())); in testSerialization() 152 SerializableTester.reserialize(Funnels.unencodedCharsFunnel())); in testSerialization() 155 SerializableTester.reserialize(Funnels.sequentialFunnel(Funnels.integerFunnel()))); in testSerialization() 158 SerializableTester.reserialize(Funnels.stringFunnel(Charsets.US_ASCII))); in testSerialization() 170 SerializableTester.reserialize(Funnels.sequentialFunnel( in testEquals()
|
/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 | 40 static <T> T reserialize(T object) { in reserialize() method in Platform
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | LenientSerializableTester.java | 19 import static com.google.common.testing.SerializableTester.reserialize; 48 Set<E> copy = reserialize(original); in reserializeAndAssertLenient() 56 Multiset<E> copy = reserialize(original); in reserializeAndAssertLenient()
|
D | MultimapBuilderTest.java | 94 Object copy = reserialize(object); in reserializeAndAssert() 100 private static Object reserialize(Object object) throws Exception { in reserialize() method in MultimapBuilderTest
|
D | HashMultisetTest.java | 97 Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); 116 Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset);
|
D | ImmutableSetMultimapTest.java | 512 SerializableTester.reserialize(multimap).size()); in testSerialization() 518 = SerializableTester.reserialize(multimap.values()); in testSerialization() 526 assertSame(multimap, SerializableTester.reserialize(multimap)); in testEmptySerialization() 538 multimap = SerializableTester.reserialize(multimap); in testSortedSerialization()
|
D | ImmutableListMultimapTest.java | 515 SerializableTester.reserialize(multimap).size()); in testSerialization() 521 = SerializableTester.reserialize(multimap.values()); in testSerialization() 529 assertSame(multimap, SerializableTester.reserialize(multimap)); in testEmptySerialization()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | SuppliersTest.java | 19 import static com.google.common.testing.SerializableTester.reserialize; 124 Supplier<Integer> copy = reserialize(memoizedSupplier); in testMemoizeSerialized() 190 Supplier<Integer> copy = reserialize(memoizedSupplier); in testMemoizeWithExpirationSerialized() 383 Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get()); in testSerialization() 384 assertEquals(Integer.valueOf(5), reserialize(Suppliers.compose( in testSerialization() 387 reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get()); in testSerialization() 389 reserialize(Suppliers.memoizeWithExpiration( in testSerialization() 391 assertEquals(Integer.valueOf(5), reserialize( in testSerialization()
|
D | FunctionsTest.java | 150 SerializableTester.reserialize(function)) in testForMapWithDefault_includeSerializable() 186 .addEqualityGroup(function, SerializableTester.reserialize(function)) in testForMapWithDefault_null_compareWithSerializable() 268 SerializableTester.reserialize(japaneseToSpanish)) in testComposition_includeReserializabled()
|
/external/guice/core/test/com/google/inject/ |
D | Asserts.java | 148 Object reserialized = reserialize(object); 155 Object reserialized = reserialize(object); 159 public static <E> E reserialize(E original) throws IOException { 174 reserialize(object);
|
D | SerializationTest.java | 31 Asserts.reserialize(new MyAbstractModule()); in testAbstractModuleIsSerializable()
|
D | ProvisionExceptionTest.java | 21 import static com.google.inject.Asserts.reserialize; 177 ProvisionException reserialized = reserialize(expected); in testProvisionExceptionIsSerializable()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetSerializationTester.java | 39 assertEquals(expected, SerializableTester.reserialize(expected)); in testEntrySetSerialization() 45 assertEquals(expected, SerializableTester.reserialize(expected)); in testElementSetSerialization()
|
D | BiMapInverseTester.java | 51 BiMapPair<K, V> copy = SerializableTester.reserialize(pair); in testInverseSerialization()
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
D | SafeTreeMapTest.java | 96 Lists.newArrayList(SerializableTester.reserialize(map.values()))); in testViewSerialization() 111 return SerializableTester.reserialize(map); in makePopulatedMap() 117 return SerializableTester.reserialize(map); in makeEmptyMap()
|
/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
|
D | CollectionTestSuiteBuilder.java | 81 return SerializableTester.reserialize(gen.create(elements)); in create()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenTest.java | 1462 reserialize(TypeToken.of(String.class)); in testSerializable() 1463 reserialize(TypeToken.of(String.class).getTypes()); in testSerializable() 1464 reserialize(TypeToken.of(String.class).getTypes().classes()); in testSerializable() 1465 reserialize(TypeToken.of(String.class).getTypes().interfaces()); in testSerializable() 1466 reserialize(TypeToken.of(String.class).getTypes().rawTypes()); in testSerializable() 1467 reserialize(TypeToken.of(String.class).getTypes().classes().rawTypes()); in testSerializable() 1468 reserialize(TypeToken.of(String.class).getTypes().interfaces().rawTypes()); in testSerializable() 1469 reserialize(new TypeToken<int[]>() {}); in testSerializable() 1470 reserialize(new TypeToken<Map<String, Integer>>() {}); in testSerializable() 1471 reserialize(new IKnowMyType<Map<? super String, ? extends int[]>>() {}.type()); in testSerializable() [all …]
|
/external/guava/guava-gwt/test-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-testlib/src/com/google/common/collect/testing/testers/ |
D | CollectionSerializationEqualTester.java | 38 SerializableTester.reserialize(actualContents())); in testReserialize()
|
D | CollectionSerializationTester.java | 39 SerializableTester.reserialize(actualContents())); in testReserialize()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | UnsignedBytesTest.java | 249 assertSame(comparator, SerializableTester.reserialize(comparator)); in testLexicographicalComparator() 254 assertSame(javaImpl, SerializableTester.reserialize(javaImpl)); in testLexicographicalComparator()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
D | BiMapInverseTester.java | 46 BiMapPair<K, V> copy = SerializableTester.reserialize(pair); in testInverseSerialization()
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | ByteStringTest.java | 269 assertEquivalent(byteString, TestUtil.reserialize(byteString)); in javaSerializationTestNonEmpty() 274 assertEquivalent(byteString, TestUtil.reserialize(byteString)); in javaSerializationTestEmpty()
|