You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kotlinx-coroutines-test/api/kotlinx-coroutines-test.api
+5-37
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,3 @@
1
-
public abstract interface class kotlinx/coroutines/test/DelayController {
2
-
public abstract fun advanceTimeBy (J)J
3
-
public abstract fun advanceUntilIdle ()J
4
-
public abstract fun cleanupTestCoroutines ()V
5
-
public abstract fun getCurrentTime ()J
6
-
public abstract fun pauseDispatcher ()V
7
-
public abstract fun pauseDispatcher (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
8
-
public abstract fun resumeDispatcher ()V
9
-
public abstract fun runCurrent ()V
10
-
}
11
-
12
1
public final class kotlinx/coroutines/test/TestBuildersKt {
13
2
public static final fun runBlockingTest (Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;)V
14
3
public static final fun runBlockingTest (Lkotlinx/coroutines/test/TestCoroutineDispatcher;Lkotlin/jvm/functions/Function2;)V
@@ -31,21 +20,17 @@ public final class kotlinx/coroutines/test/TestBuildersKt {
31
20
public static synthetic fun runTestWithLegacyScope$default (Lkotlin/coroutines/CoroutineContext;JLkotlin/jvm/functions/Function2;ILjava/lang/Object;)V
32
21
}
33
22
34
-
public final class kotlinx/coroutines/test/TestCoroutineDispatcher : kotlinx/coroutines/test/TestDispatcher, kotlinx/coroutines/Delay, kotlinx/coroutines/test/SchedulerAsDelayController {
23
+
public final class kotlinx/coroutines/test/TestCoroutineDispatcher : kotlinx/coroutines/test/TestDispatcher, kotlinx/coroutines/Delay {
35
24
public fun <init> ()V
36
25
public fun <init> (Lkotlinx/coroutines/test/TestCoroutineScheduler;)V
37
26
public synthetic fun <init> (Lkotlinx/coroutines/test/TestCoroutineScheduler;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
38
-
public fun advanceTimeBy (J)J
39
-
public fun advanceUntilIdle ()J
40
-
public fun cleanupTestCoroutines ()V
27
+
public final fun advanceUntilIdle ()J
28
+
public final fun cleanupTestCoroutines ()V
41
29
public fun dispatch (Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
42
30
public fun dispatchYield (Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
43
-
public fun getCurrentTime ()J
31
+
public final fun getCurrentTime ()J
44
32
public fun getScheduler ()Lkotlinx/coroutines/test/TestCoroutineScheduler;
45
-
public fun pauseDispatcher ()V
46
-
public fun pauseDispatcher (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
47
-
public fun resumeDispatcher ()V
48
-
public fun runCurrent ()V
33
+
public final fun runCurrent ()V
49
34
public fun toString ()Ljava/lang/String;
50
35
}
51
36
@@ -56,13 +41,6 @@ public final class kotlinx/coroutines/test/TestCoroutineDispatchersKt {
56
41
public static synthetic fun UnconfinedTestDispatcher$default (Lkotlinx/coroutines/test/TestCoroutineScheduler;Ljava/lang/String;ILjava/lang/Object;)Lkotlinx/coroutines/test/TestDispatcher;
57
42
}
58
43
59
-
public final class kotlinx/coroutines/test/TestCoroutineExceptionHandler : kotlin/coroutines/AbstractCoroutineContextElement, kotlinx/coroutines/CoroutineExceptionHandler, kotlinx/coroutines/test/UncaughtExceptionCaptor {
60
-
public fun <init> ()V
61
-
public fun cleanupTestCoroutines ()V
62
-
public fun getUncaughtExceptions ()Ljava/util/List;
63
-
public fun handleException (Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
64
-
}
65
-
66
44
public final class kotlinx/coroutines/test/TestCoroutineScheduler : kotlin/coroutines/AbstractCoroutineContextElement, kotlin/coroutines/CoroutineContext$Element {
67
45
public static final field Key Lkotlinx/coroutines/test/TestCoroutineScheduler$Key;
68
46
public fun <init> ()V
@@ -85,15 +63,10 @@ public abstract interface class kotlinx/coroutines/test/TestCoroutineScope : kot
85
63
public final class kotlinx/coroutines/test/TestCoroutineScopeKt {
86
64
public static final fun TestCoroutineScope (Lkotlin/coroutines/CoroutineContext;)Lkotlinx/coroutines/test/TestCoroutineScope;
87
65
public static synthetic fun TestCoroutineScope$default (Lkotlin/coroutines/CoroutineContext;ILjava/lang/Object;)Lkotlinx/coroutines/test/TestCoroutineScope;
88
-
public static final fun advanceTimeBy (Lkotlinx/coroutines/test/TestCoroutineScope;J)V
89
66
public static final fun advanceUntilIdle (Lkotlinx/coroutines/test/TestCoroutineScope;)V
90
67
public static final fun createTestCoroutineScope (Lkotlin/coroutines/CoroutineContext;)Lkotlinx/coroutines/test/TestCoroutineScope;
91
68
public static synthetic fun createTestCoroutineScope$default (Lkotlin/coroutines/CoroutineContext;ILjava/lang/Object;)Lkotlinx/coroutines/test/TestCoroutineScope;
92
69
public static final fun getCurrentTime (Lkotlinx/coroutines/test/TestCoroutineScope;)J
93
-
public static final fun getUncaughtExceptions (Lkotlinx/coroutines/test/TestCoroutineScope;)Ljava/util/List;
94
-
public static final fun pauseDispatcher (Lkotlinx/coroutines/test/TestCoroutineScope;)V
95
-
public static final fun pauseDispatcher (Lkotlinx/coroutines/test/TestCoroutineScope;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
96
-
public static final fun resumeDispatcher (Lkotlinx/coroutines/test/TestCoroutineScope;)V
97
70
public static final fun runCurrent (Lkotlinx/coroutines/test/TestCoroutineScope;)V
98
71
}
99
72
@@ -128,8 +101,3 @@ public final class kotlinx/coroutines/test/TestScopeKt {
128
101
public static final fun setCatchNonTestRelatedExceptions (Z)V
129
102
}
130
103
131
-
public abstract interface class kotlinx/coroutines/test/UncaughtExceptionCaptor {
132
-
public abstract fun cleanupTestCoroutines ()V
133
-
public abstract fun getUncaughtExceptions ()Ljava/util/List;
0 commit comments