aboutsummaryrefslogtreecommitdiffstats
path: root/coroutine-utils-testing/api
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-12-09 10:07:54 +0530
committerGitHub <noreply@github.com>2021-12-09 04:37:54 +0000
commit8db0b67ce9ba4a5e56c04c1bea3a738eacb176cf (patch)
tree46700b7a3da32065e073bffbf22765c7e2f30d32 /coroutine-utils-testing/api
parent933558caf8266677dc26497d7c7b930254f4fb07 (diff)
downloadHardenedPass-8db0b67ce9ba4a5e56c04c1bea3a738eacb176cf.tar.gz
HardenedPass-8db0b67ce9ba4a5e56c04c1bea3a738eacb176cf.zip
Refactor coroutine testing setup (#1583)
* coroutine-utils: init * coroutine-utils-testing: init * format-common: switch over to using DispatcherProvider * Convert Binds method to an extension function * Add Dispatcher module
Diffstat (limited to 'coroutine-utils-testing/api')
-rw-r--r--coroutine-utils-testing/api/coroutine-utils-testing.api8
1 files changed, 8 insertions, 0 deletions
diff --git a/coroutine-utils-testing/api/coroutine-utils-testing.api b/coroutine-utils-testing/api/coroutine-utils-testing.api
new file mode 100644
index 00000000..a90e209f
--- /dev/null
+++ b/coroutine-utils-testing/api/coroutine-utils-testing.api
@@ -0,0 +1,8 @@
+public final class dev/msfjarvis/aps/test/CoroutineTestRule : org/junit/rules/TestWatcher {
+ public fun <init> ()V
+ public fun <init> (Lkotlinx/coroutines/test/TestDispatcher;)V
+ public synthetic fun <init> (Lkotlinx/coroutines/test/TestDispatcher;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun getTestDispatcher ()Lkotlinx/coroutines/test/TestDispatcher;
+ public final fun getTestDispatcherProvider ()Ldev/msfjarvis/aps/util/coroutines/DispatcherProvider;
+}
+