Home
last modified time | relevance | path

Searched refs:SOME_COMPARATOR (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DMinMaxPriorityQueueTest.java48 private Ordering<Integer> SOME_COMPARATOR = Ordering.natural().reverse(); field in MinMaxPriorityQueueTest
62 .orderedBy(SOME_COMPARATOR) in testCreation_comparator()
66 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator()
80 .orderedBy(SOME_COMPARATOR) in testCreation_expectedSize_comparator()
85 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_expectedSize_comparator()
99 .orderedBy(SOME_COMPARATOR) in testCreation_comparator_maximumSize()
104 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator_maximumSize()
131 .orderedBy(SOME_COMPARATOR) in testCreation_comparator_withContents()
136 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator_withContents()
163 .orderedBy(SOME_COMPARATOR) in testCreation_allOptions()
[all …]
DSetsTest.java111 private static final Comparator<Integer> SOME_COMPARATOR field in SetsTest
530 TreeSet<Integer> set = Sets.newTreeSet(SOME_COMPARATOR);
531 verifySortedSetContents(set, EMPTY_COLLECTION, SOME_COMPARATOR);
DMapsTest.java78 private static final Comparator<Integer> SOME_COMPARATOR = field in MapsTest
265 TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR); in testTreeMapWithComparator()
267 assertSame(SOME_COMPARATOR, map.comparator()); in testTreeMapWithComparator()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DSetsTest.java86 private static final Comparator<Integer> SOME_COMPARATOR field in SetsTest
272 TreeSet<Integer> set = Sets.newTreeSet(SOME_COMPARATOR); in testNewTreeSetEmptyWithComparator()
273 verifySortedSetContents(set, EMPTY_COLLECTION, SOME_COMPARATOR); in testNewTreeSetEmptyWithComparator()
DMapsTest.java66 private static final Comparator<Integer> SOME_COMPARATOR = field in MapsTest
204 TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR); in testTreeMapWithComparator()
206 assertSame(SOME_COMPARATOR, map.comparator()); in testTreeMapWithComparator()