Home
last modified time | relevance | path

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

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractContainerTester.java113 expectContents(getSampleElements()); in expectUnchanged()
139 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded()
149 List<E> expected = Helpers.copyToList(getSampleElements()); in expectAdded()
169 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()
217 new ArrayList<E>(getSampleElements()))) { in getOrderedElements()
DAbstractMapTester.java95 Iterator<Entry<K, V>> entries = getSampleElements().iterator(); in getEntryNullReplaces()
164 return getSampleElements(howMany); in getSampleEntries()
168 return getSampleElements(); in getSampleEntries()
199 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
DMapTestSuiteBuilder.java246 mapGenerator.getSampleElements(elements.length); in create()
307 mapGenerator.getSampleElements(elements.length); in create()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListEqualsTester.java40 getList().equals(new ArrayList<E>(getSampleElements()))); in testEquals_otherListWithSameElements()
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()
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()
DSetHashCodeTester.java37 for (E element : getSampleElements()) { in testHashCode()
48 Collection<E> elements = getSampleElements(getNumElements() - 1); in testHashCode_containingNull()
DCollectionIteratorTester.java86 getSampleElements()); in testIterator_unknownOrderRemoveSupported()
92 getSampleElements()); in testIterator_unknownOrderRemoveUnsupported()
DListHashCodeTester.java31 for (E element : getSampleElements()) { in testHashCode()
DListListIteratorTester.java71 Helpers.copyToList(getSampleElements()), 0) { in runListIteratorTest()
DSetNavigationTester.java53 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
DMapNavigationTester.java54 entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetReadsTester.java114 getMultiset().equals(HashMultiset.create(getSampleElements()))); in testEquals_yes()
118 Multiset<E> other = HashMultiset.create(getSampleElements()); in testEquals_differentSize()
126 Multiset<E> other = HashMultiset.create(getSampleElements()); in testEquals_differentElements()
DMultisetNavigationTester.java67 copyToList(getSubjectGenerator().getSampleElements( in setUp()