/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | ListMultimapRemoveTester.java | 18 import static com.google.common.collect.testing.Helpers.mapEntry; 47 resetContainer(mapEntry(k, v0), mapEntry(k, v1), mapEntry(k, v0)); in testMultimapRemoveDeletesFirstOccurrence() 64 resetContainer(mapEntry(k, v0), mapEntry(k, v1), mapEntry(k, v0)); in testRemoveAtIndexFromGetPropagates() 84 resetContainer(mapEntry(k, v0), mapEntry(k, v1), mapEntry(k, v0)); in testRemoveAtIndexFromAsMapPropagates() 105 resetContainer(mapEntry(k, v0), mapEntry(k, v1), mapEntry(k, v0)); in testRemoveAtIndexFromAsMapEntrySetPropagates()
|
D | ListMultimapAsMapTester.java | 70 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testEquals() 71 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0), in testEquals() 72 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testEquals() 84 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testEntrySetEquals() 85 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0), in testEntrySetEquals() 86 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testEntrySetEquals() 88 expected.add(Helpers.mapEntry( in testEntrySetEquals() 91 expected.add(Helpers.mapEntry( in testEntrySetEquals() 103 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testValuesRemove() 104 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0), in testValuesRemove() [all …]
|
D | SetMultimapAsMapTester.java | 70 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testEquals() 71 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0), in testEquals() 72 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testEquals() 84 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testEntrySetEquals() 85 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0), in testEntrySetEquals() 86 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testEntrySetEquals() 88 expected.add(Helpers.mapEntry( in testEntrySetEquals() 91 expected.add(Helpers.mapEntry( in testEntrySetEquals() 103 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testValuesRemove() 104 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0), in testValuesRemove() [all …]
|
D | MultimapEntriesTester.java | 54 Helpers.mapEntry((K) null, getValueForNullKey())); in testContainsEntryWithNullKeyPresent() 59 assertFalse(multimap().entries().contains(Helpers.mapEntry(null, sampleValues().e0))); in testContainsEntryWithNullKeyAbsent() 67 Helpers.mapEntry(getKeyForNullValue(), (V) null)); in testContainsEntryWithNullValuePresent() 73 Helpers.mapEntry(sampleKeys().e0, null))); in testContainsEntryWithNullValueAbsent() 80 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0))); in testRemovePropagatesToMultimap() 81 expectMissing(Helpers.mapEntry(sampleKeys().e0, sampleValues().e0)); in testRemovePropagatesToMultimap() 90 Collections.singleton(Helpers.mapEntry(sampleKeys().e0, sampleValues().e0)))); in testRemoveAllPropagatesToMultimap() 91 expectMissing(Helpers.mapEntry(sampleKeys().e0, sampleValues().e0)); in testRemoveAllPropagatesToMultimap() 100 Collections.singleton(Helpers.mapEntry(sampleKeys().e0, sampleValues().e0))); in testRetainAllPropagatesToMultimap() 102 getSubjectGenerator().create(Helpers.mapEntry(sampleKeys().e0, sampleValues().e0)), in testRetainAllPropagatesToMultimap() [all …]
|
D | ListMultimapEqualsTester.java | 35 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testOrderingAffectsEqualsComparisons() 36 Helpers.mapEntry(sampleKeys().e0, sampleValues().e1), in testOrderingAffectsEqualsComparisons() 37 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0)); in testOrderingAffectsEqualsComparisons() 39 Helpers.mapEntry(sampleKeys().e0, sampleValues().e1), in testOrderingAffectsEqualsComparisons() 40 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testOrderingAffectsEqualsComparisons() 41 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0)); in testOrderingAffectsEqualsComparisons()
|
D | SetMultimapEqualsTester.java | 36 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testOrderingDoesntAffectEqualsComparisons() 37 Helpers.mapEntry(sampleKeys().e0, sampleValues().e1), in testOrderingDoesntAffectEqualsComparisons() 38 Helpers.mapEntry(sampleKeys().e0, sampleValues().e4)); in testOrderingDoesntAffectEqualsComparisons() 40 Helpers.mapEntry(sampleKeys().e0, sampleValues().e1), in testOrderingDoesntAffectEqualsComparisons() 41 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testOrderingDoesntAffectEqualsComparisons() 42 Helpers.mapEntry(sampleKeys().e0, sampleValues().e4)); in testOrderingDoesntAffectEqualsComparisons()
|
D | MultimapPutAllMultimapTester.java | 43 Helpers.mapEntry(sampleKeys().e3, sampleValues().e3))); in testPutUnsupported() 58 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3), in testPutAll() 59 Helpers.mapEntry(sampleKeys().e3, sampleValues().e3)); in testPutAll() 68 Helpers.mapEntry(sampleKeys().e0, null)); in testPutAllWithNullValue() 76 Helpers.mapEntry(null, sampleValues().e0)); in testPutAllWithNullKey() 84 Helpers.mapEntry(sampleKeys().e0, null)); in testPutAllRejectsNullValue() 95 Helpers.mapEntry(null, sampleValues().e0)); in testPutAllRejectsNullKey() 106 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3), in testPutAllPropagatesToGet() 107 Helpers.mapEntry(sampleKeys().e3, sampleValues().e3)); in testPutAllPropagatesToGet()
|
D | MultimapKeysTester.java | 46 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testKeys() 47 Helpers.mapEntry(sampleKeys().e0, sampleValues().e1), in testKeys() 48 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0)); in testKeys() 68 Helpers.mapEntry((K) null, sampleValues().e0), in testKeysWithNullKey() 69 Helpers.mapEntry((K) null, sampleValues().e1), in testKeysWithNullKey() 70 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0)); in testKeysWithNullKey() 106 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testKeysEntrySetRemove() 107 Helpers.mapEntry(sampleKeys().e0, sampleValues().e1), in testKeysEntrySetRemove() 108 Helpers.mapEntry(sampleKeys().e1, sampleValues().e0)); in testKeysEntrySetRemove()
|
D | TestStringBiMapGenerator.java | 44 Helpers.mapEntry("one", "January"), in samples() 45 Helpers.mapEntry("two", "February"), in samples() 46 Helpers.mapEntry("three", "March"), in samples() 47 Helpers.mapEntry("four", "April"), in samples() 48 Helpers.mapEntry("five", "May") in samples()
|
D | TestStringListMultimapGenerator.java | 41 Helpers.mapEntry("one", "January"), in samples() 42 Helpers.mapEntry("two", "February"), in samples() 43 Helpers.mapEntry("three", "March"), in samples() 44 Helpers.mapEntry("four", "April"), in samples() 45 Helpers.mapEntry("five", "May")); in samples()
|
D | TestStringSetMultimapGenerator.java | 40 Helpers.mapEntry("one", "January"), in samples() 41 Helpers.mapEntry("two", "February"), in samples() 42 Helpers.mapEntry("three", "March"), in samples() 43 Helpers.mapEntry("four", "April"), in samples() 44 Helpers.mapEntry("five", "May")); in samples()
|
D | SortedMapGenerators.java | 20 import static com.google.common.collect.testing.Helpers.mapEntry; 63 mapEntry("foo", 5), in samples() 64 mapEntry("bar", 3), in samples() 65 mapEntry("baz", 17), in samples() 66 mapEntry("quux", 1), in samples() 67 mapEntry("toaster", -2)); in samples()
|
D | MultimapAsMapTester.java | 98 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testAsMapEntrySetReflectsPutSameKey() 99 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testAsMapEntrySetReflectsPutSameKey() 114 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testAsMapEntrySetReflectsPutDifferentKey() 115 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testAsMapEntrySetReflectsPutDifferentKey() 126 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testAsMapEntrySetRemovePropagatesToMultimap() 127 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testAsMapEntrySetRemovePropagatesToMultimap() 140 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testAsMapEntrySetIteratorRemovePropagatesToMultimap() 141 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testAsMapEntrySetIteratorRemovePropagatesToMultimap()
|
D | MapGenerators.java | 19 import static com.google.common.collect.testing.Helpers.mapEntry; 112 mapEntry("foo", 5), in samples() 113 mapEntry("bar", 3), in samples() 114 mapEntry("baz", 17), in samples() 115 mapEntry("quux", 1), in samples() 116 mapEntry("toaster", -2)); in samples()
|
D | MultimapSizeTester.java | 19 import static com.google.common.collect.testing.Helpers.mapEntry; 96 mapEntry(sampleKeys().e0, sampleValues().e0), in testSizeMultipleValues() 97 mapEntry(sampleKeys().e0, sampleValues().e1), in testSizeMultipleValues() 98 mapEntry(sampleKeys().e0, sampleValues().e2)); in testSizeMultipleValues()
|
D | MultimapRemoveAllTester.java | 70 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testRemoveAllMultipleValues() 71 Helpers.mapEntry(sampleKeys().e0, sampleValues().e1), in testRemoveAllMultipleValues() 72 Helpers.mapEntry(sampleKeys().e0, sampleValues().e2)); in testRemoveAllMultipleValues() 86 expectMissing(Helpers.mapEntry((K) null, getValueForNullKey())); in testRemoveAllNullKeyPresent()
|
D | MultimapGetTester.java | 60 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testGetMultiple() 61 Helpers.mapEntry(sampleKeys().e0, sampleValues().e1), in testGetMultiple() 62 Helpers.mapEntry(sampleKeys().e0, sampleValues().e2)); in testGetMultiple() 77 Helpers.mapEntry(sampleKeys().e0, sampleValues().e0), in testPropagatesRemoveToMultimap() 78 Helpers.mapEntry(sampleKeys().e0, sampleValues().e3), in testPropagatesRemoveToMultimap() 79 Helpers.mapEntry(sampleKeys().e0, sampleValues().e2)); in testPropagatesRemoveToMultimap()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | TestStringMapGenerator.java | 40 Helpers.mapEntry("one", "January"), in samples() 41 Helpers.mapEntry("two", "February"), in samples() 42 Helpers.mapEntry("three", "March"), in samples() 43 Helpers.mapEntry("four", "April"), in samples() 44 Helpers.mapEntry("five", "May") in samples()
|
D | TestEnumMapGenerator.java | 39 Helpers.mapEntry(AnEnum.A, "January"), in samples() 40 Helpers.mapEntry(AnEnum.B, "February"), in samples() 41 Helpers.mapEntry(AnEnum.C, "March"), in samples() 42 Helpers.mapEntry(AnEnum.D, "April"), in samples() 43 Helpers.mapEntry(AnEnum.E, "May") in samples()
|
D | TestStringSortedMapGenerator.java | 37 return Helpers.mapEntry("!! a", "below view"); in belowSamplesLesser() 42 return Helpers.mapEntry("!! b", "below view"); in belowSamplesGreater() 47 return Helpers.mapEntry("~~ a", "above view"); in aboveSamplesLesser() 52 return Helpers.mapEntry("~~ b", "above view"); in aboveSamplesGreater()
|
D | SampleElements.java | 95 Helpers.mapEntry(keys.e0, values.e0), in mapEntries() 96 Helpers.mapEntry(keys.e1, values.e1), in mapEntries() 97 Helpers.mapEntry(keys.e2, values.e2), in mapEntries() 98 Helpers.mapEntry(keys.e3, values.e3), in mapEntries() 99 Helpers.mapEntry(keys.e4, values.e4)); in mapEntries()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapEntrySetTester.java | 66 .entrySet().contains(Helpers.mapEntry(IncomparableType.INSTANCE, samples.e0.getValue()))); in testContainsEntryWithIncomparableKey() 71 .entrySet().contains(Helpers.mapEntry(samples.e0.getKey(), IncomparableType.INSTANCE))); in testContainsEntryWithIncomparableValue() 77 .entrySet().contains(Helpers.mapEntry(null, samples.e0.getValue()))); in testContainsEntryWithNullKeyAbsent() 85 .entrySet().contains(Helpers.mapEntry(null, getValueForNullKey()))); in testContainsEntryWithNullKeyPresent() 91 .entrySet().contains(Helpers.mapEntry(samples.e0.getKey(), null))); in testContainsEntryWithNullValueAbsent() 99 .entrySet().contains(Helpers.mapEntry(getKeyForNullValue(), null))); in testContainsEntryWithNullValuePresent()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsCollectionTest.java | 20 import static com.google.common.collect.testing.Helpers.mapEntry; 92 mapEntry("x", 1), in suite() 93 mapEntry("xxx", 3), in suite() 94 mapEntry("xx", 2), in suite() 95 mapEntry("xxxx", 4), in suite() 96 mapEntry("aaaaa", 5)); in suite() 157 mapEntry("a", 1), in suite() 158 mapEntry("aa", 2), in suite() 159 mapEntry("aba", 3), in suite() 160 mapEntry("bbbb", 4), in suite() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | RegularImmutableMultiset.java | 71 Map.Entry<E, Integer> mapEntry = map.entrySet().asList().get(index); in getEntry() local 72 return Multisets.immutableEntry(mapEntry.getKey(), mapEntry.getValue()); in getEntry()
|
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/ |
D | Log4jMDCAdapter.java | 83 Map.Entry mapEntry = (Map.Entry) entrySetIterator.next(); in setContextMap() local 84 org.apache.log4j.MDC.put((String) mapEntry.getKey(), mapEntry.getValue()); in setContextMap()
|