//reactivestate-core-test/com.ensody.reactivestate.test
Package-level declarations¶
Types¶
Name | Summary |
---|---|
CoroutineTest | [common] open class CoroutineTest(testDispatcherBuilder: (TestCoroutineScheduler) -> TestDispatcher = { StandardTestDispatcher(it) }) : CoroutineTestRule, AttachedDisposables Base class for unit testing coroutine based code. |
CoroutineTestRule | [common] open class CoroutineTestRule(testDispatcherBuilder: (TestCoroutineScheduler) -> TestDispatcher = { StandardTestDispatcher(it) }) Helper class for unit Tests that sets up dispatchers with a TestDispatcherConfig on every test run. |
EventNotifierTest | [common] abstract class EventNotifierTest<E> : CoroutineTest Base class for unit testing an EventNotifier. |
ReactiveStateTest | [common] abstract class ReactiveStateTest<E : ErrorEvents> : EventNotifierTest<E> Base class for unit testing an EventNotifier. |
TestDispatcherConfig | [common] class TestDispatcherConfig(val dispatcher: TestDispatcher) : CoroutineDispatcherConfig A CoroutineDispatcherConfig for unit tests - dispatching everything to the given dispatcher. |