package mock
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- mock
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- trait MockClock extends Clock
- trait MockConsole extends Console
- case class MockEnvironment(clock: Mock, console: Mock, random: Mock, scheduler: MockScheduler, system: Mock, blocking: Service[Any]) extends Blocking with MockClock with MockConsole with MockRandom with Scheduler with MockSystem with Product with Serializable
- trait MockRandom extends Random
-
final
case class
MockScheduler(ref: Ref[Data], runtime: Runtime[Clock]) extends Service[Any] with Product with Serializable
Implementation of Scheduler.Service for testing.
Implementation of Scheduler.Service for testing. The passed Ref[TestClock.Data] will be used to determine when to run the scheduled runnables. Make sure to call shutdown() to force execution of all remaining tasks.
- trait MockSystem extends System
Value Members
- val mockEnvironmentManaged: Managed[Nothing, MockEnvironment]
- object MockClock extends Serializable
- object MockConsole extends Serializable
- object MockEnvironment extends Serializable
- object MockRandom extends Serializable
- object MockScheduler extends Serializable
- object MockSystem extends Serializable