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.test.environment.Live
    import zio.clock.nanoTime
    import Assertion.isGreaterThan
    
    object MyTest extends DefaultRunnableSpec {
      def spec = suite("clock")(
        testM("time is non-zero") {
          assertM(Live.live(nanoTime))(isGreaterThan(0))
        }
      )
    }
    Definition Classes
    zio
  • package mock
    Definition Classes
    test
  • object Capability
    Definition Classes
    mock
  • Base
  • Poly
  • Unknown

object Poly

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

Type Members

  1. abstract class Error[R <: Has[_], I, A, E1] extends Poly[R, I, Unknown, A]

    Represents capability of environment R polymorphic in its error type.

    Represents capability of environment R polymorphic in its error type.

    Attributes
    protected[mock]
  2. abstract class ErrorOutput[R <: Has[_], I, E1, A1] extends Poly[R, I, Unknown, Unknown]

    Represents capability of environment R polymorphic in its error and output types.

    Represents capability of environment R polymorphic in its error and output types.

    Attributes
    protected[mock]
  3. abstract class Input[R <: Has[_], E, A] extends Poly[R, Unknown, E, A]

    Represents capability of environment R polymorphic in its input type.

    Represents capability of environment R polymorphic in its input type.

    Attributes
    protected[mock]
  4. abstract class InputError[R <: Has[_], A, E1] extends Poly[R, Unknown, Unknown, A]

    Represents capability of environment R polymorphic in its input and error types.

    Represents capability of environment R polymorphic in its input and error types.

    Attributes
    protected[mock]
  5. abstract class InputErrorOutput[R <: Has[_], E1, A1] extends Poly[R, Unknown, Unknown, Unknown]

    Represents capability of environment R polymorphic in its input, error and output types.

    Represents capability of environment R polymorphic in its input, error and output types.

    Attributes
    protected[mock]
  6. abstract class InputOutput[R <: Has[_], E, A1] extends Poly[R, Unknown, E, Unknown]

    Represents capability of environment R polymorphic in its input and output types.

    Represents capability of environment R polymorphic in its input and output types.

    Attributes
    protected[mock]
  7. abstract class Output[R <: Has[_], I, E, A1] extends Poly[R, I, E, Unknown]

    Represents capability of environment R polymorphic in its output type.

    Represents capability of environment R polymorphic in its output type.

    Attributes
    protected[mock]

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( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): 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[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped