Package

zio.test

mock

Permalink

package mock

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. mock
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait MockClock extends Clock

    Permalink
  2. trait MockConsole extends Console

    Permalink
  3. 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

    Permalink
  4. trait MockRandom extends Random

    Permalink
  5. final case class MockScheduler(ref: Ref[Data], runtime: Runtime[Clock]) extends Service[Any] with Product with Serializable

    Permalink

    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.

  6. trait MockSystem extends System

    Permalink

Value Members

  1. object MockClock extends Serializable

    Permalink
  2. object MockConsole extends Serializable

    Permalink
  3. object MockEnvironment extends Serializable

    Permalink
  4. object MockRandom extends Serializable

    Permalink
  5. object MockScheduler extends Serializable

    Permalink
  6. object MockSystem extends Serializable

    Permalink
  7. val mockEnvironmentManaged: Managed[Nothing, MockEnvironment]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped