/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
D | SafeTreeMapTest.java | 22 import com.google.common.testing.SerializableTester; 47 SerializableTester.reserializeAndAssert(map.entrySet()); in testViewSerialization() 48 SerializableTester.reserializeAndAssert(map.keySet()); in testViewSerialization() 50 Lists.newArrayList(SerializableTester.reserialize(map.values()))); in testViewSerialization() 65 return SerializableTester.reserialize(map); in makePopulatedMap() 71 return SerializableTester.reserialize(map); in makeEmptyMap()
|
D | SafeTreeSetTest.java | 26 import com.google.common.testing.SerializableTester; 64 SerializableTester.reserializeAndAssert(map.entrySet()); in testViewSerialization() 65 SerializableTester.reserializeAndAssert(map.keySet()); in testViewSerialization() 67 Lists.newArrayList(SerializableTester.reserialize(map.values()))); in testViewSerialization() 73 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testEmpty_serialization() 81 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testSingle_serialization() 91 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testSeveral_serialization()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | FunnelsTest.java | 26 import com.google.common.testing.SerializableTester; 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/test/com/google/common/testing/ |
D | SerializableTesterTest.java | 32 String copy = SerializableTester.reserializeAndAssert(original); in testStringAssertions() 42 SerializableTester.reserializeAndAssert(orig); in testClassWhichDoesNotImplementEquals() 56 SerializableTester.reserializeAndAssert(orig); in testClassWhichIsAlwaysEqualButHasDifferentHashcodes() 70 SerializableTester.reserializeAndAssert(orig); in testObjectWhichIsEqualButChangesClass()
|
/external/guava/guava-tests/test/com/google/common/net/ |
D | HostAndPortTest.java | 20 import com.google.common.testing.SerializableTester; 250 SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80)); in testSerialization() 251 SerializableTester.reserializeAndAssert(HostAndPort.fromString("host")); in testSerialization() 252 SerializableTester.reserializeAndAssert(HostAndPort.fromString("host:80")); in testSerialization() 253 SerializableTester.reserializeAndAssert(HostAndPort.fromString("[::1]:104")); in testSerialization() 254 SerializableTester.reserializeAndAssert(HostAndPort.fromParts("1::2", 103)); in testSerialization()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetSerializationTester.java | 24 import com.google.common.testing.SerializableTester; 39 assertEquals(expected, SerializableTester.reserialize(expected)); in testEntrySetSerialization() 45 assertEquals(expected, SerializableTester.reserialize(expected)); in testElementSetSerialization()
|
D | BiMapInverseTester.java | 26 import com.google.common.testing.SerializableTester; 51 BiMapPair<K, V> copy = SerializableTester.reserialize(pair); in testInverseSerialization()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | EquivalenceTest.java | 26 import com.google.common.testing.SerializableTester; 90 SerializableTester.reserializeAndAssert(LENGTH_EQUIVALENCE.wrap("hello")); in testSerialization() 91 SerializableTester.reserializeAndAssert(Equivalence.equals()); in testSerialization() 92 SerializableTester.reserializeAndAssert(Equivalence.identity()); in testSerialization()
|
D | ConverterTest.java | 26 import com.google.common.testing.SerializableTester; 200 SerializableTester.reserializeAndAssert(identityConverter); 205 SerializableTester.reserializeAndAssert(reverseConverter); 212 SerializableTester.reserializeAndAssert(composedConverter); 217 SerializableTester.reserializeAndAssert(dumb);
|
D | FunctionsTest.java | 26 import com.google.common.testing.SerializableTester; 150 SerializableTester.reserialize(function)) in testForMapWithDefault_includeSerializable() 186 .addEqualityGroup(function, SerializableTester.reserialize(function)) in testForMapWithDefault_null_compareWithSerializable() 268 SerializableTester.reserialize(japaneseToSpanish)) in testComposition_includeReserializabled() 443 Function<? super Integer, Y> g = SerializableTester.reserializeAndAssert(f); in checkCanReserialize() 463 Function<? super String, Y> g = SerializableTester.reserializeAndAssert(f); in checkCanReserializeSingleton()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapSerializationTester.java | 24 import com.google.common.testing.SerializableTester; 35 SerializableTester.reserializeAndAssert(getMap()); in testReserializeMap()
|
D | CollectionSerializationEqualTester.java | 24 import com.google.common.testing.SerializableTester; 38 SerializableTester.reserialize(actualContents())); in testReserialize()
|
D | CollectionSerializationTester.java | 25 import com.google.common.testing.SerializableTester; 39 SerializableTester.reserialize(actualContents())); in testReserialize()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | SerializableTester.java | 40 public final class SerializableTester { class 41 private SerializableTester() {} in SerializableTester() method in SerializableTester
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypesTest.java | 26 import com.google.common.testing.SerializableTester; 115 SerializableTester.reserializeAndAssert(Types.newParameterizedType( in testNewParameterizedType_serializable() 195 SerializableTester.reserializeAndAssert( in testNewArrayType_serializable() 259 SerializableTester.reserializeAndAssert( in testNewWildcardType_serializable() 261 SerializableTester.reserializeAndAssert( in testNewWildcardType_serializable() 263 SerializableTester.reserializeAndAssert( in testNewWildcardType_serializable() 331 SerializableTester.reserialize(Types.newArtificialTypeVariable(List.class, "E")); in testNewTypeVariable_serializable()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | HashMultisetTest.java | 28 import com.google.common.testing.SerializableTester; 97 Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); 116 Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset);
|
D | LenientSerializableTester.java | 19 import static com.google.common.testing.SerializableTester.reserialize; 25 import com.google.common.testing.SerializableTester;
|
D | TablesTest.java | 23 import com.google.common.testing.SerializableTester; 39 SerializableTester.reserializeAndAssert(entry); in testImmutableEntrySerialization()
|
D | HashBasedTableTest.java | 22 import com.google.common.testing.SerializableTester; 83 SerializableTester.reserializeAndAssert(table); in testSerialization()
|
D | ImmutableSetMultimapTest.java | 31 import com.google.common.testing.SerializableTester; 510 SerializableTester.reserializeAndAssert(multimap); in testSerialization() 512 SerializableTester.reserialize(multimap).size()); in testSerialization() 513 SerializableTester.reserializeAndAssert(multimap.get("foo")); in testSerialization() 516 SerializableTester.reserializeAndAssert(multimap.asMap()); 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 | MultimapBuilderTest.java | 22 import com.google.common.testing.SerializableTester; 80 SerializableTester.reserializeAndAssert(builder.build()); in testSerialization()
|
D | MultimapsTest.java | 37 import com.google.common.testing.SerializableTester; 128 SerializableTester.reserializeAndAssert(unmodifiable); in testSerializingUnmodifiableArrayListMultimap() 160 SerializableTester.reserializeAndAssert(unmodifiable); in testSerializingUnmodifiableHashMultimap() 173 SerializableTester.reserializeAndAssert(unmodifiable); in testSerializingUnmodifiableTreeMultimap() 187 SerializableTester.reserializeAndAssert(unmodifiable); in testSerializingUnmodifiableSynchronizedArrayListMultimap() 201 SerializableTester.reserializeAndAssert(unmodifiable); in testSerializingUnmodifiableSynchronizedHashMultimap() 222 SerializableTester.reserializeAndAssert(unmodifiable); in testSerializingUnmodifiableSynchronizedTreeMultimap() 482 SerializableTester.reserializeAndAssert(multimapView); in testForMapSerialization() 654 SerializableTester.reserializeAndAssert(multimap); in testNewMultimapSerialization() 689 SerializableTester.reserializeAndAssert(multimap); in testNewListMultimapSerialization() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
D | BiMapInverseTester.java | 24 import com.google.common.testing.SerializableTester; 46 BiMapPair<K, V> copy = SerializableTester.reserialize(pair); in testInverseSerialization()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | MultimapBuilderTest.java | 21 import com.google.common.testing.SerializableTester; 64 SerializableTester.reserializeAndAssert(builder.build()); in testSerialization()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | CollectionTestSuiteBuilder.java | 21 import com.google.common.testing.SerializableTester; 81 return SerializableTester.reserialize(gen.create(elements)); in create()
|