/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 …]
|
/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 …]
|
/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_UnmodifiableCollectionTest.java | 61 col.containsAll(hs)); in runTest() 65 !col.containsAll(hs)); 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()
|
D | ConcurrentSkipListSetTest.java | 111 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/ |
D | SimpleSortedSet.java | 80 public boolean containsAll(Collection<?> c) { in containsAll() method in SimpleSortedSet 81 return set.containsAll(c); in containsAll()
|
D | SimpleList.java | 77 public boolean containsAll(Collection<?> c) { in containsAll() method in SimpleList 78 return list.containsAll(c); in containsAll()
|
D | SimpleDeque.java | 77 public boolean containsAll(Collection<?> c) { in containsAll() method in SimpleDeque 78 return deque.containsAll(c); in containsAll()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | CheckedListBash.java | 75 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()
|
D | CheckedSetBash.java | 129 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/ |
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/concurrent/ |
D | CopyOnWriteArraySet.java | 275 public boolean containsAll(Collection<?> c) { in containsAll() method in CopyOnWriteArraySet 278 : al.containsAll(c); in containsAll()
|
/libcore/ojluni/src/main/java/java/util/ |
D | RegularEnumSet.java | 198 public boolean containsAll(Collection<?> c) { in containsAll() method in RegularEnumSet 200 return super.containsAll(c); in containsAll()
|
D | ReverseOrderSortedSetView.java | 67 return containsAll(c); in equals() 136 public boolean containsAll(Collection<?> c) { in containsAll() method in ReverseOrderSortedSetView 137 return base.containsAll(c); in containsAll()
|
D | AbstractSet.java | 95 return containsAll(c); in equals()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TreeSetTest.java | 148 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/ |
D | Basic.java | 115 if (!s.containsAll(clone)) in clone() 117 if (!clone.containsAll(s)) in clone()
|
/libcore/ojluni/src/test/java/util/LinkedHashMap/ |
D | Basic.java | 105 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/ |
D | ListTest.java | 82 public boolean containsAll(Collection<?> c) { in containsAll() method in ListTest.MyList 83 return l.containsAll(c); in containsAll()
|