Home
last modified time | relevance | path

Searched refs:copyToList (Results 1 – 25 of 81) sorted by relevance

1234

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java19 import static com.google.common.collect.testing.Helpers.copyToList;
66 copyToList( in setUp()
175 assertEquals(Arrays.asList(b, c), copyToList(sortedMultiset.entrySet())); in testPollFirst()
230 assertEquals(Arrays.asList(a, b), copyToList(sortedMultiset.entrySet())); in testPollLast()
528 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetEntrySet()
532 assertEquals(expected, copyToList(subMultiset.entrySet())); in testSubMultisetEntrySet()
537 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetSize()
546 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetDistinctElements()
607 copyToList(sortedMultiset.headMultiset(b.getElement(), CLOSED).entrySet()); in testClearTailOpen()
609 assertEquals(expected, copyToList(sortedMultiset.entrySet())); in testClearTailOpen()
[all …]
DListMultimapPutTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
47 List<V> expectedValues = Helpers.copyToList(values); in testPutAddsValueAtEnd()
61 List<Entry<K, V>> entries = copyToList(multimap().entries()); in testPutDuplicateValue()
70 List<V> expectedValues = copyToList(values); in testPutDuplicateValue()
DMultimapPutTester.java86 List<V> values = Helpers.copyToList(multimap().get(k0())); in testPutTwoElements()
159 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToGet()
166 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToGet()
178 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToAsMapGet()
186 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToAsMapGet()
198 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToAsMapEntrySet()
214 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToAsMapEntrySet()
DMultimapRemoveEntryTester.java123 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToGet()
131 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToGet()
144 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToAsMap()
152 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToAsMap()
165 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToAsMapEntrySet()
182 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToAsMapEntrySet()
DListMultimapRemoveTester.java18 import static com.google.common.collect.testing.Helpers.copyToList;
60 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromGetPropagates()
77 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapPropagates()
95 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapEntrySetPropagates()
DListMultimapPutAllTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
43 List<V> expectedValues = copyToList(multimap().get(k)); in testPutAllAddsAtEndInOrder()
DSetMultimapPutTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
51 List<Entry<K, V>> entries = copyToList(multimap().entries()); in testPutDuplicateValue()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java19 import static com.google.common.collect.testing.Helpers.copyToList;
66 copyToList( in setUp()
175 assertEquals(Arrays.asList(b, c), copyToList(sortedMultiset.entrySet())); in testPollFirst()
230 assertEquals(Arrays.asList(a, b), copyToList(sortedMultiset.entrySet())); in testPollLast()
528 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetEntrySet()
532 assertEquals(expected, copyToList(subMultiset.entrySet())); in testSubMultisetEntrySet()
537 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetSize()
546 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetDistinctElements()
607 copyToList(sortedMultiset.headMultiset(b.getElement(), CLOSED).entrySet()); in testClearTailOpen()
609 assertEquals(expected, copyToList(sortedMultiset.entrySet())); in testClearTailOpen()
[all …]
DListMultimapPutTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
47 List<V> expectedValues = Helpers.copyToList(values); in testPutAddsValueAtEnd()
61 List<Entry<K, V>> entries = copyToList(multimap().entries()); in testPutDuplicateValue()
70 List<V> expectedValues = copyToList(values); in testPutDuplicateValue()
DMultimapPutTester.java86 List<V> values = Helpers.copyToList(multimap().get(k0())); in testPutTwoElements()
159 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToGet()
166 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToGet()
178 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToAsMapGet()
186 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToAsMapGet()
198 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToAsMapEntrySet()
214 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToAsMapEntrySet()
DMultimapRemoveEntryTester.java123 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToGet()
131 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToGet()
144 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToAsMap()
152 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToAsMap()
165 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToAsMapEntrySet()
182 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToAsMapEntrySet()
DListMultimapRemoveTester.java18 import static com.google.common.collect.testing.Helpers.copyToList;
60 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromGetPropagates()
77 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapPropagates()
95 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapEntrySetPropagates()
DListMultimapPutAllTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
43 List<V> expectedValues = copyToList(multimap().get(k)); in testPutAllAddsAtEndInOrder()
DSetMultimapPutTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
51 List<Entry<K, V>> entries = copyToList(multimap().entries()); in testPutDuplicateValue()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSortedMapNavigationTester.java57 Helpers.copyToList( in setUp()
121 Helpers.copyToList( in testHeadMap()
133 Helpers.copyToList( in testTailMap()
146 Helpers.copyToList( in testSubMap()
DNavigableSetNavigationTester.java59 Helpers.copyToList( in setUp()
126 assertEquals(values.subList(1, values.size()), Helpers.copyToList(navigableSet)); in testPollFirst()
207 assertEquals(values.subList(0, values.size() - 1), Helpers.copyToList(navigableSet)); in testPollLast()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/
DSortedMapNavigationTester.java57 Helpers.copyToList( in setUp()
121 Helpers.copyToList( in testHeadMap()
133 Helpers.copyToList( in testTailMap()
146 Helpers.copyToList( in testSubMap()
DNavigableSetNavigationTester.java59 Helpers.copyToList( in setUp()
126 assertEquals(values.subList(1, values.size()), Helpers.copyToList(navigableSet)); in testPollFirst()
207 assertEquals(values.subList(0, values.size() - 1), Helpers.copyToList(navigableSet)); in testPollLast()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DHelpers.java51 public static <E> List<E> copyToList(Iterable<? extends E> elements) { in copyToList() method in Helpers
57 public static <E> List<E> copyToList(E[] elements) { in copyToList() method in Helpers
58 return copyToList(Arrays.asList(elements)); in copyToList()
126 List<?> exp = copyToList(expected); in assertEqualIgnoringOrder()
127 List<?> act = copyToList(actual); in assertEqualIgnoringOrder()
DSortedSetTestSuiteBuilder.java44 List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters()); in getTesters()
52 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
DSortedMapTestSuiteBuilder.java49 List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters()); in getTesters()
57 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DHelpers.java51 public static <E> List<E> copyToList(Iterable<? extends E> elements) { in copyToList() method in Helpers
57 public static <E> List<E> copyToList(E[] elements) { in copyToList() method in Helpers
58 return copyToList(Arrays.asList(elements)); in copyToList()
126 List<?> exp = copyToList(expected); in assertEqualIgnoringOrder()
127 List<?> act = copyToList(actual); in assertEqualIgnoringOrder()
DSortedSetTestSuiteBuilder.java44 List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters()); in getTesters()
52 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
DAbstractContainerTester.java135 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded()
145 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded()
DSortedMapTestSuiteBuilder.java49 List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters()); in getTesters()
57 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()

1234