Searched refs:executeAndCatch (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DSpliteratorTestHelper.java178 executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((IntConsumer) null));
179 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((IntConsumer) null));
183 executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((LongConsumer) null));
184 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((LongConsumer) null));
188 executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((DoubleConsumer) null));
189 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((DoubleConsumer) null));
192 executeAndCatch(NullPointerException.class, () -> sp.forEachRemaining(null));
193 executeAndCatch(NullPointerException.class, () -> sp.tryAdvance(null));
616 private static void executeAndCatch(Class<? extends Exception> expected, Runnable r) { method in class:SpliteratorTestHelper
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DSpliteratorTestHelper.java178 executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((IntConsumer) null));
179 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((IntConsumer) null));
183 executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((LongConsumer) null));
184 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((LongConsumer) null));
188 executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((DoubleConsumer) null));
189 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((DoubleConsumer) null));
192 executeAndCatch(NullPointerException.class, () -> sp.forEachRemaining(null));
193 executeAndCatch(NullPointerException.class, () -> sp.tryAdvance(null));
616 private static void executeAndCatch(Class<? extends Exception> expected, Runnable r) { method in class:SpliteratorTestHelper

Completed in 535 milliseconds