Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 29) sorted by relevance

12

/libcore/luni/src/test/java/tests/security/spec/
DEllipticCurveTest.java87 } catch (NullPointerException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02()
98 } catch (NullPointerException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02()
109 } catch (NullPointerException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02()
134 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03()
146 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03()
158 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03()
170 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03()
195 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04()
207 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04()
219 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04()
[all …]
DECGenParameterSpecTest.java59 } catch (NullPointerException ok) {} in testECGenParameterSpec02()
DECPointTest.java66 } catch (NullPointerException ok) { in testECPoint02()
74 } catch (NullPointerException ok) { in testECPoint02()
82 } catch (NullPointerException ok) { in testECPoint02()
DMGF1ParameterSpecTest.java67 } catch (NullPointerException ok) { in testMGF1ParameterSpec02()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DEncryptedPrivateKeyInfoTest.java256 } catch (NullPointerException ok) { in testEncryptedPrivateKeyInfobyteArray2()
271 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray3()
287 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray4()
310 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5()
321 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5()
332 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5()
353 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5()
364 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5()
375 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5()
437 } catch (NoSuchAlgorithmException ok) { in testEncryptedPrivateKeyInfoStringbyteArray2()
[all …]
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java663 boolean ok = false; in getHostFromNameService()
666 for(int i = 0; !ok && i < arr.length; i++) { in getHostFromNameService()
667 ok = addr.equals(arr[i]); in getHostFromNameService()
672 if (!ok) { in getHostFromNameService()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java639 } catch (ClassNotFoundException ok) { in test_forName_arrays()
644 } catch (ClassNotFoundException ok) { in test_forName_arrays()
649 } catch (ClassNotFoundException ok) { in test_forName_arrays()
654 } catch (ClassNotFoundException ok) { in test_forName_arrays()
659 } catch (ClassNotFoundException ok) { in test_forName_arrays()
664 } catch (ClassNotFoundException ok) { in test_forName_arrays()
/libcore/luni/src/test/java/tests/java/security/
DIdentityTest.java134 } catch (KeyManagementException ok) {} in testAddCertificate1()
158 } catch (KeyManagementException ok) { in testAddCertificate4()
159 } catch (NullPointerException ok) {} in testAddCertificate4()
273 } catch (KeyManagementException ok) {} in testSetPublicKey2()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadTest.java72 } catch (SecurityException ok) { in testGetAndSetDefaultUncaughtExceptionHandler()
DJSR166TestCase.java921 } catch (SecurityException ok) {
1579 } catch (InterruptedException ok) {}
1607 } catch (InterruptedException ok) {}
1615 } catch (InterruptedException ok) {}
1623 } catch (InterruptedException ok) {}
1648 } catch (InterruptedException ok) {}
1659 } catch (InterruptedException ok) {}
1669 } catch (InterruptedException ok) {}
1679 } catch (InterruptedException ok) {}
1689 } catch (InterruptedException ok) {}
[all …]
DScheduledExecutorTest.java267 } catch (SecurityException ok) {} in testSchedule1_RejectedExecutionException()
283 } catch (SecurityException ok) {} in testSchedule2_RejectedExecutionException()
299 } catch (SecurityException ok) {} in testSchedule3_RejectedExecutionException()
315 } catch (SecurityException ok) {} in testScheduleAtFixedRate1_RejectedExecutionException()
331 } catch (SecurityException ok) {} in testScheduleWithFixedDelay1_RejectedExecutionException()
525 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
548 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
572 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
689 } catch (SecurityException ok) { in testShutdownNow()
719 } catch (SecurityException ok) { in testShutdownNow_delayedTasks()
[all …]
DScheduledExecutorSubclassTest.java323 } catch (SecurityException ok) {} in testSchedule1_RejectedExecutionException()
339 } catch (SecurityException ok) {} in testSchedule2_RejectedExecutionException()
355 } catch (SecurityException ok) {} in testSchedule3_RejectedExecutionException()
371 } catch (SecurityException ok) {} in testScheduleAtFixedRate1_RejectedExecutionException()
387 } catch (SecurityException ok) {} in testScheduleWithFixedDelay1_RejectedExecutionException()
577 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
600 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
624 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
740 } catch (SecurityException ok) { in testShutdownNow()
770 } catch (SecurityException ok) { in testShutdownNow_delayedTasks()
[all …]
DThreadPoolExecutorTest.java447 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
478 try { p.shutdown(); } catch (SecurityException ok) { return; } in testAwaitTermination_timesOut()
505 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
533 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
673 } catch (SecurityException ok) { in testShutdownNow()
1224 try { p.shutdown(); } catch (SecurityException ok) { return; } in testRejectedExecutionExceptionOnShutdown()
1243 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCallerRunsOnShutdown()
1261 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOnShutdown()
1279 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOldestOnShutdown()
1410 try { p.shutdown(); } catch (SecurityException ok) { return; } in testTerminated()
[all …]
DCompletableFutureTest.java2178 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion()
2185 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion()
2222 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2229 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2236 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2243 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2286 } catch (CompletionException ok) { in testApplyToEither_sourceCancelled()
2293 } catch (CompletionException ok) { in testApplyToEither_sourceCancelled()
2329 } catch (CompletionException ok) { in testApplyToEither_sourceCancelled2()
2336 } catch (CompletionException ok) { in testApplyToEither_sourceCancelled2()
[all …]
DCyclicBarrierTest.java317 catch (BrokenBarrierException ok) {} in testReset_Leakage()
318 catch (InterruptedException ok) {} in testReset_Leakage()
DExecutorsTest.java324 } catch (SecurityException ok) { in testDefaultThreadFactory()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadTest.java93 } catch (SecurityException ok) { in testGetAndSetDefaultUncaughtExceptionHandler()
DJSR166TestCase.java1012 } catch (SecurityException ok) {
1688 } catch (InterruptedException ok) {}
1716 } catch (InterruptedException ok) {}
1724 } catch (InterruptedException ok) {}
1732 } catch (InterruptedException ok) {}
1757 } catch (InterruptedException ok) {}
1768 } catch (InterruptedException ok) {}
1778 } catch (InterruptedException ok) {}
1788 } catch (InterruptedException ok) {}
1798 } catch (InterruptedException ok) {}
[all …]
DScheduledExecutorTest.java289 } catch (SecurityException ok) {} in testSchedule1_RejectedExecutionException()
305 } catch (SecurityException ok) {} in testSchedule2_RejectedExecutionException()
321 } catch (SecurityException ok) {} in testSchedule3_RejectedExecutionException()
337 } catch (SecurityException ok) {} in testScheduleAtFixedRate1_RejectedExecutionException()
353 } catch (SecurityException ok) {} in testScheduleWithFixedDelay1_RejectedExecutionException()
547 } catch (SecurityException ok) {} in testIsShutdown()
569 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
593 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
710 } catch (SecurityException ok) { in testShutdownNow()
740 } catch (SecurityException ok) { in testShutdownNow_delayedTasks()
[all …]
DCyclicBarrierTest.java338 catch (BrokenBarrierException ok) {} in testReset_Leakage()
339 catch (InterruptedException ok) {} in testReset_Leakage()
DCollection8Test.java340 } catch (ArithmeticException ok) {
459 } catch (UnsupportedOperationException ok) { return; }
617 catch (UnsupportedOperationException ok) {
761 catch (UnsupportedOperationException ok) {
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java490 boolean ok = false; in verifySection()
511 ok = true; in verifySection()
523 ok = true; in verifySection()
527 if (!ok){ in verifySection()
/libcore/luni/src/test/java/libcore/java/lang/
DOldStringTest.java419 } catch (NullPointerException ok){} in test_format()
446 } catch (NullPointerException ok){} in test_format_Locale()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest2.java1776 boolean ok = true; in test_18_71_writeObject()
1781 ok = false; in test_18_71_writeObject()
1786 assertTrue(MSG_TEST_FAILED + objToSave, ok); in test_18_71_writeObject()
1821 boolean ok = true; in test_18_72_writeObject()
1826 ok = false; in test_18_72_writeObject()
1831 assertTrue(MSG_TEST_FAILED + objToSave, ok); in test_18_72_writeObject()
1867 boolean ok = true; in test_18_73_writeObject()
1872 ok = false; in test_18_73_writeObject()
1877 assertTrue(MSG_TEST_FAILED + objToSave, ok); in test_18_73_writeObject()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java3364 boolean ok = (targetType.parameterCount() >= afterInsertPos + foldArgs); in foldArgumentChecks()
3365 if (ok && !(combinerType.parameterList() in foldArgumentChecks()
3368 ok = false; in foldArgumentChecks()
3369 if (ok && foldVals != 0 && combinerType.returnType() != targetType.parameterType(0)) in foldArgumentChecks()
3370 ok = false; in foldArgumentChecks()
3371 if (!ok) in foldArgumentChecks()

12