/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapPutAllMultimapTester.java | 42 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()
|
D | MultisetIteratorTester.java | 43 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()
|
D | MultimapEqualsTester.java | 41 .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()
|
D | MultisetEqualsTester.java | 36 getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsSameContents() 44 .addEqualityGroup(getSubjectGenerator().create()) in testNotEqualsEmpty() 58 getSubjectGenerator().create(createArrayWithNullElement()), in testEqualsMultisetWithNullValue() 59 getSubjectGenerator().create(createArrayWithNullElement())) in testEqualsMultisetWithNullValue()
|
D | AbstractMultimapTester.java | 100 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()
|
D | SetMultimapEqualsTester.java | 35 SetMultimap<K, V> multimap1 = getSubjectGenerator().create( in testOrderingDoesntAffectEqualsComparisons() 39 SetMultimap<K, V> multimap2 = getSubjectGenerator().create( in testOrderingDoesntAffectEqualsComparisons()
|
D | ListMultimapEqualsTester.java | 34 ListMultimap<K, V> multimap1 = getSubjectGenerator().create( in testOrderingAffectsEqualsComparisons() 38 ListMultimap<K, V> multimap2 = getSubjectGenerator().create( in testOrderingAffectsEqualsComparisons()
|
D | BiMapTestSuiteBuilder.java | 87 .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()
|
D | SetMultimapTestSuiteBuilder.java | 69 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()
|
D | SortedMultisetTestSuiteBuilder.java | 86 .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();
|
D | SortedSetMultimapTestSuiteBuilder.java | 70 parentBuilder.getSubjectGenerator())) in computeMultimapGetTestSuite() 87 parentBuilder.getSubjectGenerator())) in computeMultimapAsMapGetTestSuite()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | AbstractContainerTester.java | 44 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()
|
D | MapTestSuiteBuilder.java | 102 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/ |
D | MultisetIteratorTester.java | 39 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/ |
D | SortedMapNavigationTester.java | 54 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()
|
D | CollectionToArrayTester.java | 64 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()
|
D | SetCreationTester.java | 46 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()
|
D | ListRetainAllTester.java | 46 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()
|
D | CollectionCreationTester.java | 44 collection = getSubjectGenerator().create(array); in testCreateWithNull_supported() 54 getSubjectGenerator().create(array); in testCreateWithNull_unsupported()
|
D | MapEqualsTester.java | 50 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()
|
D | SortedSetNavigationTester.java | 51 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( in setUp() 52 getSubjectGenerator().getCollectionSize().getNumElements())); in setUp()
|
D | SetEqualsTester.java | 46 elements.add(getSubjectGenerator().samples().e3); in testEquals_otherSetWithDifferentElements() 60 collection = getSubjectGenerator().create(elements.toArray()); in testEquals_containingNull()
|
D | ListEqualsTester.java | 46 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/ |
D | CollectionToArrayTester.java | 61 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()
|
D | CollectionCreationTester.java | 40 collection = getSubjectGenerator().create(array); in testCreateWithNull_supported() 50 getSubjectGenerator().create(array); in testCreateWithNull_unsupported()
|