/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CopyOnWriteArraySetTest.java | 142 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 …]
|
D | CopyOnWriteArrayListTest.java | 184 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 …]
|
D | PriorityQueueTest.java | 375 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()
|
D | ConcurrentLinkedQueueTest.java | 341 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()
|
D | ConcurrentHashMap8Test.java | 383 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()
|
D | TreeSubSetTest.java | 294 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()
|
D | ConcurrentSkipListSubSetTest.java | 297 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()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CopyOnWriteArraySetTest.java | 164 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 …]
|
D | CopyOnWriteArrayListTest.java | 222 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 …]
|
D | Collection8Test.java | 198 () -> 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 …]
|
D | ConcurrentLinkedQueueTest.java | 374 assertTrue(q.containsAll(p)); in testContainsAll() 375 assertFalse(p.containsAll(q)); in testContainsAll() 378 assertTrue(p.containsAll(q)); in testContainsAll() 394 assertTrue(q.containsAll(p)); in testRetainAll()
|
D | ConcurrentHashMap8Test.java | 408 assertTrue(full.containsAll(Arrays.asList())); in testContainsAll() 409 assertTrue(full.containsAll(Arrays.asList(one))); in testContainsAll() 410 assertTrue(full.containsAll(Arrays.asList(one, two))); in testContainsAll() 411 assertFalse(full.containsAll(Arrays.asList(one, two, six))); in testContainsAll() 412 assertFalse(full.containsAll(Arrays.asList(six))); in testContainsAll() 532 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray()))); in testToArray() 533 assertTrue(full.containsAll(Arrays.asList(full.toArray()))); in testToArray() 563 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray(a)))); in testToArray2() 571 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray(a)))); in testToArray2()
|
D | TreeSubSetTest.java | 317 assertTrue(q.containsAll(p)); in testContainsAll() 318 assertFalse(p.containsAll(q)); in testContainsAll() 321 assertTrue(p.containsAll(q)); in testContainsAll() 337 assertTrue(q.containsAll(p)); in testRetainAll() 796 assertTrue(q.containsAll(p)); in testDescendingContainsAll() 797 assertFalse(p.containsAll(q)); in testDescendingContainsAll() 800 assertTrue(p.containsAll(q)); in testDescendingContainsAll() 816 assertTrue(q.containsAll(p)); in testDescendingRetainAll()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_CollectionTest.java | 64 .containsAll(myCollection)); in runTest() 68 .containsAll(myCollection)); in runTest() 71 .containsAll(myCollection)); in runTest() 92 .containsAll(myCollection)); in runTest()
|
D | Support_MapTest.java | 118 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/ |
D | NamespaceSupportTest.java | 165 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/ |
D | ConcurrentHashMapTest.java | 347 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()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 276 public boolean containsAll(Collection<?> c) { in containsAll() method in CopyOnWriteArraySet 279 : al.containsAll(c); in containsAll()
|
D | ConcurrentSkipListSet.java | 312 return containsAll(c) && c.containsAll(this); in equals()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | EnumSetTest.java | 783 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/ |
D | RegularEnumSet.java | 197 public boolean containsAll(Collection<?> c) { in containsAll() method in RegularEnumSet 199 return super.containsAll(c); in containsAll()
|
D | AbstractSet.java | 95 return containsAll(c); in equals()
|
D | Collection.java | 334 boolean containsAll(Collection<?> c); in containsAll() method
|
D | JumboEnumSet.java | 249 public boolean containsAll(Collection<?> c) { in containsAll() method in JumboEnumSet 251 return super.containsAll(c); in containsAll()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 84 public boolean containsAll(java.util.Collection<?> c) { in containsAll() method in CopyOnWriteArraySet
|