Home
last modified time | relevance | path

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

123

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutAllMultimapTester.java42 multimap().putAll(getSubjectGenerator().create( in testPutUnsupported()
50 Multimap<K, V> target = getSubjectGenerator().create(); in testPutAllIntoEmpty()
57 Multimap<K, V> source = getSubjectGenerator().create( in testPutAll()
67 Multimap<K, V> source = getSubjectGenerator().create( in testPutAllWithNullValue()
75 Multimap<K, V> source = getSubjectGenerator().create( in testPutAllWithNullKey()
83 Multimap<K, V> source = getSubjectGenerator().create( in testPutAllRejectsNullValue()
94 Multimap<K, V> source = getSubjectGenerator().create( in testPutAllRejectsNullKey()
105 Multimap<K, V> source = getSubjectGenerator().create( in testPutAllPropagatesToGet()
DMultisetIteratorTester.java43 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, getSubjectGenerator().order( in testRemovingIteratorKnownOrder()
48 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testRemovingIteratorKnownOrder()
61 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testRemovingIteratorUnknownOrder()
70 new IteratorTester<E>(4, IteratorFeature.UNMODIFIABLE, getSubjectGenerator().order( in testIteratorKnownOrder()
75 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testIteratorKnownOrder()
88 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testIteratorUnknownOrder()
DMultimapEqualsTester.java41 .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsTrue()
50 .addEqualityGroup(getSubjectGenerator().create(targetEntries.toArray())) in testEqualsFalse()
62 .addEqualityGroup(withNull, getSubjectGenerator().create(createArrayWithNullKey())) in testEqualsMultimapWithNullKey()
74 .addEqualityGroup(withNull, getSubjectGenerator().create(createArrayWithNullValue())) in testEqualsMultimapWithNullValue()
82 .addEqualityGroup(getSubjectGenerator().create()) in testNotEqualsEmpty()
DMultisetEqualsTester.java36 getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsSameContents()
44 .addEqualityGroup(getSubjectGenerator().create()) in testNotEqualsEmpty()
58 getSubjectGenerator().create(createArrayWithNullElement()), in testEqualsMultisetWithNullValue()
59 getSubjectGenerator().create(createArrayWithNullElement())) in testEqualsMultisetWithNullValue()
DAbstractMultimapTester.java100 resetContainer(getSubjectGenerator().create(createArrayWithNullKey())); in initMultimapWithNullKey()
104 resetContainer(getSubjectGenerator().create(createArrayWithNullValue())); in initMultimapWithNullValue()
108 resetContainer(getSubjectGenerator().create(createArrayWithNullKeyAndValue())); in initMultimapWithNullKeyAndValue()
112 return ((TestMultimapGenerator<K, V, ? extends Multimap<K, V>>) getSubjectGenerator() in sampleKeys()
117 return ((TestMultimapGenerator<K, V, ? extends Multimap<K, V>>) getSubjectGenerator() in sampleValues()
134 multimap = super.resetContainer(getSubjectGenerator().create(newContents)); in resetContainer()
DSetMultimapEqualsTester.java35 SetMultimap<K, V> multimap1 = getSubjectGenerator().create( in testOrderingDoesntAffectEqualsComparisons()
39 SetMultimap<K, V> multimap2 = getSubjectGenerator().create( in testOrderingDoesntAffectEqualsComparisons()
DListMultimapEqualsTester.java34 ListMultimap<K, V> multimap1 = getSubjectGenerator().create( in testOrderingAffectsEqualsComparisons()
38 ListMultimap<K, V> multimap2 = getSubjectGenerator().create( in testOrderingAffectsEqualsComparisons()
DBiMapTestSuiteBuilder.java87 .using(new MapGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites()
99 .using(new BiMapValueSetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites()
108 .using(new InverseBiMapGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites()
DSetMultimapTestSuiteBuilder.java69 new MultimapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in computeMultimapGetTestSuite()
85 new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in computeMultimapAsMapGetTestSuite()
98 new EntriesGenerator<K, V>(parentBuilder.getSubjectGenerator())) in computeEntriesTestSuite()
DSortedMultisetTestSuiteBuilder.java86 .using(new ElementSetGenerator<E>(parentBuilder.getSubjectGenerator())) in createElementSetTestSuite()
151 (TestMultisetGenerator<E>) parentBuilder.getSubjectGenerator(); in createSubMultisetSuite()
250 (TestMultisetGenerator<E>) parentBuilder.getSubjectGenerator();
281 (TestMultisetGenerator<E>) parentBuilder.getSubjectGenerator();
DSortedSetMultimapTestSuiteBuilder.java70 parentBuilder.getSubjectGenerator())) in computeMultimapGetTestSuite()
87 parentBuilder.getSubjectGenerator())) in computeMultimapAsMapGetTestSuite()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractContainerTester.java44 samples = this.getSubjectGenerator().samples(); in setUp()
63 return resetContainer(getSubjectGenerator().createTestSubject()); in resetContainer()
169 E[] array = getSubjectGenerator().createArray(getNumElements()); in createSamplesArray()
175 E[] array = getSubjectGenerator().createArray(getNumElements()); in createOrderedArray()
204 return getSubjectGenerator().getCollectionSize().getNumElements(); in getNumElements()
208 return getSubjectGenerator().getSampleElements(howMany); in getSampleElements()
223 for (E e : getSubjectGenerator().order( in getOrderedElements()
DMapTestSuiteBuilder.java102 new ReserializedMapGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites()
110 new MapEntrySetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites()
117 keySetGenerator(parentBuilder.getSubjectGenerator())) in createDerivedSuites()
125 parentBuilder.getSubjectGenerator())) in createDerivedSuites()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
DMultisetIteratorTester.java39 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, getSubjectGenerator().order( in testRemovingIteratorKnownOrder()
44 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testRemovingIteratorKnownOrder()
57 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testRemovingIteratorUnknownOrder()
66 new IteratorTester<E>(4, IteratorFeature.UNMODIFIABLE, getSubjectGenerator().order( in testIteratorKnownOrder()
71 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testIteratorKnownOrder()
84 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) in testIteratorUnknownOrder()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSortedMapNavigationTester.java54 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
55 getSubjectGenerator().getCollectionSize().getNumElements())); in setUp()
116 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in testHeadMap()
117 getSubjectGenerator().getCollectionSize().getNumElements())); in testHeadMap()
126 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in testTailMap()
127 getSubjectGenerator().getCollectionSize().getNumElements())); in testTailMap()
136 List<Entry<K, V>> entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( in testSubMap()
137 getSubjectGenerator().getCollectionSize().getNumElements())); in testSubMap()
DCollectionToArrayTester.java64 E[] empty = getSubjectGenerator().createArray(0); in testToArray_emptyArray()
74 E[] empty = getSubjectGenerator().createArray(0); in testToArray_emptyArray_ordered()
93 E[] array = getSubjectGenerator().createArray(getNumElements()); in testToArray_rightSizedArray()
101 E[] array = getSubjectGenerator().createArray(getNumElements()); in testToArray_rightSizedArray_ordered()
123 E[] array = getSubjectGenerator().createArray(getNumElements() + 2); in testToArray_oversizedArray()
144 E[] array = getSubjectGenerator().createArray(getNumElements() + 2); in testToArray_oversizedArray_ordered()
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()
DListRetainAllTester.java46 collection = getSubjectGenerator().create(array); in testRetainAll_duplicatesKept()
58 collection = getSubjectGenerator().create(array); in testRetainAll_duplicatesRemoved()
68 resetContainer(getSubjectGenerator().create(samples.e0, samples.e2, samples.e1, samples.e0)); in testRetainAll_countIgnored()
DCollectionCreationTester.java44 collection = getSubjectGenerator().create(array); in testCreateWithNull_supported()
54 getSubjectGenerator().create(array); in testCreateWithNull_unsupported()
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()
DSortedSetNavigationTester.java51 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp()
52 getSubjectGenerator().getCollectionSize().getNumElements())); in setUp()
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()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DCollectionToArrayTester.java61 E[] empty = getSubjectGenerator().createArray(0); in testToArray_emptyArray()
71 E[] empty = getSubjectGenerator().createArray(0); in testToArray_emptyArray_ordered()
90 E[] array = getSubjectGenerator().createArray(getNumElements()); in testToArray_rightSizedArray()
98 E[] array = getSubjectGenerator().createArray(getNumElements()); in testToArray_rightSizedArray_ordered()
120 E[] array = getSubjectGenerator().createArray(getNumElements() + 2); in testToArray_oversizedArray()
141 E[] array = getSubjectGenerator().createArray(getNumElements() + 2); in testToArray_oversizedArray_ordered()
DCollectionCreationTester.java40 collection = getSubjectGenerator().create(array); in testCreateWithNull_supported()
50 getSubjectGenerator().create(array); in testCreateWithNull_unsupported()

123