Home
last modified time | relevance | path

Searched refs:psp (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamSpliteratorTest.java123 final Spliterator.OfInt psp; field in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfInt
127 this.psp = sp; in OfInt()
133 Spliterator.OfInt prefix = psp.trySplit(); in trySplit()
153 return psp.tryAdvance(consumer); in tryAdvance()
159 psp.forEachRemaining(consumer); in forEachRemaining()
164 final Spliterator.OfLong psp; field in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfLong
168 this.psp = sp; in OfLong()
174 Spliterator.OfLong prefix = psp.trySplit(); in trySplit()
194 return psp.tryAdvance(consumer); in tryAdvance()
200 psp.forEachRemaining(consumer); in forEachRemaining()
[all …]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DSpliteratorTestHelper.java177 Spliterator.OfInt psp = (Spliterator.OfInt) sp; in testNullPointerException() local
178 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((IntConsumer) null)); in testNullPointerException()
179 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((IntConsumer) null)); in testNullPointerException()
182 Spliterator.OfLong psp = (Spliterator.OfLong) sp; in testNullPointerException() local
183 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((LongConsumer) null)); in testNullPointerException()
184 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((LongConsumer) null)); in testNullPointerException()
187 Spliterator.OfDouble psp = (Spliterator.OfDouble) sp; in testNullPointerException() local
188 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((DoubleConsumer) null)); in testNullPointerException()
189 … executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((DoubleConsumer) null)); in testNullPointerException()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DSpliteratorTestHelper.java177 Spliterator.OfInt psp = (Spliterator.OfInt) sp; in testNullPointerException() local
178 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((IntConsumer) null)); in testNullPointerException()
179 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((IntConsumer) null)); in testNullPointerException()
182 Spliterator.OfLong psp = (Spliterator.OfLong) sp; in testNullPointerException() local
183 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((LongConsumer) null)); in testNullPointerException()
184 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((LongConsumer) null)); in testNullPointerException()
187 Spliterator.OfDouble psp = (Spliterator.OfDouble) sp; in testNullPointerException() local
188 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((DoubleConsumer) null)); in testNullPointerException()
189 … executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((DoubleConsumer) null)); in testNullPointerException()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/
DSpliteratorTestHelper.java225 Spliterator.OfInt psp = (Spliterator.OfInt) sp; in testNullPointerException() local
226 assertThrowsNPE(() -> psp.forEachRemaining((IntConsumer) null)); in testNullPointerException()
227 assertThrowsNPE(() -> psp.tryAdvance((IntConsumer) null)); in testNullPointerException()
230 Spliterator.OfLong psp = (Spliterator.OfLong) sp; in testNullPointerException() local
231 assertThrowsNPE(() -> psp.forEachRemaining((LongConsumer) null)); in testNullPointerException()
232 assertThrowsNPE(() -> psp.tryAdvance((LongConsumer) null)); in testNullPointerException()
235 Spliterator.OfDouble psp = (Spliterator.OfDouble) sp; in testNullPointerException() local
236 assertThrowsNPE(() -> psp.forEachRemaining((DoubleConsumer) null)); in testNullPointerException()
237 assertThrowsNPE(() -> psp.tryAdvance((DoubleConsumer) null)); in testNullPointerException()