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
This commit is contained in:
Harsh Shandilya 2021-12-09 10:07:54 +05:30 committed by GitHub
parent 933558caf8
commit 8db0b67ce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 173 additions and 13 deletions

View file

@ -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;
}