Home
last modified time | relevance | path

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

12345678910

/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.java38 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
39 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
67 temp = hs1.containsAll(hs2); in timeStandardContainsAll()
85 temp = CollectionUtilities.containsAll(hs1, hs2); in timeUtilityContainsAll()
120 checkContainment(b.containsAll(a) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
126 checkContainment(a.containsAll(b) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
129 …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.java41 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
42 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
70 temp = hs1.containsAll(hs2); in timeStandardContainsAll()
88 temp = CollectionUtilities.containsAll(hs1, hs2); in timeUtilityContainsAll()
123 checkContainment(b.containsAll(a) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
129 checkContainment(a.containsAll(b) && !a.equals(b), a, relation, b); in TestCollectionUtilities()
132 …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/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()
/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/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/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLServerSocketTest.java113 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
117 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
123 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
128 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLServerSocketTest.java110 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
114 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
120 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
125 .containsAll(StandardNames.CIPHER_SUITES_TLS13)); in test_SSLSocket_setEnabledCipherSuites_TLS13()
/external/cldr/tools/java/org/unicode/cldr/draft/
DExemplarInfo.java140 if (IGNORE.containsAll(sequence)) { in getStatus()
143 if (exemplarsX.containsAll(sequence)) { in getStatus()
146 if (auxiliariesX.containsAll(sequence)) { in getStatus()
149 if (exemplarScripts.containsAll(sequence)) { in getStatus()
152 if (auxiliaryScripts.containsAll(sequence)) { in getStatus()
170 if (auxiliary1.containsSome(az) && !auxiliary1.containsAll(az)) { in ExemplarInfo()
213 if (scripts.containsAll(s)) { in expandScripts()
/external/cldr/tools/java/org/unicode/cldr/util/
DLanguageTagParser.java197 … if (keyValuePair.hasNext() || !ALPHANUM.containsAll(key) || !EXTENSION_VALUE.containsAll(value)) { in set()
228 if (!ALPHA.containsAll(subtag) || subtag.length() < 2) { in set()
236 if (subtag.length() == 4 && ALPHA.containsAll(subtag)) { in set()
244 if (subtag.length() == 2 && ALPHA.containsAll(subtag) in set()
245 || subtag.length() == 3 && DIGIT.containsAll(subtag)) { in set()
277 return subtag != null && ALPHANUM.containsAll(subtag) in isValidVariant()
391 if (!ALPHANUM.containsAll(result)) { in getSubtag()
/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/classes/core/src/com/ibm/icu/impl/
DCollectionSet.java66 public boolean containsAll(Collection<?> c) { in containsAll() method in CollectionSet
67 return data.containsAll(c); in containsAll()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCollectionSet.java68 public boolean containsAll(Collection<?> c) { in containsAll() method in CollectionSet
69 return data.containsAll(c); in containsAll()
/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/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()
/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()

12345678910