Home
last modified time | relevance | path

Searched refs:getSampleElements (Results 1 – 23 of 23) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractContainerTester.java140 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()
DAbstractMapTester.java96 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()
DOneSizeGenerator.java66 Collection<E> elements = getSampleElements( in createTestSubject()
72 public Collection<E> getSampleElements(int howMany) { in getSampleElements() method in OneSizeGenerator
DOneSizeTestContainerGenerator.java39 Collection<E> getSampleElements(int howMany); in getSampleElements() method
DDerivedCollectionGenerators.java129 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/
DListEqualsTester.java45 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()
DSetEqualsTester.java40 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()
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()
DSetHashCodeTester.java39 for (E element : getSampleElements()) { in testHashCode()
50 Collection<E> elements = getSampleElements(getNumElements() - 1); in testHashCode_containingNull()
DCollectionIteratorTester.java85 getSampleElements()); in testIterator_unknownOrderRemoveSupported()
91 getSampleElements()); in testIterator_unknownOrderRemoveUnsupported()
DSortedSetNavigationTester.java51 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetReadsTester.java81 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()
DMultimapEqualsTester.java41 .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsTrue()
46 List<Entry<K, V>> targetEntries = new ArrayList<Entry<K, V>>(getSampleElements()); in testEqualsFalse()
DMultisetEqualsTester.java36 getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsSameContents()
DMultimapValuesTester.java41 for (Map.Entry<K, V> entry : getSampleElements()) { in testValues()
DMultimapKeySetTester.java40 for (Map.Entry<K, V> entry : getSampleElements()) { in testKeySet()
DAbstractMultimapTester.java92 Iterator<Entry<K, V>> entries = getSampleElements().iterator(); in getEntryNullReplaces()
DMultimapEntriesTester.java46 ASSERT.that(multimap().entries()).has().exactlyAs(getSampleElements()); in testEntries()
DMultimapAsMapTester.java51 for (Entry<K, V> entry : getSampleElements()) { in testAsMapGet()
DDerivedGoogleCollectionGenerators.java180 mapGenerator.getSampleElements(elements.length); in create()
DMultisetNavigationTester.java67 copyToList(getSubjectGenerator().getSampleElements( in setUp()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DSetHashCodeTester.java36 for (E element : getSampleElements()) { in testHashCode()
47 Collection<E> elements = getSampleElements(getNumElements() - 1); in testHashCode_containingNull()
DCollectionIteratorTester.java83 getSampleElements()); in testIterator_unknownOrderRemoveSupported()
89 getSampleElements()); in testIterator_unknownOrderRemoveUnsupported()