Packages

  • package root
    Definition Classes
    root
  • package zio
    Definition Classes
    root
  • package test

    _ZIO Test_ is a featherweight testing library for effectful programs.

    _ZIO Test_ is a featherweight testing library for effectful programs.

    The library imagines every spec as an ordinary immutable value, providing tremendous potential for composition. Thanks to tight integration with ZIO, specs can use resources (including those requiring disposal), have well- defined linear and parallel semantics, and can benefit from a host of ZIO combinators.

    import zio.test._
    import zio.clock.nanoTime
    import Assertion.isGreaterThan
    
    object MyTest extends DefaultRunnableSpec {
      def spec = suite("clock")(
        testM("time is non-zero") {
          assertM(nanoTime)(isGreaterThan(0))
        }
      )
    }
    Definition Classes
    zio
  • package mock
    Definition Classes
    test
  • object Capability
    Definition Classes
    mock
  • object Poly
    Definition Classes
    Capability
  • Error
  • ErrorOutput
  • Input
  • InputError
  • InputErrorOutput
  • InputOutput
  • Output

abstract class Output[R <: Has[_], I, E, A1] extends Poly[R, I, E, Unknown]

Represents capability of environment R polymorphic in its output type.

Attributes
protected[mock]
Self Type
Output[R, I, E, A1]
Linear Supertypes
Poly[R, I, E, Unknown], Base[R], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Output
  2. Poly
  3. Base
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Output(mock: Mock[R])(implicit arg0: zio.Tag[R], arg1: zio.Tag[I], arg2: zio.Tag[E])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. val id: UUID
    Definition Classes
    Base
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val mock: Mock[R]
    Definition Classes
    OutputBase
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def of[A <: A1](returns: Result[I, E, A])(implicit arg0: zio.Tag[A], ev: <:<[I, Unit]): Expectation[R]
    Annotations
    @silent("is never used")
  18. def of[A <: A1](assertion: Assertion[I], result: Result[I, E, A])(implicit arg0: zio.Tag[A], ev: =!=[I, Unit]): Expectation[R]
    Annotations
    @silent("is never used")
  19. def of[A <: A1](assertion: Assertion[I])(implicit arg0: zio.Tag[A], ev1: =!=[I, Unit], ev2: <:<[A, Unit]): Expectation[R]
    Annotations
    @silent("is never used")
  20. def of[A <: A1](implicit arg0: zio.Tag[A]): Capability[R, I, E, A]
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. val toString: String

    Render method fully qualified name.

    Render method fully qualified name.

    Definition Classes
    Base → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Poly[R, I, E, Unknown]

Inherited from Base[R]

Inherited from AnyRef

Inherited from Any

Ungrouped