Home
last modified time | relevance | path

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

12

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java19 import static com.google.common.collect.testing.Helpers.copyToList;
67 copyToList(getSubjectGenerator().getSampleElements( in setUp()
175 assertEquals(Arrays.asList(b, c), copyToList(sortedMultiset.entrySet())); in testPollFirst()
229 assertEquals(Arrays.asList(a, b), copyToList(sortedMultiset.entrySet())); in testPollLast()
520 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetEntrySet()
524 assertEquals(expected, copyToList(subMultiset.entrySet())); in testSubMultisetEntrySet()
529 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetSize()
538 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); in testSubMultisetDistinctElements()
599 copyToList(sortedMultiset.headMultiset(b.getElement(), CLOSED).entrySet()); in testClearTailOpen()
601 assertEquals(expected, copyToList(sortedMultiset.entrySet())); in testClearTailOpen()
[all …]
DListMultimapPutTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
46 List<V> expectedValues = Helpers.copyToList(values); in testPutAddsValueAtEnd()
60 List<Entry<K, V>> entries = copyToList(multimap().entries()); in testPutDuplicateValue()
69 List<V> expectedValues = copyToList(values); in testPutDuplicateValue()
DMultimapPutTester.java93 List<V> values = Helpers.copyToList(multimap().get(key)); in testPutTwoElements()
166 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToGet()
173 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToGet()
185 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToAsMapGet()
193 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToAsMapGet()
205 List<K> keys = Helpers.copyToList(multimap().keySet()); in testPutPresentKeyPropagatesToAsMapEntrySet()
221 Collection<V> expectedCollection = Helpers.copyToList(collection); in testPutPresentKeyPropagatesToAsMapEntrySet()
DMultimapRemoveEntryTester.java122 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToGet()
130 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToGet()
143 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToAsMap()
151 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToAsMap()
164 List<Entry<K, V>> entries = Helpers.copyToList(multimap().entries()); in testRemovePropagatesToAsMapEntrySet()
181 Collection<V> expectedCollection = Helpers.copyToList(collection); in testRemovePropagatesToAsMapEntrySet()
DListMultimapRemoveTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
65 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromGetPropagates()
85 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapPropagates()
106 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapEntrySetPropagates()
DListMultimapPutAllTester.java17 import static com.google.common.collect.testing.Helpers.copyToList;
45 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()
DMultimapReplaceValuesTester.java109 List<K> keys = Helpers.copyToList(multimap().keySet()); in testReplaceNonEmptyValues()
117 Collection<V> oldKeyValues = Helpers.copyToList(multimap().get(k)); in testReplaceNonEmptyValues()
DTestStringListMultimapGenerator.java60 return Helpers.copyToList(values); in createCollection()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSortedMapNavigationTester.java54 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
116 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in testHeadMap()
126 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in testTailMap()
136 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in testSubMap()
DNavigableSetNavigationTester.java54 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
124 values.subList(1, values.size()), Helpers.copyToList(navigableSet)); in testPollFirst()
206 values.subList(0, values.size() - 1), Helpers.copyToList(navigableSet)); in testPollLast()
DNavigableMapNavigationTester.java53 entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
158 Helpers.copyToList(navigableMap.entrySet())); in testPollFirst()
224 Helpers.copyToList(navigableMap.entrySet())); in testPollLast()
DListSubListTester.java125 List<E> expected = Helpers.copyToList(createSamplesArray()); in testSubList_subListSetAffectsOriginal()
145 List<E> expected = Helpers.copyToList(createSamplesArray()); in testSubList_subListRemoveAffectsOriginalLargeList()
163 List<E> expected = Helpers.copyToList(createSamplesArray()); in testSubList_subListSetAffectsOriginalLargeList()
DAbstractListTester.java50 List<E> expectedList = Helpers.copyToList(expectedCollection); in expectContents()
DListAddTester.java70 List<E> expected = Helpers.copyToList(array); in testAdd_supportedNullPresent()
DCollectionToStringTester.java64 String expected = Helpers.copyToList(getOrderedElements()).toString(); in testToString_sizeSeveral()
DSortedSetNavigationTester.java51 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
DSetEqualsTester.java92 getSet().equals(Helpers.copyToList(getSet()))); in testEquals_list()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/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()
79 List<?> exp = copyToList(expected); in assertEqualIgnoringOrder()
80 List<?> act = copyToList(actual); in assertEqualIgnoringOrder()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DHelpers.java53 public static <E> List<E> copyToList(Iterable<? extends E> elements) { in copyToList() method in Helpers
59 public static <E> List<E> copyToList(E[] elements) { in copyToList() method in Helpers
60 return copyToList(Arrays.asList(elements)); in copyToList()
81 List<?> exp = copyToList(expected); in assertEqualIgnoringOrder()
82 List<?> act = copyToList(actual); in assertEqualIgnoringOrder()
DSortedSetTestSuiteBuilder.java46 Helpers.copyToList(super.getTesters()); in getTesters()
53 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
DAbstractContainerTester.java140 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded()
150 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded()
DSortedMapTestSuiteBuilder.java47 List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters()); in getTesters()
54 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DListSubListTester.java121 List<E> expected = Helpers.copyToList(createSamplesArray()); in testSubList_subListSetAffectsOriginal()
141 List<E> expected = Helpers.copyToList(createSamplesArray()); in testSubList_subListRemoveAffectsOriginalLargeList()
159 List<E> expected = Helpers.copyToList(createSamplesArray()); in testSubList_subListSetAffectsOriginalLargeList()
DListAddTester.java68 List<E> expected = Helpers.copyToList(array); in testAdd_supportedNullPresent()

12