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
    
    object MyTest extends ZIOSpecDefault {
      def spec = suite("clock")(
        test("time is non-zero") {
          for {
            time <- Live.live(nanoTime)
          } yield assertTrue(time >= 0L)
        }
      )
    }
    Definition Classes
    zio
  • package magnolia
    Definition Classes
    test
  • DeriveDiff
  • DeriveGen
  • LowPri

object DeriveGen

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

Type Members

  1. type Typeclass[T] = DeriveGen[T]

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. def apply[A](implicit ev: DeriveGen[A]): Gen[Any, A]

    Derives a generator of A values given an implicit DeriveGen instance.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. implicit macro def gen[T]: Typeclass[T]
  10. implicit val genBigDecimal: DeriveGen[BigDecimal]
  11. implicit val genBigInt: DeriveGen[BigInt]
  12. implicit val genBigIntegerJava: DeriveGen[BigInteger]
  13. implicit val genBoolean: DeriveGen[Boolean]
  14. implicit val genByte: DeriveGen[Byte]
  15. implicit val genChar: DeriveGen[Char]
  16. implicit def genChunk[A](implicit ev: DeriveGen[A]): DeriveGen[Chunk[A]]
  17. implicit val genDouble: DeriveGen[Double]
  18. implicit def genEither[A, B](implicit ev1: DeriveGen[A], ev2: DeriveGen[B]): DeriveGen[Either[A, B]]
  19. implicit val genFloat: DeriveGen[Float]
  20. implicit def genFunction[A, B](implicit ev: DeriveGen[B]): DeriveGen[(A) => B]
  21. implicit val genInstant: DeriveGen[Instant]
  22. implicit val genInt: DeriveGen[Int]
  23. implicit def genIterable[A](implicit ev: DeriveGen[A]): DeriveGen[Iterable[A]]
  24. implicit val genJavaBigDecimalGen: DeriveGen[BigDecimal]
  25. implicit def genList[A](implicit ev: DeriveGen[A]): DeriveGen[List[A]]
  26. implicit val genLocalDate: DeriveGen[LocalDate]
  27. implicit val genLocalDateTime: DeriveGen[LocalDateTime]
  28. implicit val genLocalTime: DeriveGen[LocalTime]
  29. implicit val genLong: DeriveGen[Long]
  30. implicit def genMap[A, B](implicit ev1: DeriveGen[A], ev2: DeriveGen[B]): DeriveGen[Map[A, B]]
  31. implicit def genOption[A](implicit ev: DeriveGen[A]): DeriveGen[Option[A]]
  32. implicit def genPartialFunction[A, B](implicit ev: DeriveGen[B]): DeriveGen[PartialFunction[A, B]]
  33. implicit def genSeq[A](implicit ev: DeriveGen[A]): DeriveGen[Seq[A]]
  34. implicit def genSet[A](implicit ev: DeriveGen[A]): DeriveGen[Set[A]]
  35. implicit val genShort: DeriveGen[Short]
  36. implicit val genString: DeriveGen[String]
  37. implicit def genTuple10[A, B, C, D, F, G, H, I, J, K](implicit ev1: DeriveGen[A], ev2: DeriveGen[B], ev3: DeriveGen[C], ev4: DeriveGen[D], ev5: DeriveGen[F], ev6: DeriveGen[G], ev7: DeriveGen[H], ev8: DeriveGen[I], ev9: DeriveGen[J], ev10: DeriveGen[K]): DeriveGen[(A, B, C, D, F, G, H, I, J, K)]
  38. implicit def genTuple2[A, B](implicit ev1: DeriveGen[A], ev2: DeriveGen[B]): DeriveGen[(A, B)]
  39. implicit def genTuple3[A, B, C](implicit ev1: DeriveGen[A], ev2: DeriveGen[B], ev3: DeriveGen[C]): DeriveGen[(A, B, C)]
  40. implicit def genTuple4[A, B, C, D](implicit ev1: DeriveGen[A], ev2: DeriveGen[B], ev3: DeriveGen[C], ev4: DeriveGen[D]): DeriveGen[(A, B, C, D)]
  41. implicit def genTuple5[A, B, C, D, F](implicit ev1: DeriveGen[A], ev2: DeriveGen[B], ev3: DeriveGen[C], ev4: DeriveGen[D], ev5: DeriveGen[F]): DeriveGen[(A, B, C, D, F)]
  42. implicit def genTuple6[A, B, C, D, F, G](implicit ev1: DeriveGen[A], ev2: DeriveGen[B], ev3: DeriveGen[C], ev4: DeriveGen[D], ev5: DeriveGen[F], ev6: DeriveGen[G]): DeriveGen[(A, B, C, D, F, G)]
  43. implicit def genTuple7[A, B, C, D, F, G, H](implicit ev1: DeriveGen[A], ev2: DeriveGen[B], ev3: DeriveGen[C], ev4: DeriveGen[D], ev5: DeriveGen[F], ev6: DeriveGen[G], ev7: DeriveGen[H]): DeriveGen[(A, B, C, D, F, G, H)]
  44. implicit def genTuple8[A, B, C, D, F, G, H, I](implicit ev1: DeriveGen[A], ev2: DeriveGen[B], ev3: DeriveGen[C], ev4: DeriveGen[D], ev5: DeriveGen[F], ev6: DeriveGen[G], ev7: DeriveGen[H], ev8: DeriveGen[I]): DeriveGen[(A, B, C, D, F, G, H, I)]
  45. implicit def genTuple9[A, B, C, D, F, G, H, I, J](implicit ev1: DeriveGen[A], ev2: DeriveGen[B], ev3: DeriveGen[C], ev4: DeriveGen[D], ev5: DeriveGen[F], ev6: DeriveGen[G], ev7: DeriveGen[H], ev8: DeriveGen[I], ev9: DeriveGen[J]): DeriveGen[(A, B, C, D, F, G, H, I, J)]
  46. implicit val genUUID: DeriveGen[UUID]
  47. implicit val genUnit: DeriveGen[Unit]
  48. implicit def genVector[A](implicit ev: DeriveGen[A]): DeriveGen[Vector[A]]
  49. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  50. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  51. def instance[A](gen: Gen[Any, A]): DeriveGen[A]

    Constructs a DeriveGen instance given a generator of A values.

  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. def join[T](caseClass: CaseClass[Typeclass, T]): Typeclass[T]
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. def split[T](sealedTrait: SealedTrait[Typeclass, T]): Typeclass[T]
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def toString(): String
    Definition Classes
    AnyRef → Any
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped