Home
last modified time | relevance | path

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

12345678

/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/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java35 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
36 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
64 temp = hs1.containsAll(hs2); in timeStandardContainsAll()
82 temp = CollectionUtilities.containsAll(hs1, hs2); in timeUtilityContainsAll()
117 checkContainment(b.containsAll(a) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
123 checkContainment(a.containsAll(b) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
126 …checkContainment(!b.containsAll(a) && !a.containsAll(b) && CollectionUtilities.containsSome(a, b),… in TestCollectionUtilities()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTestUtilities.java36 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
37 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
65 temp = hs1.containsAll(hs2); in timeStandardContainsAll()
83 temp = CollectionUtilities.containsAll(hs1, hs2); in timeUtilityContainsAll()
118 checkContainment(b.containsAll(a) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
124 checkContainment(a.containsAll(b) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
127 …checkContainment(!b.containsAll(a) && !a.containsAll(b) && CollectionUtilities.containsSome(a, b),… in TestCollectionUtilities()
/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()
DSynchronizedDequeTest.java117 public boolean containsAll(Collection<?> collection) { in containsAll() method in SynchronizedDequeTest.TestDeque
119 return delegate.containsAll(collection); in containsAll()
267 create().containsAll(ImmutableList.of("foo")); in testHoldsLockOnAllOperations()
/external/icu/icu4c/source/test/intltest/
Dv32test.cpp225 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
227 TEST_ASSERT(a->containsAll(*b) == FALSE); in UVector32_API()
229 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
230 TEST_ASSERT(b->containsAll(*a) == FALSE); in UVector32_API()
233 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
234 TEST_ASSERT(b->containsAll(*a) == TRUE); in UVector32_API()
236 TEST_ASSERT(a->containsAll(*b) == FALSE); in UVector32_API()
237 TEST_ASSERT(b->containsAll(*a) == TRUE); in UVector32_API()
/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/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()
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/mockito/src/test/java/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSetTest.java71 assertThat(workingSet.containsAll(mocks)).isTrue(); in can_add_a_collection()
86 assertThat(workingSet.containsAll(mocks)).isTrue(); in can_retain_a_collection()
101 assertThat(workingSet.containsAll(mocks)).isFalse(); in can_remove_a_collection()
/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/protobuf/java/core/src/main/java/com/google/protobuf/
DMapFieldLite.java363 public boolean containsAll(Collection<?> c) { in containsAll() method in MapFieldLite.MutatabilityAwareCollection
364 return delegate.containsAll(c); in containsAll()
462 public boolean containsAll(Collection<?> c) { in containsAll() method in MapFieldLite.MutatabilityAwareSet
463 return delegate.containsAll(c); in containsAll()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java896 x = iset.containsAll(jset); in CheckSpeed2()
902 x |= iset.containsAll(jset); in CheckSpeed2()
1199 if (uset.containsAll(string) != shouldContainAll) { in check()
1556 assertTrue("containsAll", set1.containsAll(list1)); in TestGenerics()
1557 assertTrue("containsAll", set1.containsAll(sorted1)); in TestGenerics()
1558 assertTrue("containsAll", set1.containsAll(list2)); in TestGenerics()
1559 assertTrue("containsAll", set1.containsAll(sorted2)); in TestGenerics()
1560 assertFalse("containsAll", set1.containsAll(list3)); in TestGenerics()
1561 assertFalse("containsAll", set1.containsAll(sorted3)); in TestGenerics()
1562 assertFalse("containsAll", set2.containsAll(list3)); in TestGenerics()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java897 x = iset.containsAll(jset); in CheckSpeed2()
903 x |= iset.containsAll(jset); in CheckSpeed2()
1200 if (uset.containsAll(string) != shouldContainAll) { in check()
1557 assertTrue("containsAll", set1.containsAll(list1)); in TestGenerics()
1558 assertTrue("containsAll", set1.containsAll(sorted1)); in TestGenerics()
1559 assertTrue("containsAll", set1.containsAll(list2)); in TestGenerics()
1560 assertTrue("containsAll", set1.containsAll(sorted2)); in TestGenerics()
1561 assertFalse("containsAll", set1.containsAll(list3)); in TestGenerics()
1562 assertFalse("containsAll", set1.containsAll(sorted3)); in TestGenerics()
1563 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/main/java/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSet.java119 public boolean containsAll(Collection<?> mocks) { in containsAll() method
120 return backingHashSet.containsAll(asWrappedMocks(mocks)); in containsAll()

12345678