/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | AbstractContainerTester.java | 140 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded() 150 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded() 170 getSampleElements().toArray(array); in createSamplesArray() 207 protected Collection<E> getSampleElements(int howMany) { in getSampleElements() method in AbstractContainerTester 208 return getSubjectGenerator().getSampleElements(howMany); in getSampleElements() 211 protected Collection<E> getSampleElements() { in getSampleElements() method in AbstractContainerTester 212 return getSampleElements(getNumElements()); in getSampleElements() 224 new ArrayList<E>(getSampleElements()))) { in getOrderedElements()
|
D | AbstractMapTester.java | 96 Iterator<Entry<K, V>> entries = getSampleElements().iterator(); in getEntryNullReplaces() 165 return getSampleElements(howMany); in getSampleEntries() 169 return getSampleElements(); in getSampleEntries() 201 List<Entry<K, V>> expected = Helpers.copyToList(getSampleElements()); in expectReplacement()
|
D | OneSizeGenerator.java | 66 Collection<E> elements = getSampleElements( in createTestSubject() 72 public Collection<E> getSampleElements(int howMany) { in getSampleElements() method in OneSizeGenerator
|
D | OneSizeTestContainerGenerator.java | 39 Collection<E> getSampleElements(int howMany); in getSampleElements() method
|
D | DerivedCollectionGenerators.java | 129 mapGenerator.getSampleElements(elements.length); in create() 242 mapGenerator.getSampleElements(elements.length); in create() 267 mapGenerator.getSampleElements(5)))); in order()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListEqualsTester.java | 45 ArrayList<E> other = new ArrayList<E>(getSampleElements()); in testEquals_otherListWithDifferentElements() 54 List<E> other = new ArrayList<E>(getSampleElements()); in testEquals_otherListContainingNull() 64 ArrayList<E> elements = new ArrayList<E>(getSampleElements()); in testEquals_containingNull() 67 List<E> other = new ArrayList<E>(getSampleElements()); in testEquals_containingNull() 75 Collection<E> fewerElements = getSampleElements(getNumElements() - 1); in testEquals_shorterList() 81 Collection<E> moreElements = getSampleElements(getNumElements() + 1); in testEquals_longerList()
|
D | SetEqualsTester.java | 40 getSet().equals(MinimalSet.from(getSampleElements()))); in testEquals_otherSetWithSameElements() 45 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_otherSetWithDifferentElements() 57 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_containingNull() 68 Collection<E> elements = getSampleElements(getNumElements() - 1); in testEquals_otherContainsNull() 79 Collection<E> fewerElements = getSampleElements(getNumElements() - 1); in testEquals_smallerSet() 85 Collection<E> moreElements = getSampleElements(getNumElements() + 1); in testEquals_largerSet()
|
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 | SetHashCodeTester.java | 39 for (E element : getSampleElements()) { in testHashCode() 50 Collection<E> elements = getSampleElements(getNumElements() - 1); in testHashCode_containingNull()
|
D | CollectionIteratorTester.java | 85 getSampleElements()); in testIterator_unknownOrderRemoveSupported() 91 getSampleElements()); in testIterator_unknownOrderRemoveUnsupported()
|
D | SortedSetNavigationTester.java | 51 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
|
D | NavigableSetNavigationTester.java | 54 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
|
D | NavigableMapNavigationTester.java | 53 entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetReadsTester.java | 81 getMultiset().equals(HashMultiset.create(getSampleElements()))); in testEquals_yes() 85 Multiset<E> other = HashMultiset.create(getSampleElements()); in testEquals_differentSize() 93 Multiset<E> other = HashMultiset.create(getSampleElements()); in testEquals_differentElements()
|
D | MultimapEqualsTester.java | 41 .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsTrue() 46 List<Entry<K, V>> targetEntries = new ArrayList<Entry<K, V>>(getSampleElements()); in testEqualsFalse()
|
D | MultisetEqualsTester.java | 36 getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsSameContents()
|
D | MultimapValuesTester.java | 41 for (Map.Entry<K, V> entry : getSampleElements()) { in testValues()
|
D | MultimapKeySetTester.java | 40 for (Map.Entry<K, V> entry : getSampleElements()) { in testKeySet()
|
D | AbstractMultimapTester.java | 92 Iterator<Entry<K, V>> entries = getSampleElements().iterator(); in getEntryNullReplaces()
|
D | MultimapEntriesTester.java | 46 assertThat(multimap().entries()).has().exactlyAs(getSampleElements()); in testEntries()
|
D | DerivedGoogleCollectionGenerators.java | 180 mapGenerator.getSampleElements(elements.length); in create()
|
D | MultimapAsMapTester.java | 51 for (Entry<K, V> entry : getSampleElements()) { in testAsMapGet()
|
D | MultisetNavigationTester.java | 67 copyToList(getSubjectGenerator().getSampleElements( in setUp()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
D | SetHashCodeTester.java | 36 for (E element : getSampleElements()) { in testHashCode() 47 Collection<E> elements = getSampleElements(getNumElements() - 1); in testHashCode_containingNull()
|
D | CollectionIteratorTester.java | 83 getSampleElements()); in testIterator_unknownOrderRemoveSupported() 89 getSampleElements()); in testIterator_unknownOrderRemoveUnsupported()
|