Class

zio.test.mock.MockRandom

Mock

Related Doc: package MockRandom

Permalink

case class Mock(randomState: Ref[Data]) extends Service[Any] with Product with Serializable

Adapted from @gzmo work in Scala.js (https://github.com/scala-js/scala-js/pull/780)

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Mock
  2. Product
  3. Equals
  4. Service
  5. Service
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Mock(randomState: Ref[Data])

    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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Any
  10. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. val nextBoolean: UIO[Boolean]

    Permalink
    Definition Classes
    Mock → Service
  12. def nextBytes(length: Int): UIO[Chunk[Byte]]

    Permalink
    Definition Classes
    Mock → Service
  13. val nextDouble: UIO[Double]

    Permalink
    Definition Classes
    Mock → Service
  14. val nextFloat: UIO[Float]

    Permalink
    Definition Classes
    Mock → Service
  15. val nextGaussian: UIO[Double]

    Permalink
    Definition Classes
    Mock → Service
  16. def nextInt(n: Int): UIO[Int]

    Permalink
    Definition Classes
    Mock → Service
  17. val nextInt: UIO[Int]

    Permalink
    Definition Classes
    Mock → Service
  18. def nextLong(n: Long): UIO[Long]

    Permalink
    Definition Classes
    Mock → Service
  19. val nextLong: UIO[Long]

    Permalink
    Definition Classes
    Mock → Service
  20. val nextPrintableChar: UIO[Char]

    Permalink
    Definition Classes
    Mock → Service
  21. def nextString(length: Int): UIO[String]

    Permalink
    Definition Classes
    Mock → Service
  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. val randomState: Ref[Data]

    Permalink
  25. def setSeed(seed: Long): UIO[Unit]

    Permalink
    Definition Classes
    MockService
  26. def shuffle[A](list: List[A]): UIO[List[A]]

    Permalink
    Definition Classes
    Mock → Service
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. final def wait(): Unit

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

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

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

Inherited from Product

Inherited from Equals

Inherited from Service[Any]

Inherited from random.Random.Service[Any]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped