Home
last modified time | relevance | path

Searched refs:CollectorTester (Results 1 – 19 of 19) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/testing/
DCollectorTester.java51 public final class CollectorTester<T, A, R> { class
56 public static <T, A, R> CollectorTester<T, A, R> of(Collector<T, A, R> collector) { in of()
64 public static <T, A, R> CollectorTester<T, A, R> of( in of()
66 return new CollectorTester<>(collector, equivalence); in of()
72 private CollectorTester( in CollectorTester() method in CollectorTester
143 public final CollectorTester<T, A, R> expectCollects(@Nullable R expectedResult, T... inputs) { in expectCollects()
/external/guava/guava-tests/test/com/google/common/collect/
DTablesTest.java23 import com.google.common.testing.CollectorTester;
43 CollectorTester.of(collector, equivalence) in testToTable()
65 CollectorTester.of(collector, equivalence) in testToTableNullMerge()
107 CollectorTester.of(collector, equivalence) in testToTableMerging()
DImmutableEnumMapTest.java34 import com.google.common.testing.CollectorTester;
113 CollectorTester.of(collector, equivalence) in testToImmutableEnumMap()
136 CollectorTester.of(collector, equivalence) in testToImmutableMapMerging()
DComparatorsTest.java26 import com.google.common.testing.CollectorTester;
82 CollectorTester.of(Comparators.<Integer>least(2, Comparator.naturalOrder())) in testLeastCollector()
89 CollectorTester.of(Comparators.<Integer>greatest(2, Comparator.naturalOrder())) in testGreatestCollector()
DImmutableMultisetTest.java35 import com.google.common.testing.CollectorTester;
322 CollectorTester.of(ImmutableMultiset.<String>toImmutableMultiset(), equivalence) in testToImmutableMultiset()
331 CollectorTester.of( in testToImmutableMultisetCountFunction()
390 CollectorTester.of(collector, equivalence) in testToImmutableMultiset_duplicates()
398 CollectorTester.of(collector, equivalence) in testToImmutableMultiset_duplicates()
DImmutableSetTest.java38 import com.google.common.testing.CollectorTester;
307 CollectorTester.of(collector, equivalence) in testToImmutableSet()
354 CollectorTester.of(collector, equivalence) in testToImmutableSet_duplicates()
DImmutableRangeMapTest.java20 import com.google.common.testing.CollectorTester;
264 CollectorTester.of( in testToImmutableRangeSet()
DMultisetsTest.java24 import com.google.common.testing.CollectorTester;
283 CollectorTester.of( in testToMultisetCountFunction()
DImmutableSortedMultisetTest.java33 import com.google.common.testing.CollectorTester;
462 CollectorTester.of( in testToImmutableSortedMultiset()
487 CollectorTester.of( in testToImmutableSortedMultisetCountFunction()
DImmutableSetMultimapTest.java33 import com.google.common.testing.CollectorTester;
417 CollectorTester.of(collector, equivalence) in testToImmutableSetMultimap()
444 CollectorTester.of(collector, equivalence) in testFlatteningToImmutableSetMultimap()
DImmutableListMultimapTest.java33 import com.google.common.testing.CollectorTester;
402 CollectorTester.of(collector, equivalence) in testToImmutableListMultimap()
429 CollectorTester.of(collector, equivalence) in testFlatteningToImmutableListMultimap()
DImmutableTableTest.java26 import com.google.common.testing.CollectorTester;
54 CollectorTester.of(collector, equivalence) in testToImmutableTable()
125 CollectorTester.of(collector, equivalence) in testToImmutableTableMerging()
DImmutableSortedMapTest.java39 import com.google.common.testing.CollectorTester;
693 CollectorTester.of(collector, equivalence) in testToImmutableSortedMap()
716 CollectorTester.of(collector, equivalence) in testToImmutableSortedMapMerging()
DImmutableSortedSetTest.java39 import com.google.common.testing.CollectorTester;
723 CollectorTester.of(collector, equivalence) in testToImmutableSortedSet()
738 CollectorTester.of(collector, equivalence) in testToImmutableSortedSet_customComparator()
781 CollectorTester.of(collector, equivalence) in testToImmutableSortedSet_duplicates()
DImmutableMapTest.java50 import com.google.common.testing.CollectorTester;
693 CollectorTester.of(collector, equivalence) in testToImmutableMap()
718 CollectorTester.of(collector, equivalence) in testToImmutableMapMerging()
DImmutableRangeSetTest.java25 import com.google.common.testing.CollectorTester;
600 CollectorTester.of(ImmutableRangeSet.<Integer>toImmutableRangeSet()) in testToImmutableRangeSet()
DImmutableBiMapTest.java37 import com.google.common.testing.CollectorTester;
548 CollectorTester.of(collector, equivalence) in testToImmutableBiMap()
DMultimapsTest.java38 import com.google.common.testing.CollectorTester;
99 CollectorTester.of(collector, equivalence) in testToMultimap()
124 CollectorTester.of(collector, equivalence) in testFlatteningToMultimap()
DImmutableListTest.java42 import com.google.common.testing.CollectorTester;
465 CollectorTester.of(ImmutableList.<String>toImmutableList()) in testToImmutableList()