Searched refs:testNPE (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArraysEqCmpTest.java | 1022 testNPE(() -> arrayType.equals(o1, 0, 0, o2, 0, 0)); in testNPEs() 1023 testNPE(() -> arrayType.compare(o1, 0, 0, o2, 0, 0)); in testNPEs() 1024 testNPE(() -> arrayType.mismatch(o1, o2)); in testNPEs() 1025 testNPE(() -> arrayType.mismatch(o1, 0, 0, o2, 0, 0)); in testNPEs() 1043 testNPE(() -> Arrays.equals(o1, o2, o3)); in testObjectNPEs() 1044 testNPE(() -> Arrays.compare(o1, o2, o3)); in testObjectNPEs() 1045 testNPE(() -> Arrays.mismatch(o1, o2, o3)); in testObjectNPEs() 1048 testNPE(() -> Arrays.equals(o1, 0, 0, o2, 0, 0, o3)); in testObjectNPEs() 1049 testNPE(() -> Arrays.compare(o1, 0, 0, o2, 0, 0, o3)); in testObjectNPEs() 1050 testNPE(() -> Arrays.mismatch(o1, 0, 0, o2, 0, 0, o3)); in testObjectNPEs() [all …]
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | SanityTest.java | 41 public static void testNPE() { in testNPE() method in SanityTest
|
/libcore/ojluni/src/test/java/lang/String/ |
D | LiteralReplace.java | 78 public void testNPE(String source, String target, String replacement) { in testNPE() method in LiteralReplace
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | IterateTest.java | 91 public void testNPE() { in testNPE() method in IterateTest
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | MethodHandlesGeneralTest.java | 638 boolean testNPE = ((testMode0 & TEST_NPE) != 0); in testAccessor() 640 boolean positive = positive0 && !testNPE; in testAccessor() 665 if (testNPE && isStatic) return; in testAccessor() 703 if (positive && !testNPE && noAccess != null) throw new RuntimeException(noAccess); in testAccessor() 705 if (!positive && !testNPE) return; // negative access test failed as expected in testAccessor() 713 if (testNPE) fieldsForMH = null; // perturb MH argument to elicit expected error in testAccessor() 749 if (ex instanceof NullPointerException && testNPE) { in testAccessor() 780 if (ex instanceof NullPointerException && testNPE) { in testAccessor() 793 if (testNPE) { in testAccessor()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 3209 public void testNPE() { in testNPE() method
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CompletableFutureTest.java | 3465 public void testNPE() { in testNPE() method
|