/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; 327 reserializeAndAssert(multiset); 335 reserializeAndAssert(multiset); 417 reserializeAndAssert(multiset); 424 reserializeAndAssert(multiset); 431 reserializeAndAssert(multiset); 440 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 | 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 | 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 | 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 | TreeMultimapNaturalTest.java | 250 = SerializableTester.reserializeAndAssert(multimap); in testExplicitComparatorSerialization() 274 SerializableTester.reserializeAndAssert(multimap); in testTreeMultimapDerived() 298 SerializableTester.reserializeAndAssert(multimap); in testTreeMultimapNonGeneric()
|
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/collect/testing/ |
D | SafeTreeSetTest.java | 64 SerializableTester.reserializeAndAssert(map.entrySet()); in testViewSerialization() 65 SerializableTester.reserializeAndAssert(map.keySet()); 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()
|
D | SafeTreeMapTest.java | 47 SerializableTester.reserializeAndAssert(map.entrySet()); in testViewSerialization() 48 SerializableTester.reserializeAndAssert(map.keySet()); in testViewSerialization()
|
/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 | 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 | EnumsTest.java | 83 SerializableTester.reserializeAndAssert(function); in testValueOfFunction_serialization() 187 SerializableTester.reserializeAndAssert(Enums.stringConverter(TestEnum.class)); in testStringConverter_serialization()
|
/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-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/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);
|
D | MultimapBuilderTest.java | 64 SerializableTester.reserializeAndAssert(builder.build()); in testSerialization()
|
/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()
|