zio.mock

package zio.mock

Members list

Packages

Type members

Classlikes

case object BuildInfo

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
BuildInfo.type
object Capability

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Capability.type
sealed abstract class Expectation[R]

An Expectation[R] is an immutable tree structure that represents expectations on environment R.

An Expectation[R] is an immutable tree structure that represents expectations on environment R.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
object Expectation

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class Mock[R]

A Mock[R] represents a mockable environment R.

A Mock[R] represents a mockable environment R.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MockClock.type
object MockConsole.type
object MockRandom.type
object MockSystem.type
Self type
Mock[R]
object Mock

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Mock.type
object MockClock extends Mock[Clock]

Attributes

Supertypes
class Mock[Clock]
class Object
trait Matchable
class Any
Self type
MockClock.type
object MockConsole extends Mock[Console]

Attributes

Supertypes
class Mock[Console]
class Object
trait Matchable
class Any
Self type
object MockRandom extends Mock[Random]

Attributes

Supertypes
class Mock[Random]
class Object
trait Matchable
class Any
Self type
MockRandom.type
object MockReporter

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
abstract class MockSpecDefault extends ZIOSpecDefault

Attributes

Supertypes
trait ZIOApp
class Object
trait Matchable
class Any
Show all
object MockSystem extends Mock[System]

Attributes

Supertypes
class Mock[System]
class Object
trait Matchable
class Any
Self type
MockSystem.type
abstract class Proxy

A Proxy provides the machinery to map mocked invocations to predefined results and check some constraints on the way.

A Proxy provides the machinery to map mocked invocations to predefined results and check some constraints on the way.

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed abstract class Result[-I, +E, +A]

A Result[-I, +E, +A] represents the value or failure that will be returned by mock expectation when invoked.

A Result[-I, +E, +A] represents the value or failure that will be returned by mock expectation when invoked.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Result

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Result.type

Inherited types

type BuildFrom[-From, -A, +C] = BuildFrom[From, A, C]

Attributes

Inherited from:
BuildFromCompat (hidden)