/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/ |
D | StackTraceRecoveryCustomExceptionsTest.kt | 82 val ex = result.exceptionOrNull() ?: error("Expected to fail") in <lambda>() 94 val ex = result.exceptionOrNull() ?: error("Expected to fail") in <lambda>() 117 }.exceptionOrNull() ?: error("Expected to fail") in <lambda>() 140 val ex = result.exceptionOrNull() ?: error("Expected to fail") in <lambda>() 160 assertSame(e, result.exceptionOrNull()) in <lambda>()
|
D | StackTraceRecoverySelectTest.kt | 20 verifyStackTrace("select/${name.methodName}", result.exceptionOrNull()!!) in testSelectJoin() 40 verifyStackTrace("select/${name.methodName}", result.exceptionOrNull()!!) in <lambda>() 57 verifyStackTrace("select/${name.methodName}", result.exceptionOrNull()!!) in <lambda>()
|
D | StackTraceRecoveryTest.kt | 216 exception = it.exceptionOrNull() in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/ |
D | Channel.kt | 349 throw recoverStackTrace(result.exceptionOrNull() ?: return false) in send() 743 throw recoverStackTrace(result.exceptionOrNull() ?: return null) in receive() 942 public fun exceptionOrNull(): Throwable? = (holder as? Closed)?.cause in receiveOrNull() method 996 return if (holder is ChannelResult.Failed) onFailure(exceptionOrNull()) else holder as T in getOrElse() 1028 if (holder is ChannelResult.Failed) action(exceptionOrNull()) in onFailure() 1049 if (holder is ChannelResult.Closed) action(exceptionOrNull()) in onClosed()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/ |
D | ChannelReceiveCatchingTest.kt | 23 assertIs<TestException2>(closed.exceptionOrNull()) in <lambda>() 66 assertNull(closed2.exceptionOrNull()) in <lambda>() 124 assertIs<TestException1>(closeCauseResult.getOrThrow().exceptionOrNull()) in <lambda>() 129 assertIs<TestException2>(closeCause.exceptionOrNull()) in <lambda>()
|
D | BasicOperationsTest.kt | 148 assertNull(closed.exceptionOrNull()) in <lambda>() 149 assertTrue(ChannelResult.closed<Int>(closed.exceptionOrNull()) == closed) in <lambda>()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | EventMod.java | 80 public long exceptionOrNull; field in EventMod 114 exceptionOrNull = -1; in EventMod()
|
D | EventBuilder.java | 128 mod.exceptionOrNull = exceptionClassID; in setExceptionOnly()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/ |
D | SelectBufferedChannelTest.kt | 297 assertNull(it.exceptionOrNull()) in <lambda>() 318 assertIs<TestException>(it.exceptionOrNull()) in <lambda>() 393 assertNull(it.exceptionOrNull()) in <lambda>()
|
D | SelectRendezvousChannelTest.kt | 319 assertNull(it.exceptionOrNull()) in <lambda>() 340 assertIs<TestException>(it.exceptionOrNull()) in <lambda>() 356 assertNull(it.exceptionOrNull()) in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/src/channels/ |
D | Channels.kt | 41 else ChannelResult.closed(r.exceptionOrNull()) in trySendBlocking()
|
/external/kotlinx.serialization/formats/cbor/jvmTest/src/kotlinx/serialization/cbor/ |
D | CborStacktraceRecoveryTest.kt | 23 val e = result.exceptionOrNull()!! in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/internal/ |
D | TestMainDispatcherJvm.kt | 23 }.exceptionOrNull()) // can not be null, but it does not matter. in createDispatcher()
|
/external/kotlinx.serialization/formats/json-tests/jvmTest/src/kotlinx/serialization/ |
D | StacktraceRecoveryTest.kt | 46 val e = result.exceptionOrNull()!! in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | JobTest.kt | 106 assertIs<CompletionHandlerException>(cancelResult.exceptionOrNull()) in <lambda>() 107 assertIs<TestException>(cancelResult.exceptionOrNull()!!.cause) in <lambda>()
|
D | JobExtensionsTest.kt | 78 val exception = result.exceptionOrNull() ?: fail() in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/ |
D | FlowInvariantsTest.kt | 17 val r1 = runCatching { testBody { flow(it) } }.exceptionOrNull() in <lambda>() 21 val r2 = runCatching { testBody { abstractFlow(it) } }.exceptionOrNull() in <lambda>()
|
/external/kotlinx.serialization/formats/json-tests/jsTest/src/kotlinx/serialization/json/ |
D | DynamicToLongTest.kt | 25 parsed.onFailure { assertSame(expectedResult.exceptionOrNull()!!::class, it::class) } in test()
|
/external/kotlinx.coroutines/integration-testing/src/mavenTest/kotlin/ |
D | MavenPublicationAtomicfuValidator.kt | 18 assertTrue(result.exceptionOrNull() is ClassNotFoundException) in testNoAtomicfuInClasspath()
|
/external/ksp/test-utils/src/main/kotlin/com/google/devtools/ksp/processor/ |
D | AsMemberOfProcessor.kt | 153 result.exceptionOrNull()!!.toSignature() in <lambda>() 171 result.exceptionOrNull()!!.toSignature() in <lambda>()
|
/external/android_onboarding/java/com/android/onboarding/testing/ |
D | ErrorSubject.kt | 32 val error = runCatching(actual).exceptionOrNull() in failsWith()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/ |
D | ObservableExceptionHandlingTest.kt | 87 val exception = result.exceptionOrNull() in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/ |
D | ObservableExceptionHandlingTest.kt | 87 val exception = result.exceptionOrNull() in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/test/ |
D | TestScopeTest.kt | 519 when (val exception = it.exceptionOrNull()) { in <lambda>() 545 assertEquals(thrown, it.exceptionOrNull()) in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/ |
D | ActorTest.kt | 73 assertNull(next.exceptionOrNull()) in <lambda>()
|