Home
last modified time | relevance | path

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

123

/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 …]
DPriorityQueueTest.java375 assertTrue(q.containsAll(p)); in testContainsAll()
376 assertFalse(p.containsAll(q)); in testContainsAll()
379 assertTrue(p.containsAll(q)); in testContainsAll()
395 assertTrue(q.containsAll(p)); in testRetainAll()
DConcurrentLinkedQueueTest.java341 assertTrue(q.containsAll(p)); in testContainsAll()
342 assertFalse(p.containsAll(q)); in testContainsAll()
345 assertTrue(p.containsAll(q)); in testContainsAll()
361 assertTrue(q.containsAll(p)); in testRetainAll()
DConcurrentHashMap8Test.java383 assertTrue(full.containsAll(Arrays.asList())); in testContainsAll()
384 assertTrue(full.containsAll(Arrays.asList(one))); in testContainsAll()
385 assertTrue(full.containsAll(Arrays.asList(one, two))); in testContainsAll()
386 assertFalse(full.containsAll(Arrays.asList(one, two, six))); in testContainsAll()
387 assertFalse(full.containsAll(Arrays.asList(six))); in testContainsAll()
507 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray()))); in testToArray()
508 assertTrue(full.containsAll(Arrays.asList(full.toArray()))); in testToArray()
538 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray(a)))); in testToArray2()
546 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray(a)))); in testToArray2()
DConcurrentSkipListSubSetTest.java297 assertTrue(q.containsAll(p)); in testContainsAll()
298 assertFalse(p.containsAll(q)); in testContainsAll()
301 assertTrue(p.containsAll(q)); in testContainsAll()
317 assertTrue(q.containsAll(p)); in testRetainAll()
787 assertTrue(q.containsAll(p)); in testDescendingContainsAll()
788 assertFalse(p.containsAll(q)); in testDescendingContainsAll()
791 assertTrue(p.containsAll(q)); in testDescendingContainsAll()
807 assertTrue(q.containsAll(p)); in testDescendingRetainAll()
DTreeSubSetTest.java294 assertTrue(q.containsAll(p)); in testContainsAll()
295 assertFalse(p.containsAll(q)); in testContainsAll()
298 assertTrue(p.containsAll(q)); in testContainsAll()
314 assertTrue(q.containsAll(p)); in testRetainAll()
773 assertTrue(q.containsAll(p)); in testDescendingContainsAll()
774 assertFalse(p.containsAll(q)); in testDescendingContainsAll()
777 assertTrue(p.containsAll(q)); in testDescendingContainsAll()
793 assertTrue(q.containsAll(p)); in testDescendingRetainAll()
DLinkedListTest.java295 assertTrue(q.containsAll(p)); in testContainsAll()
296 assertFalse(p.containsAll(q)); in testContainsAll()
299 assertTrue(p.containsAll(q)); in testContainsAll()
315 assertTrue(q.containsAll(p)); in testRetainAll()
DPriorityBlockingQueueTest.java499 assertTrue(q.containsAll(p)); in testContainsAll()
500 assertFalse(p.containsAll(q)); in testContainsAll()
503 assertTrue(p.containsAll(q)); in testContainsAll()
519 assertTrue(q.containsAll(p)); in testRetainAll()
DConcurrentSkipListSubMapTest.java208 assertTrue(s.containsAll(Arrays.asList(ar)));
211 assertFalse(s.containsAll(Arrays.asList(ar)));
222 assertTrue(s.containsAll(Arrays.asList(ar)));
224 assertFalse(s.containsAll(Arrays.asList(ar)));
882 assertTrue(s.containsAll(Arrays.asList(ar)));
885 assertFalse(s.containsAll(Arrays.asList(ar)));
896 assertTrue(s.containsAll(Arrays.asList(ar)));
898 assertFalse(s.containsAll(Arrays.asList(ar)));
/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()
DSupport_Format.java72 return vector1.size() == vector2.size() && vector1.containsAll(vector2); in compare()
/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/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java276 public boolean containsAll(Collection<?> c) { in containsAll() method in CopyOnWriteArraySet
279 : al.containsAll(c); in containsAll()
DConcurrentSkipListSet.java312 return containsAll(c) && c.containsAll(this); in equals()
/libcore/ojluni/src/main/java/java/util/
DSet.java273 boolean containsAll(Collection<?> c); in containsAll() method
DRegularEnumSet.java197 public boolean containsAll(Collection<?> c) { in containsAll() method in RegularEnumSet
199 return super.containsAll(c); in containsAll()
DAbstractSet.java95 return containsAll(c); in equals()
DCollection.java334 boolean containsAll(Collection<?> c); in containsAll() method
DJumboEnumSet.java249 public boolean containsAll(Collection<?> c) { in containsAll() method in JumboEnumSet
251 return super.containsAll(c); in containsAll()
DList.java284 boolean containsAll(Collection<?> c); in containsAll() method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java751 set.containsAll(null); in test_containsAll_LCollection()
762 boolean result = set.containsAll(emptySet); in test_containsAll_LCollection()
766 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
770 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
774 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
778 result = set.containsAll(rawSet); in test_containsAll_LCollection()
782 result = set.containsAll(emptySet); in test_containsAll_LCollection()
787 result = set.containsAll(collection); in test_containsAll_LCollection()
792 result = set.containsAll(fooSet); in test_containsAll_LCollection()
797 set.containsAll(null); in test_containsAll_LCollection()
[all …]
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java246 public boolean containsAll(Collection<?> coll) { in ungrowableSet() method in Util
247 return s.containsAll(coll); in ungrowableSet()

123