Home
last modified time | relevance | path

Searched refs:getSubjectGenerator (Results 1 – 25 of 34) sorted by relevance

12

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractContainerTester.java43 samples = this.getSubjectGenerator().samples(); in setUp()
62 return resetContainer(getSubjectGenerator().createTestSubject()); in resetContainer()
168 E[] array = getSubjectGenerator().createArray(getNumElements()); in createSamplesArray()
197 return getSubjectGenerator().getCollectionSize().getNumElements(); in getNumElements()
201 return getSubjectGenerator().getSampleElements(howMany); in getSampleElements()
216 for (E e : getSubjectGenerator().order( in getOrderedElements()
DDerivedIteratorTestSuiteBuilder.java48 getSubjectGenerator())) in createTestSuite()
DAbstractCollectionTester.java63 resetContainer(getSubjectGenerator().create(array)); in initCollectionWithNullElement()
DAbstractMapTester.java47 samples = this.getSubjectGenerator().samples(); in setUp()
227 resetContainer(getSubjectGenerator().create((Object[]) entries)); in resetMap()
DAbstractTester.java67 public G getSubjectGenerator() { in getSubjectGenerator() method in AbstractTester
DMapTestSuiteBuilder.java92 new MapEntrySetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites()
99 new MapKeySetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites()
107 parentBuilder.getSubjectGenerator())) in createDerivedSuites()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetIteratorTester.java41 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, getSubjectGenerator().order( in testRemovingIteratorKnownOrder()
46 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testRemovingIteratorKnownOrder()
59 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testRemovingIteratorUnknownOrder()
68 new IteratorTester<E>(4, IteratorFeature.UNMODIFIABLE, getSubjectGenerator().order( in testIteratorKnownOrder()
73 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testIteratorKnownOrder()
86 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testIteratorUnknownOrder()
DAbstractMultisetTester.java36 getSubjectGenerator().create(samples.e0, samples.e0, samples.e0); in initThreeCopies()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSetCreationTester.java46 collection = getSubjectGenerator().create(array); in testCreateWithDuplicates_nullDuplicatesNotRejected()
58 collection = getSubjectGenerator().create(array); in testCreateWithDuplicates_nonNullDuplicatesNotRejected()
72 collection = getSubjectGenerator().create(array); in testCreateWithDuplicates_nullDuplicatesRejected()
84 collection = getSubjectGenerator().create(array); in testCreateWithDuplicates_nonNullDuplicatesRejected()
DCollectionToArrayTester.java63 E[] empty = getSubjectGenerator().createArray(0); in testToArray_emptyArray()
73 E[] empty = getSubjectGenerator().createArray(0); in testToArray_emptyArray_ordered()
92 E[] array = getSubjectGenerator().createArray(getNumElements()); in testToArray_rightSizedArray()
100 E[] array = getSubjectGenerator().createArray(getNumElements()); in testToArray_rightSizedArray_ordered()
122 E[] array = getSubjectGenerator().createArray(getNumElements() + 2); in testToArray_oversizedArray()
143 E[] array = getSubjectGenerator().createArray(getNumElements() + 2); in testToArray_oversizedArray_ordered()
DCollectionCreationTester.java42 collection = getSubjectGenerator().create(array); in testCreateWithNull_supported()
52 getSubjectGenerator().create(array); in testCreateWithNull_unsupported()
DListRetainAllTester.java43 collection = getSubjectGenerator().create(array); in testRetainAll_duplicatesKept()
55 collection = getSubjectGenerator().create(array); in testRetainAll_duplicatesRemoved()
DMapEqualsTester.java50 Entry<K, V> e3 = getSubjectGenerator().samples().e3; in testEquals_otherMapWithDifferentEntries()
64 resetContainer(getSubjectGenerator().create(entries.toArray())); in testEquals_containingNullKey()
88 resetContainer(getSubjectGenerator().create(entries.toArray())); in testEquals_containingNullValue()
DSetEqualsTester.java46 elements.add(getSubjectGenerator().samples().e3); in testEquals_otherSetWithDifferentElements()
60 collection = getSubjectGenerator().create(elements.toArray()); in testEquals_containingNull()
DListEqualsTester.java46 other.set(other.size() / 2, getSubjectGenerator().samples().e3); in testEquals_otherListWithDifferentElements()
66 collection = getSubjectGenerator().create(elements.toArray()); in testEquals_containingNull()
DSetNavigationTester.java53 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
54 getSubjectGenerator().getCollectionSize().getNumElements())); in setUp()
72 super.resetContainer(getSubjectGenerator().create(a, c)); in resetWithHole()
DListCreationTester.java41 collection = getSubjectGenerator().create(array); in testCreateWithDuplicates()
DListLastIndexOfTester.java49 collection = getSubjectGenerator().create(array); in testLastIndexOf_duplicate()
DListRemoveAllTester.java42 collection = getSubjectGenerator().create(arrayAndDuplicate.elements); in testRemoveAll_duplicate()
DListIndexOfTester.java49 collection = getSubjectGenerator().create(array); in testIndexOf_duplicate()
DSetAddTester.java49 collection = getSubjectGenerator().create(array); in testAdd_supportedNullPresent()
DListRemoveTester.java40 collection = getSubjectGenerator().create(arrayAndDuplicate.elements); in testRemove_duplicate()
DSetHashCodeTester.java55 collection = getSubjectGenerator().create(elements.toArray()); in testHashCode_containingNull()
DListAddTester.java66 collection = getSubjectGenerator().create(array); in testAdd_supportedNullPresent()
DMapHashCodeTester.java72 resetContainer(getSubjectGenerator().create(entries.toArray())); in runEntryWithNullTest()

12