Home
last modified time | relevance | path

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

123456

/libcore/jsr166-tests/src/test/java/jsr166/
DCopyOnWriteArraySetTest.java142 assertTrue(a.containsAll(b)); in testEquals()
143 assertTrue(b.containsAll(a)); in testEquals()
150 assertTrue(a.containsAll(b)); in testEquals()
151 assertFalse(b.containsAll(a)); in testEquals()
155 assertTrue(a.containsAll(b)); in testEquals()
156 assertTrue(b.containsAll(a)); in testEquals()
163 assertFalse(a.containsAll(b)); in testEquals()
164 assertTrue(b.containsAll(a)); in testEquals()
168 assertTrue(a.containsAll(b)); in testEquals()
169 assertTrue(b.containsAll(a)); in testEquals()
[all …]
DCopyOnWriteArrayListTest.java184 assertTrue(a.containsAll(b)); in testEquals()
185 assertTrue(b.containsAll(a)); in testEquals()
190 assertTrue(a.containsAll(b)); in testEquals()
191 assertFalse(b.containsAll(a)); in testEquals()
195 assertTrue(a.containsAll(b)); in testEquals()
196 assertTrue(b.containsAll(a)); in testEquals()
207 assertTrue(full.containsAll(Arrays.asList())); in testContainsAll()
208 assertTrue(full.containsAll(Arrays.asList(one))); in testContainsAll()
209 assertTrue(full.containsAll(Arrays.asList(one, two))); in testContainsAll()
210 assertFalse(full.containsAll(Arrays.asList(one, two, six))); in testContainsAll()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCopyOnWriteArraySetTest.java164 assertTrue(a.containsAll(b)); in testEquals()
165 assertTrue(b.containsAll(a)); in testEquals()
172 assertTrue(a.containsAll(b)); in testEquals()
173 assertFalse(b.containsAll(a)); in testEquals()
177 assertTrue(a.containsAll(b)); in testEquals()
178 assertTrue(b.containsAll(a)); in testEquals()
185 assertFalse(a.containsAll(b)); in testEquals()
186 assertTrue(b.containsAll(a)); in testEquals()
190 assertTrue(a.containsAll(b)); in testEquals()
191 assertTrue(b.containsAll(a)); in testEquals()
[all …]
DCopyOnWriteArrayListTest.java222 assertTrue(a.containsAll(b)); in testEquals()
223 assertTrue(b.containsAll(a)); in testEquals()
228 assertTrue(a.containsAll(b)); in testEquals()
229 assertFalse(b.containsAll(a)); in testEquals()
233 assertTrue(a.containsAll(b)); in testEquals()
234 assertTrue(b.containsAll(a)); in testEquals()
245 assertTrue(full.containsAll(Arrays.asList())); in testContainsAll()
246 assertTrue(full.containsAll(Arrays.asList(one))); in testContainsAll()
247 assertTrue(full.containsAll(Arrays.asList(one, two))); in testContainsAll()
248 assertFalse(full.containsAll(Arrays.asList(one, two, six))); in testContainsAll()
[all …]
DCollection8Test.java198 () -> c.containsAll(null),
353 assertTrue(orig.containsAll(accepts));
354 assertTrue(orig.containsAll(rejects));
355 assertTrue(orig.containsAll(survivors));
356 assertTrue(orig.containsAll(c));
357 assertTrue(c.containsAll(rejects));
358 assertTrue(c.containsAll(survivors));
359 assertTrue(survivors.containsAll(rejects));
421 assertTrue(copy.containsAll(iterated));
422 assertTrue(copy.containsAll(spliterated));
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_CollectionTest.java64 .containsAll(myCollection)); in runTest()
68 .containsAll(myCollection)); in runTest()
71 .containsAll(myCollection)); in runTest()
92 .containsAll(myCollection)); in runTest()
DSupport_UnmodifiableCollectionTest.java61 col.containsAll(hs)); in runTest()
65 !col.containsAll(hs)); in runTest()
DSupport_MapTest.java118 assertTrue("Should contain set of \"0\", \"25\", and \"99\"", keySet.containsAll(hs)); in testKeySetContents()
121 !keySet.containsAll(hs)); in testKeySetContents()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DNamespaceSupportTest.java165 expected.containsAll(prefixes) && prefixes.containsAll(expected)); in testGetPrefixesLjava_lang_String()
188 expected.containsAll(prefixes) && prefixes.containsAll(expected)); in testGetPrefixes()
199 expected.containsAll(prefixes) && prefixes.containsAll(expected)); in testGetDeclaredPrefixes()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DConcurrentHashMapTest.java347 assertTrue(set.containsAll(Arrays.asList())); in testKeySetViewContainsAll()
348 assertTrue(set.containsAll(Arrays.asList("A"))); in testKeySetViewContainsAll()
349 assertTrue(set.containsAll(Arrays.asList("A", "E"))); in testKeySetViewContainsAll()
350 assertTrue(set.containsAll(Arrays.asList("A", "B", "C", "D", "E"))); in testKeySetViewContainsAll()
351 assertFalse(set.containsAll(Arrays.asList("A", "B", "F"))); in testKeySetViewContainsAll()
352 assertFalse(set.containsAll(Arrays.asList("F"))); in testKeySetViewContainsAll()
374 assertTrue(set.containsAll(Arrays.asList("B", "D", "E"))); in testKeySetViewRemoveAll()
377 assertTrue(set.containsAll(Arrays.asList("B", "D", "E"))); in testKeySetViewRemoveAll()
385 assertTrue(set.containsAll(Arrays.asList("A", "C"))); in testKeySetViewRetainAll()
388 assertTrue(set.containsAll(Arrays.asList("A", "C"))); in testKeySetViewRetainAll()
DConcurrentSkipListSetTest.java111 assertTrue(headset.containsAll(Arrays.asList(-5, -4, -3, -2, -1))); in testHeadSet()
116 assertTrue(headset.containsAll(Arrays.asList(-5, -4, -3, -2))); in testHeadSet()
/libcore/ojluni/src/test/java/util/SequencedCollection/
DSimpleSortedSet.java80 public boolean containsAll(Collection<?> c) { in containsAll() method in SimpleSortedSet
81 return set.containsAll(c); in containsAll()
DSimpleList.java77 public boolean containsAll(Collection<?> c) { in containsAll() method in SimpleList
78 return list.containsAll(c); in containsAll()
DSimpleDeque.java77 public boolean containsAll(Collection<?> c) { in containsAll() method in SimpleDeque
78 return deque.containsAll(c); in containsAll()
/libcore/ojluni/src/test/java/util/Collections/
DCheckedListBash.java75 if (!(intersection.containsAll(union) && in main()
76 union.containsAll(intersection))) in main()
204 if (!s.containsAll(clone)) in clone()
206 if (!clone.containsAll(s)) in clone()
DCheckedSetBash.java129 if (!s.containsAll(clone)) in clone()
131 if (!clone.containsAll(s)) in clone()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java783 set.containsAll(null); in test_containsAll_LCollection()
794 boolean result = set.containsAll(emptySet); in test_containsAll_LCollection()
798 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
802 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
806 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
810 result = set.containsAll(rawSet); in test_containsAll_LCollection()
814 result = set.containsAll(emptySet); in test_containsAll_LCollection()
819 result = set.containsAll(collection); in test_containsAll_LCollection()
824 result = set.containsAll(fooSet); in test_containsAll_LCollection()
829 set.containsAll(null); in test_containsAll_LCollection()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java275 public boolean containsAll(Collection<?> c) { in containsAll() method in CopyOnWriteArraySet
278 : al.containsAll(c); in containsAll()
/libcore/ojluni/src/main/java/java/util/
DRegularEnumSet.java198 public boolean containsAll(Collection<?> c) { in containsAll() method in RegularEnumSet
200 return super.containsAll(c); in containsAll()
DReverseOrderSortedSetView.java67 return containsAll(c); in equals()
136 public boolean containsAll(Collection<?> c) { in containsAll() method in ReverseOrderSortedSetView
137 return base.containsAll(c); in containsAll()
DAbstractSet.java95 return containsAll(c); in equals()
/libcore/luni/src/test/java/libcore/java/util/
DTreeSetTest.java148 assertTrue(headset.containsAll(Arrays.asList(-5, -4, -3, -2, -1))); in testHeadSet()
153 assertTrue(headset.containsAll(Arrays.asList(-5, -4, -3, -2))); in testHeadSet()
/libcore/ojluni/src/test/java/util/LinkedHashSet/
DBasic.java115 if (!s.containsAll(clone)) in clone()
117 if (!clone.containsAll(s)) in clone()
/libcore/ojluni/src/test/java/util/LinkedHashMap/
DBasic.java105 Assert.assertTrue(s.containsAll(s2)); in testBasic()
106 Assert.assertTrue(s2.containsAll(s)); in testBasic()
114 Assert.assertTrue(s.containsAll(s2)); in testBasic()
115 Assert.assertTrue(s2.containsAll(s)); in testBasic()
/libcore/luni/src/test/androidsdk34/src/libcore/android34/java/util/
DListTest.java82 public boolean containsAll(Collection<?> c) { in containsAll() method in ListTest.MyList
83 return l.containsAll(c); in containsAll()

123456