Home
last modified time | relevance | path

Searched refs:reserializeAndAssert (Results 1 – 25 of 61) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/collect/
DDiscreteDomainTest.java19 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()
DRangeTest.java22 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 …]
DConcurrentHashMultisetTest.java21 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);
DMultimapsTest.java128 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 …]
DImmutableSortedSetTest.java303 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()
DOrderingTest.java22 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);
DImmutableSortedMultisetTest.java424 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()
DTreeMultimapNaturalTest.java250 = SerializableTester.reserializeAndAssert(multimap); in testExplicitComparatorSerialization()
274 SerializableTester.reserializeAndAssert(multimap); in testTreeMultimapDerived()
298 SerializableTester.reserializeAndAssert(multimap); in testTreeMultimapNonGeneric()
DTablesTest.java39 SerializableTester.reserializeAndAssert(entry); in testImmutableEntrySerialization()
DHashBasedTableTest.java83 SerializableTester.reserializeAndAssert(table); in testSerialization()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DSafeTreeSetTest.java64 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()
DSafeTreeMapTest.java47 SerializableTester.reserializeAndAssert(map.entrySet()); in testViewSerialization()
48 SerializableTester.reserializeAndAssert(map.keySet()); in testViewSerialization()
/external/guava/guava-testlib/test/com/google/common/testing/
DSerializableTesterTest.java32 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/
DHostAndPortTest.java250 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/
DEquivalenceTest.java90 SerializableTester.reserializeAndAssert(LENGTH_EQUIVALENCE.wrap("hello")); in testSerialization()
91 SerializableTester.reserializeAndAssert(Equivalence.equals()); in testSerialization()
92 SerializableTester.reserializeAndAssert(Equivalence.identity()); in testSerialization()
DConverterTest.java200 SerializableTester.reserializeAndAssert(identityConverter);
205 SerializableTester.reserializeAndAssert(reverseConverter);
212 SerializableTester.reserializeAndAssert(composedConverter);
217 SerializableTester.reserializeAndAssert(dumb);
DPredicatesTest.java467 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()
DEnumsTest.java83 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/
DTypesTest.java115 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/
DMapSerializationTester.java35 SerializableTester.reserializeAndAssert(getMap()); in testReserializeMap()
DListSubListTester.java318 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/
DSerializableTester.java94 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/
DOrderingTest.java22 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);
DMultimapBuilderTest.java64 SerializableTester.reserializeAndAssert(builder.build()); in testSerialization()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DListSubListTester.java314 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()

123