Home
last modified time | relevance | path

Searched refs:SpliteratorTester (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DHashMapTest.java99 SpliteratorTester.runBasicIterationTests(keys.spliterator(), expectedKeys); in test_spliterator_keySet()
100 SpliteratorTester.runBasicSplitTests(keys, expectedKeys); in test_spliterator_keySet()
101 SpliteratorTester.testSpliteratorNPE(keys.spliterator()); in test_spliterator_keySet()
102 SpliteratorTester.runSizedTests(keys.spliterator(), 10); in test_spliterator_keySet()
105 SpliteratorTester.assertSupportsTrySplit(keys); in test_spliterator_keySet()
124 SpliteratorTester.runBasicIterationTests(values.spliterator(), expectedValues); in test_spliterator_values()
125 SpliteratorTester.runBasicSplitTests(values, expectedValues); in test_spliterator_values()
126 SpliteratorTester.testSpliteratorNPE(values.spliterator()); in test_spliterator_values()
127 SpliteratorTester.runSizedTests(values, 10); in test_spliterator_values()
129 SpliteratorTester.assertSupportsTrySplit(values); in test_spliterator_values()
DTreeMapTest.java641 SpliteratorTester.runBasicIterationTests_unordered(keys.spliterator(), expectedKeys, in test_spliterator_keySet()
643 SpliteratorTester.runBasicSplitTests(keys, expectedKeys); in test_spliterator_keySet()
644 SpliteratorTester.testSpliteratorNPE(keys.spliterator()); in test_spliterator_keySet()
648 SpliteratorTester.runSortedTests(keys); in test_spliterator_keySet()
649 SpliteratorTester.runOrderedTests(keys); in test_spliterator_keySet()
650 SpliteratorTester.assertSupportsTrySplit(keys); in test_spliterator_keySet()
677 SpliteratorTester.runBasicIterationTests_unordered( in test_spliterator_values()
679 SpliteratorTester.runBasicSplitTests(values, expectedValues); in test_spliterator_values()
680 SpliteratorTester.testSpliteratorNPE(values.spliterator()); in test_spliterator_values()
684 SpliteratorTester.runSizedTests(values, 16); in test_spliterator_values()
[all …]
DLinkedHashMapTest.java440 SpliteratorTester.runBasicIterationTests(keys.spliterator(), expectedKeys); in test_spliterator_keySet()
441 SpliteratorTester.runBasicSplitTests(keys, expectedKeys); in test_spliterator_keySet()
442 SpliteratorTester.testSpliteratorNPE(keys.spliterator()); in test_spliterator_keySet()
443 SpliteratorTester.runOrderedTests(keys); in test_spliterator_keySet()
444 SpliteratorTester.runSizedTests(keys.spliterator(), 10); in test_spliterator_keySet()
445 SpliteratorTester.runSubSizedTests(keys.spliterator(), 10); in test_spliterator_keySet()
450 SpliteratorTester.assertSupportsTrySplit(keys); in test_spliterator_keySet()
469 SpliteratorTester.runBasicIterationTests( in test_spliterator_values()
471 SpliteratorTester.runBasicSplitTests(values, expectedValues); in test_spliterator_values()
472 SpliteratorTester.testSpliteratorNPE(values.spliterator()); in test_spliterator_values()
[all …]
DSpliteratorsTest.java109 SpliteratorTester.runBasicIterationTests(sp, expectedValues); in testSpliteratorObjectArray()
112 SpliteratorTester.testSpliteratorNPE(sp); in testSpliteratorObjectArray()
115 SpliteratorTester.runBasicSplitTests(sp, expectedValues, String::compareTo); in testSpliteratorObjectArray()
118 SpliteratorTester.runSizedTests(sp, 8); in testSpliteratorObjectArray()
121 SpliteratorTester.runSubSizedTests(sp, 8); in testSpliteratorObjectArray()
138 SpliteratorTester.runBasicIterationTests(sp, expectedValues); in testSpliteratorObjectArrayRange()
141 SpliteratorTester.testSpliteratorNPE(sp); in testSpliteratorObjectArrayRange()
144 SpliteratorTester.runBasicSplitTests(sp, expectedValues, String::compareTo); in testSpliteratorObjectArrayRange()
147 SpliteratorTester.runSizedTests(sp, 8); in testSpliteratorObjectArrayRange()
150 SpliteratorTester.runSubSizedTests(sp, 8); in testSpliteratorObjectArrayRange()
[all …]
DAbstractListTest.java139 SpliteratorTester.runBasicIterationTests(spliteratorSupplier.get(), expectedList); in checkSpliteratorOfRandomAccessList()
140 SpliteratorTester.runBasicSplitTests(spliteratorSupplier.get(), expectedList, in checkSpliteratorOfRandomAccessList()
142 SpliteratorTester.testSpliteratorNPE(spliteratorSupplier.get()); in checkSpliteratorOfRandomAccessList()
147 SpliteratorTester.runSizedTests(spliteratorSupplier.get(), size /* expected size */); in checkSpliteratorOfRandomAccessList()
149 SpliteratorTester.runSubSizedTests(spliteratorSupplier.get(), size); in checkSpliteratorOfRandomAccessList()
DMapDefaultMethodTester.java487 SpliteratorTester.runBasicIterationTests_unordered(entrySet.spliterator(), in checkEntrySpliterator()
489 SpliteratorTester.runBasicSplitTests(entrySet.spliterator(), in checkEntrySpliterator()
491 SpliteratorTester.testSpliteratorNPE(entrySet.spliterator()); in checkEntrySpliterator()
495 SpliteratorTester.runSizedTests(entrySet.spliterator(), entrySet.size()); in checkEntrySpliterator()
499 SpliteratorTester.runSubSizedTests(entrySet.spliterator(), entrySet.size()); in checkEntrySpliterator()
DCollectionsTest.java65 import static libcore.java.util.SpliteratorTester.assertHasCharacteristics;
1135 SpliteratorTester.runBasicIterationTests(spliterator, expectedElementsInOrder); in check_orderedSet()
1137 SpliteratorTester.runSizedTests(set, numElements); in check_orderedSet()
1140 SpliteratorTester.runSubSizedTests(set, numElements); in check_orderedSet()
1143 SpliteratorTester.runOrderedTests(set); in check_orderedSet()
1159 SpliteratorTester.runDistinctTests(set); in check_unmodifiableSet()
1192 SpliteratorTester.runBasicIterationTests(spliterator, elementsInOrder); in check_orderedCollection()
1194 SpliteratorTester.runSizedTests(collection, elementsInOrder.size()); in check_orderedCollection()
1197 SpliteratorTester.runSubSizedTests(collection, elementsInOrder.size()); in check_orderedCollection()
1199 SpliteratorTester.runOrderedTests(collection); in check_orderedCollection()
DListOfTest.java182 SpliteratorTester.runBasicIterationTests(actual.spliterator(), expected); in assertBehaviorCommonToAllOfInstances()
DSpliteratorTester.java42 public class SpliteratorTester { class
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DWeakHashMapTest.java36 import libcore.java.util.SpliteratorTester;
540 SpliteratorTester.runBasicIterationTests_unordered(keys.spliterator(), expectedKeys, in test_spliterator_keySet()
542 SpliteratorTester.runBasicSplitTests(keys, expectedKeys); in test_spliterator_keySet()
543 SpliteratorTester.testSpliteratorNPE(keys.spliterator()); in test_spliterator_keySet()
547 SpliteratorTester.runDistinctTests(keys); in test_spliterator_keySet()
548 SpliteratorTester.assertSupportsTrySplit(keys); in test_spliterator_keySet()
573 SpliteratorTester.runBasicIterationTests_unordered( in test_spliterator_valueSet()
575 SpliteratorTester.runBasicSplitTests(values, expectedValues); in test_spliterator_valueSet()
576 SpliteratorTester.testSpliteratorNPE(values.spliterator()); in test_spliterator_valueSet()
604 SpliteratorTester.runBasicIterationTests_unordered(values.spliterator(), expectedValues, in test_spliterator_entrySet()
[all …]
DTreeSetTest.java20 import libcore.java.util.SpliteratorTester;
337 SpliteratorTester.runBasicIterationTests_unordered(treeSet.spliterator(), expectedKeys, in test_spliterator()
339 SpliteratorTester.runBasicSplitTests(treeSet, expectedKeys); in test_spliterator()
340 SpliteratorTester.testSpliteratorNPE(treeSet.spliterator()); in test_spliterator()
343 SpliteratorTester.runOrderedTests(keys); in test_spliterator()
346 SpliteratorTester.runDistinctTests(keys); in test_spliterator()
347 SpliteratorTester.assertSupportsTrySplit(treeSet); in test_spliterator()
DLinkedHashSetTest.java19 import libcore.java.util.SpliteratorTester;
341 SpliteratorTester.runBasicIterationTests_unordered(hashSet.spliterator(), expectedKeys, in test_spliterator()
343 SpliteratorTester.runBasicSplitTests(hashSet, expectedKeys); in test_spliterator()
344 SpliteratorTester.testSpliteratorNPE(hashSet.spliterator()); in test_spliterator()
347 SpliteratorTester.runOrderedTests(keys); in test_spliterator()
350 SpliteratorTester.runDistinctTests(keys); in test_spliterator()
351 SpliteratorTester.assertSupportsTrySplit(hashSet); in test_spliterator()
DHashSetTest.java36 import libcore.java.util.SpliteratorTester;
271 SpliteratorTester.runBasicIterationTests_unordered(hashSet.spliterator(), expectedKeys, in test_spliterator()
273 SpliteratorTester.runBasicSplitTests(hashSet, expectedKeys); in test_spliterator()
274 SpliteratorTester.testSpliteratorNPE(hashSet.spliterator()); in test_spliterator()
277 SpliteratorTester.runDistinctTests(keys); in test_spliterator()
278 SpliteratorTester.assertSupportsTrySplit(hashSet); in test_spliterator()
DHashMapTest.java20 import libcore.java.util.SpliteratorTester;
844 SpliteratorTester.runBasicIterationTests(keys.spliterator(), expectedKeys); in test_spliterator_keySet()
845 SpliteratorTester.runBasicSplitTests(keys, expectedKeys); in test_spliterator_keySet()
846 SpliteratorTester.testSpliteratorNPE(keys.spliterator()); in test_spliterator_keySet()
850 SpliteratorTester.runSizedTests(keys.spliterator(), 16); in test_spliterator_keySet()
851 SpliteratorTester.runDistinctTests(keys); in test_spliterator_keySet()
852 SpliteratorTester.assertSupportsTrySplit(keys); in test_spliterator_keySet()
877 SpliteratorTester.runBasicIterationTests(values.spliterator(), expectedValues); in test_spliterator_valueSet()
878 SpliteratorTester.runBasicSplitTests(values, expectedValues); in test_spliterator_valueSet()
879 SpliteratorTester.testSpliteratorNPE(values.spliterator()); in test_spliterator_valueSet()
[all …]
DArrayListTest.java32 import libcore.java.util.SpliteratorTester;
1144 SpliteratorTester.runBasicIterationTests(list.spliterator(), testElements); in test_spliterator()
1145 SpliteratorTester.runBasicSplitTests(list, testElements); in test_spliterator()
1146 SpliteratorTester.testSpliteratorNPE(list.spliterator()); in test_spliterator()
1151 SpliteratorTester.runOrderedTests(list); in test_spliterator()
1152 SpliteratorTester.runSizedTests(list, 16 /* expected size */); in test_spliterator()
1153 SpliteratorTester.runSubSizedTests(list, 16 /* expected size */); in test_spliterator()
1154 SpliteratorTester.assertSupportsTrySplit(list); in test_spliterator()
1194 SpliteratorTester.runBasicIterationTests(list.spliterator(), testElements); in test_sublist_spliterator()
1195 SpliteratorTester.runBasicSplitTests(list, testElements); in test_sublist_spliterator()
[all …]
DLinkedHashMapTest.java35 import libcore.java.util.SpliteratorTester;
846 SpliteratorTester.runBasicIterationTests_unordered(keys.spliterator(), expectedKeys, in test_spliterator_keySet()
848 SpliteratorTester.runBasicSplitTests(keys, expectedKeys); in test_spliterator_keySet()
849 SpliteratorTester.testSpliteratorNPE(keys.spliterator()); in test_spliterator_keySet()
852 SpliteratorTester.runOrderedTests(keys); in test_spliterator_keySet()
877 SpliteratorTester.runBasicIterationTests_unordered(values.spliterator(), expectedValues, in test_spliterator_valueSet()
879 SpliteratorTester.runBasicSplitTests(values, expectedValues); in test_spliterator_valueSet()
880 SpliteratorTester.testSpliteratorNPE(values.spliterator()); in test_spliterator_valueSet()
883 SpliteratorTester.runOrderedTests(values); in test_spliterator_valueSet()
911 SpliteratorTester.runBasicIterationTests_unordered(entries.spliterator(), expectedValues, in test_spliterator_entrySet()
[all …]
DIdentityHashMapTest.java20 import libcore.java.util.SpliteratorTester;
996 SpliteratorTester.runBasicIterationTests(keys.spliterator(), expectedKeys); in test_spliterator_keySet()
997 SpliteratorTester.runBasicSplitTests(keys, expectedKeys); in test_spliterator_keySet()
998 SpliteratorTester.testSpliteratorNPE(keys.spliterator()); in test_spliterator_keySet()
999 SpliteratorTester.assertSupportsTrySplit(keys); in test_spliterator_keySet()
1024 SpliteratorTester.runBasicIterationTests(values.spliterator(), expectedValues); in test_spliterator_valueSet()
1025 SpliteratorTester.runBasicSplitTests(values, expectedValues); in test_spliterator_valueSet()
1026 SpliteratorTester.testSpliteratorNPE(values.spliterator()); in test_spliterator_valueSet()
1027 SpliteratorTester.assertSupportsTrySplit(values); in test_spliterator_valueSet()
1055 SpliteratorTester.runBasicIterationTests(values.spliterator(), expectedValues); in test_spliterator_entrySet()
[all …]
DPriorityQueueTest.java34 import libcore.java.util.SpliteratorTester;
796 SpliteratorTester.runBasicIterationTests(list.spliterator(), testElements); in test_spliterator()
797 SpliteratorTester.runBasicSplitTests(list, testElements); in test_spliterator()
798 SpliteratorTester.testSpliteratorNPE(list.spliterator()); in test_spliterator()
803 SpliteratorTester.runSizedTests(list, 16 /* expected size */); in test_spliterator()
804 SpliteratorTester.runSubSizedTests(list, 16 /* expected size */); in test_spliterator()
805 SpliteratorTester.assertSupportsTrySplit(list); in test_spliterator()
DLinkedListTest.java33 import libcore.java.util.SpliteratorTester;
956 SpliteratorTester.runBasicIterationTests(list.spliterator(), testElements); in test_spliterator()
957 SpliteratorTester.runBasicSplitTests(list, testElements); in test_spliterator()
958 SpliteratorTester.testSpliteratorNPE(list.spliterator()); in test_spliterator()
963 SpliteratorTester.runOrderedTests(list); in test_spliterator()
964 SpliteratorTester.runSizedTests(list, 16 /* expected size */); in test_spliterator()
965 SpliteratorTester.runSubSizedTests(list, 16 /* expected size */); in test_spliterator()
966 SpliteratorTester.assertSupportsTrySplit(list); in test_spliterator()
DVectorTest.java21 import libcore.java.util.SpliteratorTester;
1450 SpliteratorTester.runBasicIterationTests(list.spliterator(), testElements); in test_spliterator()
1451 SpliteratorTester.runBasicSplitTests(list, testElements); in test_spliterator()
1452 SpliteratorTester.testSpliteratorNPE(list.spliterator()); in test_spliterator()
1457 SpliteratorTester.runOrderedTests(list); in test_spliterator()
1458 SpliteratorTester.runSizedTests(list, 16 /* expected size */); in test_spliterator()
1459 SpliteratorTester.runSubSizedTests(list, 16 /* expected size */); in test_spliterator()
1460 SpliteratorTester.assertSupportsTrySplit(list); in test_spliterator()
DArrayDequeTest.java33 import libcore.java.util.SpliteratorTester;
921 SpliteratorTester.runBasicIterationTests(adq.spliterator(), testElements); in test_spliterator()
922 SpliteratorTester.runBasicSplitTests(adq, testElements); in test_spliterator()
923 SpliteratorTester.testSpliteratorNPE(adq.spliterator()); in test_spliterator()
928 SpliteratorTester.runOrderedTests(adq); in test_spliterator()
929 SpliteratorTester.runSizedTests(adq, 16 /* expected size */); in test_spliterator()
930 SpliteratorTester.runSubSizedTests(adq, 16 /* expected size */); in test_spliterator()
931 SpliteratorTester.assertSupportsTrySplit(adq); in test_spliterator()
DArraysTest.java19 import libcore.java.util.SpliteratorTester;
4210 SpliteratorTester.runBasicIterationTests(list.spliterator(), expected); in test_asList_spliterator()
4211 SpliteratorTester.runBasicSplitTests(list, expected); in test_asList_spliterator()
4212 SpliteratorTester.testSpliteratorNPE(list.spliterator()); in test_asList_spliterator()
4216 SpliteratorTester.runOrderedTests(list); in test_asList_spliterator()
4217 SpliteratorTester.assertSupportsTrySplit(list); in test_asList_spliterator()
4227 SpliteratorTester.runBasicIterationTests(Arrays.spliterator(elements), expected); in test_spliterator_ref()
4228 SpliteratorTester.testSpliteratorNPE(Arrays.spliterator(elements)); in test_spliterator_ref()
4252 SpliteratorTester.runBasicIterationTests(Arrays.spliterator(elements, 2, 16), expected); in test_spliterator_ref_bounds()
4253 SpliteratorTester.testSpliteratorNPE(Arrays.spliterator(elements, 2, 16)); in test_spliterator_ref_bounds()