/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetNavigationTester.java | 19 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 …]
|
D | ListMultimapPutTester.java | 17 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()
|
D | MultimapPutTester.java | 93 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()
|
D | MultimapRemoveEntryTester.java | 122 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()
|
D | ListMultimapRemoveTester.java | 17 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()
|
D | ListMultimapPutAllTester.java | 17 import static com.google.common.collect.testing.Helpers.copyToList; 45 List<V> expectedValues = copyToList(multimap().get(k)); in testPutAllAddsAtEndInOrder()
|
D | SetMultimapPutTester.java | 17 import static com.google.common.collect.testing.Helpers.copyToList; 51 List<Entry<K, V>> entries = copyToList(multimap().entries()); in testPutDuplicateValue()
|
D | MultimapReplaceValuesTester.java | 109 List<K> keys = Helpers.copyToList(multimap().keySet()); in testReplaceNonEmptyValues() 117 Collection<V> oldKeyValues = Helpers.copyToList(multimap().get(k)); in testReplaceNonEmptyValues()
|
D | TestStringListMultimapGenerator.java | 60 return Helpers.copyToList(values); in createCollection()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | SortedMapNavigationTester.java | 54 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()
|
D | NavigableSetNavigationTester.java | 54 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()
|
D | NavigableMapNavigationTester.java | 53 entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp() 158 Helpers.copyToList(navigableMap.entrySet())); in testPollFirst() 224 Helpers.copyToList(navigableMap.entrySet())); in testPollLast()
|
D | ListSubListTester.java | 125 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()
|
D | AbstractListTester.java | 50 List<E> expectedList = Helpers.copyToList(expectedCollection); in expectContents()
|
D | ListAddTester.java | 70 List<E> expected = Helpers.copyToList(array); in testAdd_supportedNullPresent()
|
D | CollectionToStringTester.java | 64 String expected = Helpers.copyToList(getOrderedElements()).toString(); in testToString_sizeSeveral()
|
D | SortedSetNavigationTester.java | 51 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
|
D | SetEqualsTester.java | 92 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/ |
D | Helpers.java | 51 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/ |
D | Helpers.java | 53 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()
|
D | SortedSetTestSuiteBuilder.java | 46 Helpers.copyToList(super.getTesters()); in getTesters() 53 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
|
D | AbstractContainerTester.java | 140 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded() 150 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded()
|
D | SortedMapTestSuiteBuilder.java | 47 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/ |
D | ListSubListTester.java | 121 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()
|
D | ListAddTester.java | 68 List<E> expected = Helpers.copyToList(array); in testAdd_supportedNullPresent()
|