/external/guava/guava-tests/test/com/google/common/collect/ |
D | DiscreteDomainTest.java | 19 import static com.google.common.testing.SerializableTester.reserializeAndAssert; 33 reserializeAndAssert(DiscreteDomain.integers()); in testSerialization() 34 reserializeAndAssert(DiscreteDomain.longs()); in testSerialization() 35 reserializeAndAssert(DiscreteDomain.bigIntegers()); in testSerialization()
|
D | RangeTest.java | 22 import static com.google.common.testing.SerializableTester.reserializeAndAssert; 55 reserializeAndAssert(range); in testOpen() 82 reserializeAndAssert(range); in testClosed() 104 reserializeAndAssert(range); in testOpenClosed() 118 reserializeAndAssert(range); in testClosedOpen() 151 reserializeAndAssert(range); in testSingleton() 167 reserializeAndAssert(range); in testEmpty1() 183 reserializeAndAssert(range); in testEmpty2() 197 reserializeAndAssert(range); in testLessThan() 211 reserializeAndAssert(range); in testGreaterThan() [all …]
|
D | ConcurrentHashMultisetTest.java | 21 import static com.google.common.testing.SerializableTester.reserializeAndAssert; 352 reserializeAndAssert(multiset); 360 reserializeAndAssert(multiset); 442 reserializeAndAssert(multiset); 449 reserializeAndAssert(multiset); 456 reserializeAndAssert(multiset); 465 multiset = reserializeAndAssert(multiset);
|
D | MultimapsTest.java | 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() 719 SerializableTester.reserializeAndAssert(multimap); in testNewSetMultimapSerialization() [all …]
|
D | MultimapBuilderTest.java | 87 reserializeAndAssert(builder.build()); in testSerialization() 93 private static void reserializeAndAssert(Object object) throws Exception { in reserializeAndAssert() method in MultimapBuilderTest
|
D | OrderingTest.java | 22 import static com.google.common.testing.SerializableTester.reserializeAndAssert; 120 reserializeAndAssert(c); in testExplicit_none() 132 reserializeAndAssert(c); in testExplicit_one() 152 reserializeAndAssert(c); in testExplicit_two() 161 reserializeAndAssert(c); 256 reserializeAndAssert(comparator); 353 reserializeAndAssert(comparator); 373 reserializeAndAssert(comparator);
|
D | ImmutableSortedSetTest.java | 303 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testSingle_serialization() 401 SerializableTester.reserializeAndAssert(set.subSet("c", "e")); in testOf_subSetSerialization() 417 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testOf_serialization() 515 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testExplicitEmpty_serialization() 525 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testExplicit_serialization() 755 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testDifferentComparator_serialization() 868 ImmutableList<String> copy = SerializableTester.reserializeAndAssert(list); in testAsListReturnTypeAndSerialization() 886 ImmutableList<String> copy = SerializableTester.reserializeAndAssert(list); in testSubsetAsListReturnTypeAndSerialization()
|
D | ImmutableSortedMultisetTest.java | 424 Collection<String> copy = SerializableTester.reserializeAndAssert(c); in testSerialization_multiple() 430 Collection<String> copy = SerializableTester.reserializeAndAssert(c.elementSet()); in testSerialization_elementSet() 436 SerializableTester.reserializeAndAssert(c.entrySet()); in testSerialization_entrySet() 462 ImmutableList<String> copy = SerializableTester.reserializeAndAssert(list); in testAsList()
|
D | ImmutableBiMapTest.java | 468 assertSame(bimap, SerializableTester.reserializeAndAssert(bimap)); in testEmptySerialization() 476 SerializableTester.reserializeAndAssert(bimap); in testSerialization() 487 SerializableTester.reserializeAndAssert(bimap); in testInverseSerialization()
|
D | TablesTest.java | 39 SerializableTester.reserializeAndAssert(entry); in testImmutableEntrySerialization()
|
D | HashBasedTableTest.java | 83 SerializableTester.reserializeAndAssert(table); in testSerialization()
|
/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-testlib/test/com/google/common/collect/testing/ |
D | SafeTreeSetTest.java | 77 SerializableTester.reserializeAndAssert(map.entrySet()); in testViewSerialization() 78 SerializableTester.reserializeAndAssert(map.keySet()); in testViewSerialization() 86 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testEmpty_serialization() 94 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testSingle_serialization() 104 SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); in testSeveral_serialization()
|
D | SafeTreeMapTest.java | 93 SerializableTester.reserializeAndAssert(map.entrySet()); in testViewSerialization() 94 SerializableTester.reserializeAndAssert(map.keySet()); in testViewSerialization()
|
/external/guava/guava-tests/test/com/google/common/net/ |
D | HostAndPortTest.java | 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-tests/test/com/google/common/base/ |
D | EquivalenceTest.java | 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 | 200 SerializableTester.reserializeAndAssert(identityConverter); 205 SerializableTester.reserializeAndAssert(reverseConverter); 212 SerializableTester.reserializeAndAssert(composedConverter); 217 SerializableTester.reserializeAndAssert(dumb);
|
D | PredicatesTest.java | 467 Predicate<Integer> post = SerializableTester.reserializeAndAssert(pre); in testOr_serializationIterable() 645 SerializableTester.reserializeAndAssert(predicate); in testIsAssignableFrom_serialization() 672 Predicate<String> post = SerializableTester.reserializeAndAssert(pre); in testIsNull_serialization() 783 SerializableTester.reserializeAndAssert(nasty); in testCascadingSerialization() 823 SerializableTester.reserializeAndAssert(trimEqualsFoo); in testComposeSerialization() 870 Predicate<CharSequence> post = SerializableTester.reserializeAndAssert(pre); in testContainsPattern_serialization() 981 SerializableTester.reserializeAndAssert(predicate); in checkSerialization()
|
D | OptionalTest.java | 299 SerializableTester.reserializeAndAssert(Optional.absent()); in testSerialization() 300 SerializableTester.reserializeAndAssert(Optional.of("foo")); in testSerialization()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypesTest.java | 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()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | OrderingTest.java | 22 import static com.google.common.testing.SerializableTester.reserializeAndAssert; 118 reserializeAndAssert(c); in testExplicit_none() 130 reserializeAndAssert(c); in testExplicit_one() 150 reserializeAndAssert(c); in testExplicit_two() 159 reserializeAndAssert(c); 254 reserializeAndAssert(comparator); 351 reserializeAndAssert(comparator); 371 reserializeAndAssert(comparator);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapSerializationTester.java | 35 SerializableTester.reserializeAndAssert(getMap()); in testReserializeMap()
|
D | ListSubListTester.java | 318 SerializableTester.reserializeAndAssert(getList().subList(0, getNumElements())); in testReserializeWholeSubList() 323 SerializableTester.reserializeAndAssert(getList().subList(0, 0)); in testReserializeEmptySubList() 329 SerializableTester.reserializeAndAssert(getList().subList(0, 2)); in testReserializeSubList()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | SerializableTester.java | 94 public static <T> T reserializeAndAssert(T object) { in reserializeAndAssert() method in SerializableTester
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 314 SerializableTester.reserializeAndAssert(getList().subList(0, getNumElements())); in testReserializeWholeSubList() 319 SerializableTester.reserializeAndAssert(getList().subList(0, 0)); in testReserializeEmptySubList() 325 SerializableTester.reserializeAndAssert(getList().subList(0, 2)); in testReserializeSubList()
|