@@ -17,14 +17,14 @@ class DebugProbesTest : DebugTestBase() {
17
17
val deferred = createDeferred()
18
18
val traces = listOf (
19
19
" java.util.concurrent.ExecutionException\n " +
20
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt:14)\n " +
21
- " \t at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt)\n " +
22
- " \t at kotlinx.coroutines.debug.DebugProbesTest.oneMoreNestedMethod(DebugProbesTest.kt:49)\n " +
23
- " \t at kotlinx.coroutines.debug.DebugProbesTest.nestedMethod(DebugProbesTest.kt:44)\n " +
24
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ testAsync\$ 1.invokeSuspend(DebugProbesTest.kt:17)\n " ,
20
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt:14)\n " +
21
+ " \t at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt)\n " +
22
+ " \t at kotlinx.coroutines.debug.DebugProbesTest.oneMoreNestedMethod(DebugProbesTest.kt:49)\n " +
23
+ " \t at kotlinx.coroutines.debug.DebugProbesTest.nestedMethod(DebugProbesTest.kt:44)\n " +
24
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ testAsync\$ 1.invokeSuspend(DebugProbesTest.kt:17)\n " ,
25
25
" Caused by: java.util.concurrent.ExecutionException\n " +
26
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt:14)\n " +
27
- " \t at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)"
26
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt:14)\n " +
27
+ " \t at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)"
28
28
)
29
29
nestedMethod(deferred, traces)
30
30
deferred.join()
@@ -37,25 +37,15 @@ class DebugProbesTest : DebugTestBase() {
37
37
val deferred = createDeferred()
38
38
val traces = listOf (
39
39
" java.util.concurrent.ExecutionException\n " +
40
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt)\n " +
41
- " \t at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt)\n " +
42
- " \t at kotlinx.coroutines.debug.DebugProbesTest.oneMoreNestedMethod(DebugProbesTest.kt)\n " +
43
- " \t at kotlinx.coroutines.debug.DebugProbesTest.nestedMethod(DebugProbesTest.kt)\n " +
44
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ testAsyncWithProbes\$ 1\$ 1.invokeSuspend(DebugProbesTest.kt:62)\n " +
45
- " \t at _COROUTINE._CREATION._(CoroutineDebugging.kt)\n " +
46
- " \t at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt.createCoroutineUnintercepted(IntrinsicsJvm.kt)\n " +
47
- " \t at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt)\n " +
48
- " \t at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable\$ default(Cancellable.kt)\n " +
49
- " \t at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt)\n " +
50
- " \t at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt)\n " +
51
- " \t at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt)\n " +
52
- " \t at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)\n " +
53
- " \t at kotlinx.coroutines.TestBase.runTest(TestBase.kt)\n " +
54
- " \t at kotlinx.coroutines.TestBase.runTest\$ default(TestBase.kt)\n " +
55
- " \t at kotlinx.coroutines.debug.DebugProbesTest.testAsyncWithProbes(DebugProbesTest.kt)" ,
40
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt)\n " +
41
+ " \t at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt)\n " +
42
+ " \t at kotlinx.coroutines.debug.DebugProbesTest.oneMoreNestedMethod(DebugProbesTest.kt)\n " +
43
+ " \t at kotlinx.coroutines.debug.DebugProbesTest.nestedMethod(DebugProbesTest.kt)\n " +
44
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ testAsyncWithProbes\$ 1\$ 1.invokeSuspend(DebugProbesTest.kt:62)" ,
56
45
" Caused by: java.util.concurrent.ExecutionException\n " +
57
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt)\n " +
58
- " \t at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt)\n " )
46
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt)\n " +
47
+ " \t at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt)\n "
48
+ )
59
49
nestedMethod(deferred, traces)
60
50
deferred.join()
61
51
}
@@ -68,18 +58,15 @@ class DebugProbesTest : DebugTestBase() {
68
58
val deferred = createDeferred()
69
59
val traces = listOf (
70
60
" java.util.concurrent.ExecutionException\n " +
71
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt:16)\n " +
72
- " \t at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt)\n " +
73
- " \t at kotlinx.coroutines.debug.DebugProbesTest.oneMoreNestedMethod(DebugProbesTest.kt:71)\n " +
74
- " \t at kotlinx.coroutines.debug.DebugProbesTest.nestedMethod(DebugProbesTest.kt:66)\n " +
75
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ testAsyncWithSanitizedProbes\$ 1\$ 1.invokeSuspend(DebugProbesTest.kt:87)\n " +
76
- " \t at _COROUTINE._CREATION._(CoroutineDebugging.kt)\n " +
77
- " \t at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt.createCoroutineUnintercepted(IntrinsicsJvm.kt:116)\n " +
78
- " \t at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:23)\n " +
79
- " \t at kotlinx.coroutines.debug.DebugProbesTest.testAsyncWithSanitizedProbes(DebugProbesTest.kt:38)" ,
61
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt:16)\n " +
62
+ " \t at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt)\n " +
63
+ " \t at kotlinx.coroutines.debug.DebugProbesTest.oneMoreNestedMethod(DebugProbesTest.kt:71)\n " +
64
+ " \t at kotlinx.coroutines.debug.DebugProbesTest.nestedMethod(DebugProbesTest.kt:66)\n " +
65
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ testAsyncWithSanitizedProbes\$ 1\$ 1.invokeSuspend(DebugProbesTest.kt:87)" ,
80
66
" Caused by: java.util.concurrent.ExecutionException\n " +
81
- " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt:16)\n " +
82
- " \t at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)\n " )
67
+ " \t at kotlinx.coroutines.debug.DebugProbesTest\$ createDeferred\$ 1.invokeSuspend(DebugProbesTest.kt:16)\n " +
68
+ " \t at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)\n "
69
+ )
83
70
nestedMethod(deferred, traces)
84
71
deferred.join()
85
72
}
0 commit comments