/external/robolectric/sandbox/src/test/java/org/robolectric/internal/bytecode/ |
D | NativeCallHandlerTest.java | 35 assertThat(handler.shouldThrow("org.example.MyClass#someOtherMethod()V")).isFalse(); in jarInstrumentorLegacyUsage() 36 assertThat(handler.shouldThrow("org.example.MyClass#someOtherMethod(II)V")).isFalse(); in jarInstrumentorLegacyUsage() 66 assertThat(handler.shouldThrow("org.example.MyClass#someOtherMethod()V")).isFalse(); in jarInstrumentorUsage_throwOnNativesEnabled() 69 assertThat(handler.shouldThrow("org.example.MyClass#someOtherMethod(II)V")).isTrue(); in jarInstrumentorUsage_throwOnNativesEnabled() 72 assertThat(handler.shouldThrow("")).isTrue(); in jarInstrumentorUsage_throwOnNativesEnabled() 73 assertThat(handler.shouldThrow(" \t ")).isTrue(); in jarInstrumentorUsage_throwOnNativesEnabled() 74 assertThat(handler.shouldThrow("# org.example.Ignored#comment()V")).isTrue(); in jarInstrumentorUsage_throwOnNativesEnabled() 75 assertThat(handler.shouldThrow(" # org.example.Ignored#thisIsACommentToo()V ")).isTrue(); in jarInstrumentorUsage_throwOnNativesEnabled() 99 assertThat(handler.shouldThrow("org.example.MyClass#someOtherMethod()V")).isFalse(); in jarInstrumentorUsage_throwOnNativesDisabled() 102 assertThat(handler.shouldThrow("org.example.MyClass#someOtherMethod(II)V")).isFalse(); in jarInstrumentorUsage_throwOnNativesDisabled() [all …]
|
/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/python/cpython3/Lib/test/ |
D | test_with.py | 170 def shouldThrow(): function 175 self.assertRaises(RuntimeError, shouldThrow) 184 def shouldThrow(): function 187 self.assertRaises(RuntimeError, shouldThrow) 358 def shouldThrow(): function 363 self.assertRaises(RuntimeError, shouldThrow) 369 def shouldThrow(): function 374 self.assertRaises(ZeroDivisionError, shouldThrow) 380 def shouldThrow(): function 388 self.assertRaises(RuntimeError, shouldThrow) [all …]
|
/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 | 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 | 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 | InvokeMethodDefaultDebuggee.java | 36 public default int testDefaultMethod(boolean shouldThrow) throws Throwable { in testDefaultMethod() argument 37 if (shouldThrow) { in testDefaultMethod()
|
/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/guava/guava-tests/test/com/google/common/io/ |
D | CloseablesTest.java | 93 private void setupCloseable(boolean shouldThrow) throws IOException { in setupCloseable() argument 95 if (shouldThrow) { in setupCloseable()
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | CloseablesTest.java | 93 private void setupCloseable(boolean shouldThrow) throws IOException { in setupCloseable() argument 95 if (shouldThrow) { in setupCloseable()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBluetoothDevice.java | 129 public void setThrowOnGetAliasName(boolean shouldThrow) { in setThrowOnGetAliasName() argument 130 shouldThrowOnGetAliasName = shouldThrow; in setThrowOnGetAliasName() 142 public void setShouldThrowSecurityExceptions(boolean shouldThrow) { in setShouldThrowSecurityExceptions() argument 143 shouldThrowSecurityExceptions = shouldThrow; in setShouldThrowSecurityExceptions()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/intrinsics/ |
D | Undispatched.kt | 94 shouldThrow: (Throwable) -> Boolean, in undispatchedResult() 119 shouldThrow(state.cause) -> throw recoverStackTrace(state.cause, uCont) in undispatchedResult()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | JSR166TestCase.java | 509 shouldThrow(); in assertFutureTimesOut() 520 public void shouldThrow() { in shouldThrow() method in JSR166TestCase 525 public void shouldThrow(String exceptionName) { in shouldThrow() method in JSR166TestCase 1144 shouldThrow(); 1149 shouldThrow(); 1154 shouldThrow();
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | JSR166TestCase.java | 512 shouldThrow(); in assertFutureTimesOut() 523 public void shouldThrow() { in shouldThrow() method in JSR166TestCase 528 public void shouldThrow(String exceptionName) { in shouldThrow() method in JSR166TestCase 1185 shouldThrow(); 1190 shouldThrow(); 1195 shouldThrow();
|
/external/catch2/include/internal/ |
D | catch_assertionhandler.h | 41 bool shouldThrow = false; member
|
D | catch_assertionhandler.cpp | 85 if (m_reaction.shouldThrow) { in complete()
|
/external/robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | NativeCallHandler.java | 95 public boolean shouldThrow(@Nonnull String descriptor) { in shouldThrow() method in NativeCallHandler
|
/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/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-rc1/MockFtpServer/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.1/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|
/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/src/test/groovy/org/mockftpserver/test/ |
D | AbstractGroovyTest.groovy | 41 protected Throwable shouldThrow(Class expectedExceptionClass, Closure code) {
|