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