/external/guava/android/guava-testlib/src/com/google/common/collect/testing/ |
D | AbstractContainerTester.java | 135 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded() 145 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded() 164 getSampleElements().toArray(array); in createSamplesArray() 200 protected Collection<E> getSampleElements(int howMany) { in getSampleElements() method in AbstractContainerTester 201 return getSubjectGenerator().getSampleElements(howMany); in getSampleElements() 204 protected Collection<E> getSampleElements() { in getSampleElements() method in AbstractContainerTester 205 return getSampleElements(getNumElements()); in getSampleElements() 215 for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) { in getOrderedElements()
|
D | AbstractMapTester.java | 90 Iterator<Entry<K, V>> entries = getSampleElements().iterator(); in getEntryNullReplaces() 153 return getSampleElements(howMany); in getSampleEntries() 157 return getSampleElements(); in getSampleEntries() 190 List<Entry<K, V>> expected = Helpers.copyToList(getSampleElements()); in expectReplacement()
|
D | OneSizeGenerator.java | 63 Collection<E> elements = getSampleElements(getCollectionSize().getNumElements()); in createTestSubject() 68 public Collection<E> getSampleElements(int howMany) { in getSampleElements() method in OneSizeGenerator
|
D | OneSizeTestContainerGenerator.java | 38 Collection<E> getSampleElements(int howMany); in getSampleElements() method
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | AbstractContainerTester.java | 135 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded() 145 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded() 164 getSampleElements().toArray(array); in createSamplesArray() 200 protected Collection<E> getSampleElements(int howMany) { in getSampleElements() method in AbstractContainerTester 201 return getSubjectGenerator().getSampleElements(howMany); in getSampleElements() 204 protected Collection<E> getSampleElements() { in getSampleElements() method in AbstractContainerTester 205 return getSampleElements(getNumElements()); in getSampleElements() 215 for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) { in getOrderedElements()
|
D | AbstractMapTester.java | 90 Iterator<Entry<K, V>> entries = getSampleElements().iterator(); in getEntryNullReplaces() 153 return getSampleElements(howMany); in getSampleEntries() 157 return getSampleElements(); in getSampleEntries() 190 List<Entry<K, V>> expected = Helpers.copyToList(getSampleElements()); in expectReplacement()
|
D | OneSizeGenerator.java | 63 Collection<E> elements = getSampleElements(getCollectionSize().getNumElements()); in createTestSubject() 68 public Collection<E> getSampleElements(int howMany) { in getSampleElements() method in OneSizeGenerator
|
D | OneSizeTestContainerGenerator.java | 38 Collection<E> getSampleElements(int howMany); in getSampleElements() method
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListEqualsTester.java | 46 ArrayList<E> other = new ArrayList<>(getSampleElements()); in testEquals_otherListWithDifferentElements() 55 List<E> other = new ArrayList<>(getSampleElements()); in testEquals_otherListContainingNull() 65 ArrayList<E> elements = new ArrayList<>(getSampleElements()); in testEquals_containingNull() 68 List<E> other = new ArrayList<>(getSampleElements()); in testEquals_containingNull() 76 Collection<E> fewerElements = getSampleElements(getNumElements() - 1); in testEquals_shorterList() 83 Collection<E> moreElements = getSampleElements(getNumElements() + 1); in testEquals_longerList()
|
D | SetEqualsTester.java | 41 getSet().equals(MinimalSet.from(getSampleElements()))); in testEquals_otherSetWithSameElements() 46 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_otherSetWithDifferentElements() 57 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_containingNull() 69 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_otherContainsNull() 80 Collection<E> fewerElements = getSampleElements(getNumElements() - 1); in testEquals_smallerSet() 87 Collection<E> moreElements = getSampleElements(getNumElements() + 1); in testEquals_largerSet()
|
D | SortedMapNavigationTester.java | 59 .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); in setUp() 123 .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); in testHeadMap() 135 .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); in testTailMap() 148 .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); in testSubMap()
|
D | SetHashCodeTester.java | 40 for (E element : getSampleElements()) { in testHashCode() 52 Collection<E> elements = getSampleElements(getNumElements() - 1); in testHashCode_containingNull()
|
D | CollectionIteratorTester.java | 111 runIteratorTest(MODIFIABLE, IteratorTester.KnownOrder.UNKNOWN_ORDER, getSampleElements()); in testIterator_unknownOrderRemoveSupported() 116 runIteratorTest(UNMODIFIABLE, IteratorTester.KnownOrder.UNKNOWN_ORDER, getSampleElements()); in testIterator_unknownOrderRemoveUnsupported()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | SetEqualsTester.java | 41 getSet().equals(MinimalSet.from(getSampleElements()))); in testEquals_otherSetWithSameElements() 46 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_otherSetWithDifferentElements() 57 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_containingNull() 69 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_otherContainsNull() 80 Collection<E> fewerElements = getSampleElements(getNumElements() - 1); in testEquals_smallerSet() 87 Collection<E> moreElements = getSampleElements(getNumElements() + 1); in testEquals_largerSet()
|
D | ListEqualsTester.java | 46 ArrayList<E> other = new ArrayList<>(getSampleElements()); in testEquals_otherListWithDifferentElements() 55 List<E> other = new ArrayList<>(getSampleElements()); in testEquals_otherListContainingNull() 65 ArrayList<E> elements = new ArrayList<>(getSampleElements()); in testEquals_containingNull() 68 List<E> other = new ArrayList<>(getSampleElements()); in testEquals_containingNull() 76 Collection<E> fewerElements = getSampleElements(getNumElements() - 1); in testEquals_shorterList() 83 Collection<E> moreElements = getSampleElements(getNumElements() + 1); in testEquals_longerList()
|
D | SortedMapNavigationTester.java | 59 .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); in setUp() 123 .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); in testHeadMap() 135 .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); in testTailMap() 148 .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); in testSubMap()
|
D | SetHashCodeTester.java | 40 for (E element : getSampleElements()) { in testHashCode() 52 Collection<E> elements = getSampleElements(getNumElements() - 1); in testHashCode_containingNull()
|
D | CollectionIteratorTester.java | 111 runIteratorTest(MODIFIABLE, IteratorTester.KnownOrder.UNKNOWN_ORDER, getSampleElements()); in testIterator_unknownOrderRemoveSupported() 116 runIteratorTest(UNMODIFIABLE, IteratorTester.KnownOrder.UNKNOWN_ORDER, getSampleElements()); in testIterator_unknownOrderRemoveUnsupported()
|
D | CollectionStreamTester.java | 46 getSampleElements(), Arrays.asList(collection.stream().toArray())); in testStreamToArrayUnknownOrder()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetReadsTester.java | 88 getMultiset().equals(HashMultiset.create(getSampleElements()))); in testEquals_yes() 92 Multiset<E> other = HashMultiset.create(getSampleElements()); in testEquals_differentSize() 99 Multiset<E> other = HashMultiset.create(getSampleElements()); in testEquals_differentElements()
|
D | MultimapForEachTester.java | 41 assertEqualIgnoringOrder(getSampleElements(), multimap().entries()); in testForEach() 48 assertEqualIgnoringOrder(getSampleElements(), multimap().entries()); in testForEachOrder()
|
D | MultimapEqualsTester.java | 42 .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsTrue() 47 List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements()); in testEqualsFalse()
|
D | MultisetEqualsTester.java | 37 getMultiset(), getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsSameContents()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetReadsTester.java | 88 getMultiset().equals(HashMultiset.create(getSampleElements()))); in testEquals_yes() 92 Multiset<E> other = HashMultiset.create(getSampleElements()); in testEquals_differentSize() 99 Multiset<E> other = HashMultiset.create(getSampleElements()); in testEquals_differentElements()
|
D | MultimapEqualsTester.java | 42 .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsTrue() 47 List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements()); in testEqualsFalse()
|