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 diff
    Definition Classes
    test
  • Diff
  • DiffInstances
  • DiffResult
  • LowPriDiff

object Diff extends DiffInstances

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Diff
  2. DiffInstances
  3. LowPriDiff
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit final class DiffOps[A] extends AnyRef

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 anyDiff[A]: Diff[A]
    Definition Classes
    LowPriDiff
  5. implicit def anyValDiff[A <: AnyVal]: Diff[A]
    Definition Classes
    LowPriDiff
  6. def apply[A](implicit diff: Diff[A]): Diff[A]
  7. implicit def arrayBufferDiff[A](implicit arg0: Diff[A]): Diff[ArrayBuffer[A]]
    Definition Classes
    DiffInstances
  8. implicit def arrayDiff[A](implicit arg0: Diff[A]): Diff[Array[A]]
    Definition Classes
    DiffInstances
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. implicit def chunkDiff[A](implicit arg0: Diff[A]): Diff[Chunk[A]]
    Definition Classes
    DiffInstances
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. implicit def listBufferDiff[A](implicit arg0: Diff[A]): Diff[ListBuffer[A]]
    Definition Classes
    DiffInstances
  18. implicit def listDiff[A](implicit arg0: Diff[A]): Diff[List[A]]
    Definition Classes
    DiffInstances
  19. implicit def mapDiff[K, V](implicit arg0: Diff[V]): Diff[Map[K, V]]
    Definition Classes
    DiffInstances
  20. def mkSeqDiff[F[_], A](name: String)(f: (F[A]) => Seq[A])(implicit arg0: Diff[A]): Diff[F[A]]
    Definition Classes
    DiffInstances
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. implicit def nonEmptyChunk[A](implicit arg0: Diff[A]): Diff[NonEmptyChunk[A]]
    Definition Classes
    DiffInstances
  23. implicit val nothingDiff: Diff[Nothing]
    Definition Classes
    DiffInstances
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. implicit def optionDiff[A](implicit arg0: Diff[A]): Diff[Option[A]]
    Definition Classes
    DiffInstances
  27. def render[A](oldValue: A, newValue: A)(implicit arg0: Diff[A]): String
  28. implicit def seqDiff[A](implicit arg0: Diff[A]): Diff[Seq[A]]
    Definition Classes
    DiffInstances
  29. implicit def setDiff[A](implicit arg0: Diff[A]): Diff[Set[A]]
    Definition Classes
    DiffInstances
  30. implicit val stringDiff: Diff[String]

    The default String renderer attempts to clever render the resulting diff according to its inputs.

    The default String renderer attempts to clever render the resulting diff according to its inputs.

    • Short strings are rendered as: "this" was not equal to "something else"
    • Single line strings are determined (based on word to length ratio) to be either structured word-based sentences or less structured dat.
      • Sentence-like strings are diffed per word
      • Unstructured strings are diffed per character
    • Multi-line strings are diffed per line
    Definition Classes
    DiffInstances
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. implicit def vectorDiff[A](implicit arg0: Diff[A]): Diff[Vector[A]]
    Definition Classes
    DiffInstances
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. 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 DiffInstances

Inherited from LowPriDiff

Inherited from AnyRef

Inherited from Any

Ungrouped