Home
last modified time | relevance | path

Searched refs:containsEntry (Results 1 – 25 of 33) sorted by relevance

12

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapContainsEntryTester.java40 assertTrue(multimap().containsEntry(sampleKeys().e0, sampleValues().e0)); in testContainsEntryYes()
44 assertFalse(multimap().containsEntry(sampleKeys().e3, sampleValues().e3)); in testContainsEntryNo()
51 multimap().containsEntry(k, v)); in testContainsEntryAgreesWithGet()
60 assertTrue(multimap().containsEntry(null, null)); in testContainsEntryNullYes()
65 assertFalse(multimap().containsEntry(null, null)); in testContainsEntryNullNo()
71 multimap().containsEntry(null, sampleValues().e3); in testContainsEntryNullDisallowedBecauseKeyQueriesDisallowed()
85 multimap().containsEntry(sampleKeys().e3, null); in testContainsEntryNullDisallowedBecauseValueQueriesDisallowed()
DMultimapGetTester.java82 assertFalse(multimap().containsEntry(sampleKeys().e0, sampleValues().e0)); in testPropagatesRemoveToMultimap()
100 assertTrue(multimap().containsEntry(sampleKeys().e0, sampleValues().e3)); in testPropagatesAddToMultimap()
109 assertTrue(multimap().containsEntry(sampleKeys().e0, sampleValues().e3)); in testPropagatesAddAllToMultimap()
124 assertFalse(multimap().containsEntry(k0, v0)); in testPropagatesRemoveLastThenAddToMultimap()
136 assertFalse(multimap().containsEntry(k0, v0)); in testPropagatesRemoveLastThenAddToMultimap()
137 assertTrue(multimap().containsEntry(k0, v2)); in testPropagatesRemoveLastThenAddToMultimap()
DMultimapAsMapGetTester.java52 assertFalse(multimap().containsEntry(sampleKeys().e0, sampleValues().e0)); in testPropagatesRemoveToMultimap()
78 assertTrue(multimap().containsEntry(sampleKeys().e0, null)); in testAddNullValue()
119 assertFalse(multimap().containsEntry(k0, v0)); in testPropagatesRemoveThenAddToMultimap()
131 assertFalse(multimap().containsEntry(k0, v0)); in testPropagatesRemoveThenAddToMultimap()
132 assertTrue(multimap().containsEntry(k0, v2)); in testPropagatesRemoveThenAddToMultimap()
DMultimapPutAllMultimapTester.java61 assertTrue(multimap().containsEntry(sampleKeys().e0, sampleValues().e3)); in testPutAll()
62 assertTrue(multimap().containsEntry(sampleKeys().e3, sampleValues().e3)); in testPutAll()
70 assertTrue(multimap().containsEntry(sampleKeys().e0, null)); in testPutAllWithNullValue()
78 assertTrue(multimap().containsEntry(null, sampleValues().e0)); in testPutAllWithNullKey()
DMultimapEntriesTester.java83 assertFalse(multimap().containsEntry(sampleKeys().e0, sampleValues().e0)); in testRemovePropagatesToMultimap()
93 assertFalse(multimap().containsEntry(sampleKeys().e0, sampleValues().e0)); in testRemoveAllPropagatesToMultimap()
105 assertTrue(multimap().containsEntry(sampleKeys().e0, sampleValues().e0)); in testRetainAllPropagatesToMultimap()
DMultimapSizeTester.java47 assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue())); in testSize()
DMultimapKeysTester.java112 assertTrue(multimap().containsEntry(sampleKeys().e1, sampleValues().e0)); in testKeysEntrySetRemove()
DMultimapRemoveEntryTester.java57 assertFalse(multimap().containsEntry(sampleKeys().e0, sampleValues().e0)); in testRemovePresent()
/external/guava/guava-tests/test/com/google/common/collect/
DFilteredMultimapTest.java63 assertTrue(filtered.containsEntry("foo", 55556)); in testFilterKeys()
79 assertFalse(filtered.containsEntry("foo", 55556)); in testFilterValues()
80 assertTrue(filtered.containsEntry("badkey", 1)); in testFilterValues()
91 assertTrue(filtered.containsEntry("foo", 1)); in testFilterFiltered()
DLinkedListMultimapTest.java329 assertFalse(multimap.containsEntry("foo", 2)); in testEntriesAfterMultimapUpdate()
330 assertTrue(multimap.containsEntry("foo", 4)); in testEntriesAfterMultimapUpdate()
331 assertTrue(multimap.containsEntry("bar", 3)); in testEntriesAfterMultimapUpdate()
336 assertTrue(multimap.containsEntry("foo", 5)); in testEntriesAfterMultimapUpdate()
337 assertTrue(multimap.containsEntry("foo", 4)); in testEntriesAfterMultimapUpdate()
338 assertTrue(multimap.containsEntry("bar", 3)); in testEntriesAfterMultimapUpdate()
DImmutableListMultimapTest.java384 assertFalse(multimap.containsEntry("foo", 1)); in testEmptyMultimapReads()
414 assertTrue(multimap.containsEntry("foo", 1)); in testMultimapReads()
415 assertFalse(multimap.containsEntry("cat", 1)); in testMultimapReads()
416 assertFalse(multimap.containsEntry("foo", 5)); in testMultimapReads()
DForwardingMultimapTest.java69 forward.containsEntry("asdf", false); in testContainsEntry_Object_Object()
DImmutableSetMultimapTest.java394 assertFalse(multimap.containsEntry("foo", 1)); in testEmptyMultimapReads()
419 assertTrue(multimap.containsEntry("foo", 1)); in testMultimapReads()
420 assertFalse(multimap.containsEntry("cat", 1)); in testMultimapReads()
421 assertFalse(multimap.containsEntry("foo", 5)); in testMultimapReads()
DSynchronizedMultimapTest.java118 @Override public boolean containsEntry(@Nullable Object key, in containsEntry() method in SynchronizedMultimapTest.TestMultimap
121 return super.containsEntry(key, value); in containsEntry()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DLinkedListMultimapTest.java282 assertFalse(multimap.containsEntry("foo", 2)); in testEntriesAfterMultimapUpdate()
283 assertTrue(multimap.containsEntry("foo", 4)); in testEntriesAfterMultimapUpdate()
284 assertTrue(multimap.containsEntry("bar", 3)); in testEntriesAfterMultimapUpdate()
289 assertTrue(multimap.containsEntry("foo", 5)); in testEntriesAfterMultimapUpdate()
290 assertTrue(multimap.containsEntry("foo", 4)); in testEntriesAfterMultimapUpdate()
291 assertTrue(multimap.containsEntry("bar", 3)); in testEntriesAfterMultimapUpdate()
DImmutableListMultimapTest.java360 assertFalse(multimap.containsEntry("foo", 1)); in testEmptyMultimapReads()
390 assertTrue(multimap.containsEntry("foo", 1)); in testMultimapReads()
391 assertFalse(multimap.containsEntry("cat", 1)); in testMultimapReads()
392 assertFalse(multimap.containsEntry("foo", 5)); in testMultimapReads()
DImmutableSetMultimapTest.java361 assertFalse(multimap.containsEntry("foo", 1)); in testEmptyMultimapReads()
386 assertTrue(multimap.containsEntry("foo", 1)); in testMultimapReads()
387 assertFalse(multimap.containsEntry("cat", 1)); in testMultimapReads()
388 assertFalse(multimap.containsEntry("foo", 5)); in testMultimapReads()
DMultimapsTest.java139 assertTrue(unmod.containsEntry("foo", 1)); in testUnmodifiableMultimapIsView()
341 assertTrue(multimapView.containsEntry("bar", 2)); in testForMap()
/external/guava/guava/src/com/google/common/collect/
DForwardingMultimap.java57 public boolean containsEntry(@Nullable Object key, @Nullable Object value) { in containsEntry() method in ForwardingMultimap
58 return delegate().containsEntry(key, value); in containsEntry()
DMultimap.java199 boolean containsEntry(@Nullable Object key, @Nullable Object value); in containsEntry() method
DAbstractMultimap.java56 public boolean containsEntry(@Nullable Object key, @Nullable Object value) { in containsEntry() method in AbstractMultimap
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/
DMultibindingTest.java48 assertThat(map).containsEntry("foo", "foo value"); in map()
49 assertThat(map).containsEntry("bar", "bar value"); in map()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSetMultimap.java430 return multimap.containsEntry(entry.getKey(), entry.getValue()); in contains()
DSynchronized.java544 public boolean containsEntry(Object key, Object value) { in containsEntry() method in Synchronized.SynchronizedMultimap
546 return delegate().containsEntry(key, value); in containsEntry()
DImmutableMultimap.java511 return multimap.containsEntry(entry.getKey(), entry.getValue()); in contains()

12