Home
last modified time | relevance | path

Searched refs:split2 (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DSpliteratorsTest.java233 Spliterator.OfInt split2 = split1.trySplit(); in test_spliterator_int() local
234 assertNotNull(split2); in test_spliterator_int()
235 split2.forEachRemaining((int value) -> recorder.add(value)); in test_spliterator_int()
236 assertFalse(split2.tryAdvance((int value) -> fail())); in test_spliterator_int()
237 assertFalse(split2.tryAdvance((Integer value) -> fail())); in test_spliterator_int()
309 Spliterator.OfLong split2 = split1.trySplit(); in test_spliterator_long() local
310 assertNotNull(split2); in test_spliterator_long()
311 split2.forEachRemaining((long value) -> recorder.add(value)); in test_spliterator_long()
312 assertFalse(split2.tryAdvance((long value) -> fail())); in test_spliterator_long()
313 assertFalse(split2.tryAdvance((Long value) -> fail())); in test_spliterator_long()
[all …]
DSpliteratorTester.java146 Spliterator<T> split2 = spliterator.trySplit(); in runBasicSplitTests() local
147 if (split2 != null) { in runBasicSplitTests()
148 recordAndAssertBasicIteration(split2, recorder); in runBasicSplitTests()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java4347 Spliterator.OfInt split2 = split1.trySplit(); in test_spliterator_int() local
4348 assertNotNull(split2); in test_spliterator_int()
4349 split2.forEachRemaining((int value) -> recorder.add(value)); in test_spliterator_int()
4350 assertFalse(split2.tryAdvance((int value) -> fail())); in test_spliterator_int()
4351 assertFalse(split2.tryAdvance((Integer value) -> fail())); in test_spliterator_int()
4424 Spliterator.OfLong split2 = split1.trySplit(); in test_spliterator_long() local
4425 assertNotNull(split2); in test_spliterator_long()
4426 split2.forEachRemaining((long value) -> recorder.add(value)); in test_spliterator_long()
4427 assertFalse(split2.tryAdvance((long value) -> fail())); in test_spliterator_long()
4428 assertFalse(split2.tryAdvance((Long value) -> fail())); in test_spliterator_long()
[all …]