@@ -31,6 +31,7 @@ class StackTraceRecoveryTest : TestBase() {
31
31
val deferred = createDeferred(3 )
32
32
val traces = listOf (
33
33
" java.util.concurrent.ExecutionException\n " +
34
+ " \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$ testAsync\$ 1\$ 1\$ 1.invokeSuspend(StackTraceRecoveryTest.kt:99)\n " +
34
35
" \t (Current coroutine stacktrace)\n " +
35
36
" \t at kotlinx.coroutines.DeferredCoroutine.await\$ suspendImpl(Builders.common.kt:99)\n " +
36
37
" \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest.oneMoreNestedMethod(StackTraceRecoveryTest.kt:49)\n " +
@@ -53,6 +54,7 @@ class StackTraceRecoveryTest : TestBase() {
53
54
deferred.join()
54
55
val stacktrace = listOf (
55
56
" java.util.concurrent.ExecutionException\n " +
57
+ " \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$ testCompletedAsync\$ 1\$ deferred\$ 1.invokeSuspend(StackTraceRecoveryTest.kt:44)\n " +
56
58
" \t (Current coroutine stacktrace)\n " +
57
59
" \t at kotlinx.coroutines.DeferredCoroutine.await\$ suspendImpl(Builders.common.kt:99)\n " +
58
60
" \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest.oneMoreNestedMethod(StackTraceRecoveryTest.kt:81)\n " +
@@ -91,6 +93,7 @@ class StackTraceRecoveryTest : TestBase() {
91
93
channelNestedMethod(
92
94
channel, listOf (
93
95
" java.lang.IllegalArgumentException\n " +
96
+ " \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$ testReceiveFromChannel\$ 1\$ job\$ 1.invokeSuspend(StackTraceRecoveryTest.kt:93)\n " +
94
97
" \t (Current coroutine stacktrace)\n " +
95
98
" \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest.channelNestedMethod(StackTraceRecoveryTest.kt:110)\n " +
96
99
" \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$ testReceiveFromChannel\$ 1.invokeSuspend(StackTraceRecoveryTest.kt:89)" ,
@@ -141,6 +144,7 @@ class StackTraceRecoveryTest : TestBase() {
141
144
142
145
outerMethod(deferred, listOf (
143
146
" kotlinx.coroutines.RecoverableTestException\n " +
147
+ " \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$ testWithContext\$ 1\$ deferred\$ 1.invokeSuspend(StackTraceRecoveryTest.kt:143)\n " +
144
148
" \t (Current coroutine stacktrace)\n " +
145
149
" \t at kotlinx.coroutines.DeferredCoroutine.await\$ suspendImpl(Builders.common.kt:99)\n " +
146
150
" \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest.innerMethod(StackTraceRecoveryTest.kt:158)\n " +
@@ -177,6 +181,7 @@ class StackTraceRecoveryTest : TestBase() {
177
181
178
182
outerScopedMethod(deferred, listOf (
179
183
" kotlinx.coroutines.RecoverableTestException\n " +
184
+ " \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest\$ testCoroutineScope\$ 1\$ deferred\$ 1.invokeSuspend(StackTraceRecoveryTest.kt:143)\n " +
180
185
" \t (Current coroutine stacktrace)\n " +
181
186
" \t at kotlinx.coroutines.DeferredCoroutine.await\$ suspendImpl(Builders.common.kt:99)\n " +
182
187
" \t at kotlinx.coroutines.exceptions.StackTraceRecoveryTest.innerMethod(StackTraceRecoveryTest.kt:158)\n " +
0 commit comments