Class/Object

zio.test.environment

TestEnvironment

Related Docs: object TestEnvironment | package environment

Permalink

case class TestEnvironment(blocking: Service[Any], clock: Test, console: Test, live: Service[zio.ZEnv], random: Test, sized: Service[Any], system: Test) extends Blocking with Live[zio.ZEnv] with TestClock with TestConsole with TestRandom with TestSystem with Scheduler with Sized with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestEnvironment
  2. Product
  3. Equals
  4. Sized
  5. TestSystem
  6. System
  7. TestRandom
  8. Random
  9. TestConsole
  10. Console
  11. TestClock
  12. Scheduler
  13. Clock
  14. Live
  15. Blocking
  16. Serializable
  17. Serializable
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TestEnvironment(blocking: Service[Any], clock: Test, console: Test, live: Service[zio.ZEnv], random: Test, sized: Service[Any], system: Test)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val blocking: Service[Any]

    Permalink
    Definition Classes
    TestEnvironment → Blocking
  6. val clock: Test

    Permalink
    Definition Classes
    TestEnvironmentTestClock → Clock
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val console: Test

    Permalink
    Definition Classes
    TestEnvironmentTestConsole → Console
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val live: Service[zio.ZEnv]

    Permalink
    Definition Classes
    TestEnvironmentLive
  14. final def mapAll(mapTestClock: (Test) ⇒ Test = identity, mapTestConsole: (Test) ⇒ Test = identity, mapTestRandom: (Test) ⇒ Test = identity, mapTestSystem: (Test) ⇒ Test = identity): TestEnvironment

    Permalink

    Maps all test implementations in the test environment individually.

  15. final def mapTestClock(f: (Test) ⇒ Test): TestEnvironment

    Permalink

    Maps the TestClock implementation in the test environment, leaving all other test implementations the same.

  16. final def mapTestConsole(f: (Test) ⇒ Test): TestEnvironment

    Permalink

    Maps the TestConsole implementation in the test environment, leaving all other test implementations the same.

  17. final def mapTestRandom(f: (Test) ⇒ Test): TestEnvironment

    Permalink

    Maps the TestRandom implementation in the test environment, leaving all other test implementations the same.

  18. final def mapTestSystem(f: (Test) ⇒ Test): TestEnvironment

    Permalink

    Maps the TestSystem implementation in the test environment, leaving all other test implementations the same.

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val random: Test

    Permalink
    Definition Classes
    TestEnvironmentTestRandom → Random
  23. val scheduler: Test

    Permalink
    Definition Classes
    TestEnvironmentTestClock → Scheduler
  24. val sized: Service[Any]

    Permalink
    Definition Classes
    TestEnvironmentSized
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. val system: Test

    Permalink
    Definition Classes
    TestEnvironmentTestSystem → System
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Sized

Inherited from TestSystem

Inherited from System

Inherited from TestRandom

Inherited from Random

Inherited from TestConsole

Inherited from Console

Inherited from TestClock

Inherited from Scheduler

Inherited from Clock

Inherited from Live[zio.ZEnv]

Inherited from Blocking

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped