/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetNavigationTester.java | 19 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 …]
|
D | ListMultimapPutTester.java | 17 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()
|
D | MultimapPutTester.java | 86 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()
|
D | MultimapRemoveEntryTester.java | 123 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()
|
D | ListMultimapRemoveTester.java | 18 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()
|
D | ListMultimapPutAllTester.java | 17 import static com.google.common.collect.testing.Helpers.copyToList; 43 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()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetNavigationTester.java | 19 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 …]
|
D | ListMultimapPutTester.java | 17 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()
|
D | MultimapPutTester.java | 86 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()
|
D | MultimapRemoveEntryTester.java | 123 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()
|
D | ListMultimapRemoveTester.java | 18 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()
|
D | ListMultimapPutAllTester.java | 17 import static com.google.common.collect.testing.Helpers.copyToList; 43 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()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | SortedMapNavigationTester.java | 57 Helpers.copyToList( in setUp() 121 Helpers.copyToList( in testHeadMap() 133 Helpers.copyToList( in testTailMap() 146 Helpers.copyToList( in testSubMap()
|
D | NavigableSetNavigationTester.java | 59 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/ |
D | SortedMapNavigationTester.java | 57 Helpers.copyToList( in setUp() 121 Helpers.copyToList( in testHeadMap() 133 Helpers.copyToList( in testTailMap() 146 Helpers.copyToList( in testSubMap()
|
D | NavigableSetNavigationTester.java | 59 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/ |
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() 126 List<?> exp = copyToList(expected); in assertEqualIgnoringOrder() 127 List<?> act = copyToList(actual); in assertEqualIgnoringOrder()
|
D | SortedSetTestSuiteBuilder.java | 44 List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters()); in getTesters() 52 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
|
D | SortedMapTestSuiteBuilder.java | 49 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/ |
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() 126 List<?> exp = copyToList(expected); in assertEqualIgnoringOrder() 127 List<?> act = copyToList(actual); in assertEqualIgnoringOrder()
|
D | SortedSetTestSuiteBuilder.java | 44 List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters()); in getTesters() 52 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
|
D | AbstractContainerTester.java | 135 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded() 145 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded()
|
D | SortedMapTestSuiteBuilder.java | 49 List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters()); in getTesters() 57 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite()
|