Home
last modified time | relevance | path

Searched refs:containsAll (Results 1 – 25 of 135) sorted by relevance

123456

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DCollectionContainsAllTester.java46 collection.containsAll(MinimalCollection.of())); in testContainsAll_empty()
52 collection.containsAll(MinimalCollection.of(samples.e0))); in testContainsAll_subset()
57 collection.containsAll(MinimalCollection.of(createSamplesArray()))); in testContainsAll_sameElements()
63 collection.containsAll(collection)); in testContainsAll_self()
68 collection.containsAll(MinimalCollection.of(samples.e0, samples.e3))); in testContainsAll_partialOverlap()
73 collection.containsAll(MinimalCollection.of(samples.e3))); in testContainsAll_disjoint()
79 assertFalse(collection.containsAll(MinimalCollection.of((E) null))); in testContainsAll_nullNotAllowed()
85 assertFalse(collection.containsAll(MinimalCollection.of((E) null))); in testContainsAll_nullAllowed()
92 assertTrue(collection.containsAll(MinimalCollection.of((E) null))); in testContainsAll_nullPresent()
99 collection.containsAll(wrong)); in testContainsAll_wrongType()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSetTest.java547 assertTrue(set.containsAll(Collections.emptyList())); in testContainsAll_notSortedSet()
548 assertTrue(set.containsAll(asList("b"))); in testContainsAll_notSortedSet()
549 assertTrue(set.containsAll(asList("b", "b"))); in testContainsAll_notSortedSet()
550 assertTrue(set.containsAll(asList("b", "f"))); in testContainsAll_notSortedSet()
551 assertTrue(set.containsAll(asList("b", "f", "a"))); in testContainsAll_notSortedSet()
552 assertFalse(set.containsAll(asList("d"))); in testContainsAll_notSortedSet()
553 assertFalse(set.containsAll(asList("z"))); in testContainsAll_notSortedSet()
554 assertFalse(set.containsAll(asList("b", "d"))); in testContainsAll_notSortedSet()
555 assertFalse(set.containsAll(asList("f", "d", "a"))); in testContainsAll_notSortedSet()
560 assertTrue(set.containsAll(Sets.newTreeSet())); in testContainsAll_sameComparator()
[all …]
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_CollectionTest.java65 .containsAll(myCollection)); in runTest()
69 .containsAll(myCollection)); in runTest()
72 .containsAll(myCollection)); in runTest()
93 .containsAll(myCollection)); in runTest()
DSupport_UnmodifiableCollectionTest.java61 col.containsAll(hs)); in runTest()
65 !col.containsAll(hs)); in runTest()
DSupport_UnmodifiableMapTest.java119 keySet.containsAll(hs)); in t_KeySet()
123 !keySet.containsAll(hs)); in t_KeySet()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableSortedSetTest.java705 assertTrue(set.containsAll(Collections.emptyList())); in testContainsAll_notSortedSet()
706 assertTrue(set.containsAll(asList("b"))); in testContainsAll_notSortedSet()
707 assertTrue(set.containsAll(asList("b", "b"))); in testContainsAll_notSortedSet()
708 assertTrue(set.containsAll(asList("b", "f"))); in testContainsAll_notSortedSet()
709 assertTrue(set.containsAll(asList("b", "f", "a"))); in testContainsAll_notSortedSet()
710 assertFalse(set.containsAll(asList("d"))); in testContainsAll_notSortedSet()
711 assertFalse(set.containsAll(asList("z"))); in testContainsAll_notSortedSet()
712 assertFalse(set.containsAll(asList("b", "d"))); in testContainsAll_notSortedSet()
713 assertFalse(set.containsAll(asList("f", "d", "a"))); in testContainsAll_notSortedSet()
718 assertTrue(set.containsAll(Sets.newTreeSet())); in testContainsAll_sameComparator()
[all …]
DSynchronizedQueueTest.java117 public boolean containsAll(Collection<?> collection) { in containsAll() method in SynchronizedQueueTest.TestQueue
119 return delegate.containsAll(collection); in containsAll()
165 create().containsAll(ImmutableList.of("foo")); in testHoldsLockOnAllOperations()
DSynchronizedSetTest.java113 @Override public boolean containsAll(Collection<?> c) {
115 return super.containsAll(c);
/external/icu/icu4c/source/test/intltest/
Dv32test.cpp223 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
225 TEST_ASSERT(a->containsAll(*b) == FALSE); in UVector32_API()
227 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
228 TEST_ASSERT(b->containsAll(*a) == FALSE); in UVector32_API()
231 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
232 TEST_ASSERT(b->containsAll(*a) == TRUE); in UVector32_API()
234 TEST_ASSERT(a->containsAll(*b) == FALSE); in UVector32_API()
235 TEST_ASSERT(b->containsAll(*a) == TRUE); in UVector32_API()
Ducdtest.cpp500 assertTrue("bpt!=None is a subset of Bidi_M", mirrored.containsAll(bpt)); in TestBidiPairedBracketType()
501 assertTrue("bpt!=None is a subset of bc=ON", other_neutral.containsAll(bpt)); in TestBidiPairedBracketType()
507 assertTrue("bpt=Open is a subset of Ps", ps.containsAll(bpt_open)); in TestBidiPairedBracketType()
508 assertTrue("bpt=Close is a subset of Pe", pe.containsAll(bpt_close)); in TestBidiPairedBracketType()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetContainsTester.java34 .containsAll(getSubjectGenerator().create(samples.e0, samples.e0, samples.e0))); in testContainsAllMultisetIgnoresFrequency()
39 assertTrue(getMultiset().containsAll(Arrays.asList(samples.e0, samples.e0, samples.e0))); in testContainsAllListIgnoresFrequency()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DForwardingImmutableCollection.java46 @Override public boolean containsAll(Collection<?> targets) { in containsAll() method in ForwardingImmutableCollection
47 return delegate.containsAll(targets); in containsAll()
DForwardingImmutableSet.java47 @Override public boolean containsAll(Collection<?> targets) { in containsAll() method in ForwardingImmutableSet
48 return delegate.containsAll(targets); in containsAll()
DForwardingImmutableList.java75 @Override public boolean containsAll(Collection<?> targets) { in containsAll() method in ForwardingImmutableList
76 return delegateList().containsAll(targets); in containsAll()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java150 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
151 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
179 temp = hs1.containsAll(hs2); in timeStandardContainsAll()
197 temp = CollectionUtilities.containsAll(hs1, hs2); in timeUtilityContainsAll()
231 checkContainment(b.containsAll(a) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
237 checkContainment(a.containsAll(b) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
240 …checkContainment(!b.containsAll(a) && !a.containsAll(b) && CollectionUtilities.containsSome(a, b),… in TestCollectionUtilities()
/external/jetty/src/java/org/eclipse/jetty/util/
DConcurrentHashSet.java56 public boolean containsAll(Collection<?> c) in containsAll() method in ConcurrentHashSet
58 return _keys.containsAll(c); in containsAll()
/external/guava/guava/src/com/google/common/collect/
DImmutableEnumSet.java76 @Override public boolean containsAll(Collection<?> collection) { in containsAll() method in ImmutableEnumSet
77 return delegate.containsAll(collection); in containsAll()
DSets.java590 public boolean containsAll(Collection<?> c) { in containsAll() method in Sets.SetFromMap
591 return s.containsAll(c); in containsAll()
754 @Override public boolean containsAll(Collection<?> collection) {
755 return set1.containsAll(collection)
756 && set2.containsAll(collection);
786 return set2.containsAll(set1);
1283 return inputSet.keySet().containsAll(set);
1335 return s.size() == o.size() && s.containsAll(o);
DForwardingCollection.java93 public boolean containsAll(Collection<?> collection) { in containsAll() method in ForwardingCollection
94 return delegate().containsAll(collection); in containsAll()
DRegularImmutableSortedSet.java85 @Override public boolean containsAll(Collection<?> targets) { in containsAll() method in RegularImmutableSortedSet
95 return super.containsAll(targets); in containsAll()
181 return this.containsAll(that); in equals()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMinimalCollection.java81 @Override public boolean containsAll(Collection<?> collection) { in containsAll() method in MinimalCollection
90 return super.containsAll(collection); in containsAll()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java885 x = iset.containsAll(jset); in CheckSpeed2()
891 x |= iset.containsAll(jset); in CheckSpeed2()
1185 if (uset.containsAll(string) != shouldContainAll) { in check()
1530 assertTrue("containsAll", set1.containsAll(list1)); in TestGenerics()
1531 assertTrue("containsAll", set1.containsAll(sorted1)); in TestGenerics()
1532 assertTrue("containsAll", set1.containsAll(list2)); in TestGenerics()
1533 assertTrue("containsAll", set1.containsAll(sorted2)); in TestGenerics()
1534 assertFalse("containsAll", set1.containsAll(list3)); in TestGenerics()
1535 assertFalse("containsAll", set1.containsAll(sorted3)); in TestGenerics()
1536 assertFalse("containsAll", set2.containsAll(list3)); in TestGenerics()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DArraySortedSet.java101 public boolean containsAll(Collection<?> c) { in containsAll() method in ArraySortedSet
194 return this.containsAll(other); in equals()
/external/mockito/src/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSet.java119 public boolean containsAll(Collection<?> mocks) { in containsAll() method
120 return backingHashSet.containsAll(asWrappedMocks(mocks)); in containsAll()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDeque.java38 public boolean containsAll(Collection<?> c) { in containsAll() method in Deque
39 return ll.containsAll(c); in containsAll()

123456