/external/python/cpython2/Lib/test/ |
D | test_with.py | 167 def shouldThrow(): function 172 self.assertRaises(RuntimeError, shouldThrow) 181 def shouldThrow(): function 184 self.assertRaises(RuntimeError, shouldThrow) 353 def shouldThrow(): function 358 self.assertRaises(RuntimeError, shouldThrow) 364 def shouldThrow(): function 369 self.assertRaises(ZeroDivisionError, shouldThrow) 375 def shouldThrow(): function 383 self.assertRaises(RuntimeError, shouldThrow) [all …]
|
/external/r8/src/test/examples/trycatch/ |
D | TryCatch.java | 15 private boolean shouldThrow; field in TryCatch.Thrower 17 public Thrower(boolean shouldThrow) { in Thrower() argument 18 this.shouldThrow = shouldThrow; in Thrower() 22 if (shouldThrow) { in maybeThrow()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
D | InvokeMethodDefault002Debuggee.java | 36 public default int testDefaultMethod(boolean shouldThrow) throws Throwable { in testDefaultMethod() argument 37 if (shouldThrow) { in testDefaultMethod() 50 public int testDefaultMethod(boolean shouldThrow) throws Throwable { in testDefaultMethod() argument 51 if (shouldThrow) { in testDefaultMethod()
|
D | InvokeMethodDefaultTest.java | 47 private void testInvokeMethod(boolean shouldThrow) { in testInvokeMethod() argument 128 Value throwValue = Value.createBoolean(shouldThrow); in testInvokeMethod() 141 ((shouldThrow) ? "with" : "without") + " exception"); in testInvokeMethod() 147 if (shouldThrow) { in testInvokeMethod()
|
D | InvokeMethodDefault002Test.java | 48 private void testInvokeMethod(boolean shouldThrow) { in testInvokeMethod() argument 128 Value throwValue = Value.createBoolean(shouldThrow); in testInvokeMethod() 141 ((shouldThrow) ? "with" : "without") + " exception"); in testInvokeMethod() 147 if (shouldThrow) { in testInvokeMethod()
|
D | InvokeMethodDefaultDebuggee.java | 36 public default int testDefaultMethod(boolean shouldThrow) throws Throwable { in testDefaultMethod() argument 37 if (shouldThrow) { in testDefaultMethod()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicDoubleArrayTest.java | 73 shouldThrow(); in testConstructor2NPE() 96 shouldThrow(); in testConstructorEmptyArray() 108 shouldThrow(); in testConstructorZeroLength() 120 shouldThrow(); in testIndexing() 124 shouldThrow(); in testIndexing() 128 shouldThrow(); in testIndexing() 132 shouldThrow(); in testIndexing() 136 shouldThrow(); in testIndexing() 140 shouldThrow(); in testIndexing() 144 shouldThrow(); in testIndexing()
|
D | JSR166TestCase.java | 576 shouldThrow(); in assertFutureTimesOut() 587 public void shouldThrow() { in shouldThrow() method in JSR166TestCase 594 public void shouldThrow(String exceptionName) { in shouldThrow() method in JSR166TestCase 1198 shouldThrow(); 1202 shouldThrow(); 1206 shouldThrow();
|
D | MoreExecutorsTest.java | 422 shouldThrow(); in testInvokeAnyImpl_nullTasks() 436 shouldThrow(); in testInvokeAnyImpl_emptyTasks() 457 shouldThrow(); in testInvokeAnyImpl_nullElement() 473 shouldThrow(); in testInvokeAnyImpl_noTaskCompletes()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/InterfaceType/ |
D | InvokeMethodTest.java | 44 private void testInvokeMethodStatic(boolean shouldThrow) { in testInvokeMethodStatic() argument 103 Value throwValue = Value.createBoolean(shouldThrow); in testInvokeMethodStatic() 115 ((shouldThrow) ? "with" : "without") + " exception."); in testInvokeMethodStatic() 121 if (shouldThrow) { in testInvokeMethodStatic()
|
/external/r8/src/test/examples/sync/ |
D | Sync.java | 22 private static boolean shouldThrow = false; field in Sync 32 if (shouldThrow) throw new RuntimeException(); in couldThrow() 115 shouldThrow = args.length > 100; in main()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CloseablesTest.java | 107 private void setupCloseable(boolean shouldThrow) throws IOException { in setupCloseable() argument 110 if (shouldThrow) { in setupCloseable()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 40 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/r8/src/test/java/com/android/tools/r8/ir/ |
D | SplitBlockTest.java | 139 TestApplication codeWithCatchHandlers(boolean shouldThrow, boolean twoGuards) { in codeWithCatchHandlers() argument 170 " const/4 v2, " + (shouldThrow ? "0" : "1"), in codeWithCatchHandlers()
|
/external/mockito/src/test/java/org/mockitousage/annotation/ |
D | SpyAnnotationTest.java | 44 public final ExpectedException shouldThrow = ExpectedException.none(); field in SpyAnnotationTest
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTestCase.groovy | 56 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTestCase.groovy | 56 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTestCase.groovy | 55 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|