/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | IterateTest.java | 42 import static org.openjdk.testlib.java.util.stream.ThrowableHelper.checkNPE; 92 checkNPE(() -> Stream.iterate("", null, x -> x + "a")); in testNPE() 93 checkNPE(() -> Stream.iterate("", String::isEmpty, null)); in testNPE() 94 checkNPE(() -> IntStream.iterate(0, null, x -> x + 1)); in testNPE() 95 checkNPE(() -> IntStream.iterate(0, x -> x < 10, null)); in testNPE() 96 checkNPE(() -> LongStream.iterate(0, null, x -> x + 1)); in testNPE() 97 checkNPE(() -> LongStream.iterate(0, x -> x < 10, null)); in testNPE() 98 checkNPE(() -> DoubleStream.iterate(0, null, x -> x + 1)); in testNPE() 99 checkNPE(() -> DoubleStream.iterate(0, x -> x < 10, null)); in testNPE()
|
D | CollectAndSummaryStatisticsTest.java | 46 import static org.openjdk.testlib.java.util.stream.ThrowableHelper.checkNPE; 52 checkNPE(() -> IntStream.of(1).collect(null, in testIntCollectNull() 55 checkNPE(() -> IntStream.of(1).collect(IntSummaryStatistics::new, in testIntCollectNull() 58 checkNPE(() -> IntStream.of(1).collect(IntSummaryStatistics::new, in testIntCollectNull() 64 checkNPE(() -> LongStream.of(1).collect(null, in testLongCollectNull() 67 checkNPE(() -> LongStream.of(1).collect(LongSummaryStatistics::new, in testLongCollectNull() 70 checkNPE(() -> LongStream.of(1).collect(LongSummaryStatistics::new, in testLongCollectNull() 76 checkNPE(() -> DoubleStream.of(1).collect(null, in testDoubleCollectNull() 79 checkNPE(() -> DoubleStream.of(1).collect(DoubleSummaryStatistics::new, in testDoubleCollectNull() 82 checkNPE(() -> DoubleStream.of(1).collect(DoubleSummaryStatistics::new, in testDoubleCollectNull()
|
D | MapMultiOpTest.java | 62 import static org.openjdk.testlib.java.util.stream.ThrowableHelper.checkNPE; 92 checkNPE(() -> s.mapMulti(null)); in testNullMapper() 93 checkNPE(() -> s.mapMultiToInt(null)); in testNullMapper() 94 checkNPE(() -> s.mapMultiToDouble(null)); in testNullMapper() 95 checkNPE(() -> s.mapMultiToLong(null)); in testNullMapper() 187 checkNPE(() -> s.mapMulti(null)); in testIntNullMapper() 241 checkNPE(() -> s.mapMulti(null)); in testDoubleNullMapper() 289 checkNPE(() -> s.mapMulti(null)); in testLongNullMapper()
|
D | FlatMapOpTest.java | 51 import static org.openjdk.testlib.java.util.stream.ThrowableHelper.checkNPE; 58 checkNPE(() -> Stream.of(1).flatMap(null)); in testNullMapper() 59 checkNPE(() -> IntStream.of(1).flatMap(null)); in testNullMapper() 60 checkNPE(() -> LongStream.of(1).flatMap(null)); in testNullMapper() 61 checkNPE(() -> DoubleStream.of(1).flatMap(null)); in testNullMapper()
|
D | StreamCloseTest.java | 36 import static org.openjdk.testlib.java.util.stream.ThrowableHelper.checkNPE; 47 checkNPE(() -> Stream.of(1).onClose(null)); in testNullCloseHandler()
|
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestByteArrayAsLong.java | 209 checkNPE(() -> { in testArrayNPE() method 213 checkNPE(() -> { in testArrayNPE() method 217 checkNPE(() -> { in testArrayNPE() method 221 checkNPE(() -> { in testArrayNPE() method 225 checkNPE(() -> { in testArrayNPE() method 229 checkNPE(() -> { in testArrayNPE() method 233 checkNPE(() -> { in testArrayNPE() method 237 checkNPE(() -> { in testArrayNPE() method 241 checkNPE(() -> { in testArrayNPE() method 245 checkNPE(() -> { in testArrayNPE() method [all …]
|
D | VarHandleTestByteArrayAsInt.java | 209 checkNPE(() -> { in testArrayNPE() method 213 checkNPE(() -> { in testArrayNPE() method 217 checkNPE(() -> { in testArrayNPE() method 221 checkNPE(() -> { in testArrayNPE() method 225 checkNPE(() -> { in testArrayNPE() method 229 checkNPE(() -> { in testArrayNPE() method 233 checkNPE(() -> { in testArrayNPE() method 237 checkNPE(() -> { in testArrayNPE() method 241 checkNPE(() -> { in testArrayNPE() method 245 checkNPE(() -> { in testArrayNPE() method [all …]
|
D | VarHandleTestMethodTypeDouble.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | VarHandleTestMethodTypeFloat.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | VarHandleTestMethodTypeBoolean.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | VarHandleTestMethodTypeLong.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | VarHandleTestMethodTypeInt.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | VarHandleTestMethodTypeByte.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | VarHandleTestMethodTypeShort.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | VarHandleTestMethodTypeChar.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | VarHandleTestByteArrayAsFloat.java | 209 checkNPE(() -> { in testArrayNPE() method 213 checkNPE(() -> { in testArrayNPE() method 217 checkNPE(() -> { in testArrayNPE() method 221 checkNPE(() -> { in testArrayNPE() method 225 checkNPE(() -> { in testArrayNPE() method 229 checkNPE(() -> { in testArrayNPE() method 233 checkNPE(() -> { in testArrayNPE() method 237 checkNPE(() -> { in testArrayNPE() method 241 checkNPE(() -> { in testArrayNPE() method 245 checkNPE(() -> { in testArrayNPE() method [all …]
|
D | VarHandleTestByteArrayAsDouble.java | 209 checkNPE(() -> { in testArrayNPE() method 213 checkNPE(() -> { in testArrayNPE() method 217 checkNPE(() -> { in testArrayNPE() method 221 checkNPE(() -> { in testArrayNPE() method 225 checkNPE(() -> { in testArrayNPE() method 229 checkNPE(() -> { in testArrayNPE() method 233 checkNPE(() -> { in testArrayNPE() method 237 checkNPE(() -> { in testArrayNPE() method 241 checkNPE(() -> { in testArrayNPE() method 245 checkNPE(() -> { in testArrayNPE() method [all …]
|
D | VarHandleTestMethodTypeString.java | 132 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 159 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 182 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 209 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 232 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 259 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 282 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 309 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 332 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method 358 checkNPE(() -> { // null receiver in testInstanceFieldWrongMethodType() method [all …]
|
D | X-VarHandleTestByteArrayView.java.template | 241 checkNPE(() -> { 245 checkNPE(() -> { 249 checkNPE(() -> { 253 checkNPE(() -> { 257 checkNPE(() -> { 261 checkNPE(() -> { 265 checkNPE(() -> { 269 checkNPE(() -> { 274 checkNPE(() -> { 278 checkNPE(() -> { [all …]
|
D | VarHandleTestByteArrayAsShort.java | 209 checkNPE(() -> { in testArrayNPE() method 213 checkNPE(() -> { in testArrayNPE() method 217 checkNPE(() -> { in testArrayNPE() method 221 checkNPE(() -> { in testArrayNPE() method 225 checkNPE(() -> { in testArrayNPE() method 229 checkNPE(() -> { in testArrayNPE() method 233 checkNPE(() -> { in testArrayNPE() method 237 checkNPE(() -> { in testArrayNPE() method 250 checkNPE(() -> { in testArrayNPE() method 254 checkNPE(() -> { in testArrayNPE() method [all …]
|
D | VarHandleTestByteArrayAsChar.java | 209 checkNPE(() -> { in testArrayNPE() method 213 checkNPE(() -> { in testArrayNPE() method 217 checkNPE(() -> { in testArrayNPE() method 221 checkNPE(() -> { in testArrayNPE() method 225 checkNPE(() -> { in testArrayNPE() method 229 checkNPE(() -> { in testArrayNPE() method 233 checkNPE(() -> { in testArrayNPE() method 237 checkNPE(() -> { in testArrayNPE() method 250 checkNPE(() -> { in testArrayNPE() method 254 checkNPE(() -> { in testArrayNPE() method [all …]
|
D | X-VarHandleTestMethodType.java.template | 132 checkNPE(() -> { // null receiver 159 checkNPE(() -> { // null receiver 182 checkNPE(() -> { // null receiver 209 checkNPE(() -> { // null receiver 232 checkNPE(() -> { // null receiver 259 checkNPE(() -> { // null receiver 282 checkNPE(() -> { // null receiver 309 checkNPE(() -> { // null receiver 333 checkNPE(() -> { // null receiver 359 checkNPE(() -> { // null receiver [all …]
|
D | VarHandleBaseTest.java | 118 static void checkNPE(ThrowingRunnable r) { in checkNPE() method in VarHandleBaseTest 122 static void checkNPE(Object message, ThrowingRunnable r) { in checkNPE() method in VarHandleBaseTest
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | ThrowableHelper.java | 42 public static void checkNPE(Runnable r) { in checkNPE() method in ThrowableHelper
|