Class

zio.test.AssertResult

Value

Related Doc: package AssertResult

Permalink

final case class Value[+A](value: A) extends AssertResult[A] with Product with Serializable

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

Instance Constructors

  1. new Value(value: A)

    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 &&[A1 >: A](that: AssertResult[A1]): AssertResult[A1]

    Permalink

    Returns a new assert result that is the logical conjunction of this assert result and the specified assert result.

    Returns a new assert result that is the logical conjunction of this assert result and the specified assert result.

    Definition Classes
    AssertResult
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def as[B](b: B): AssertResult[B]

    Permalink

    Returns a new assert result, with all values mapped to the specified constant.

    Returns a new assert result, with all values mapped to the specified constant.

    Definition Classes
    AssertResult
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. final def both[A1 >: A](that: AssertResult[A1]): AssertResult[A1]

    Permalink

    A named alias for &&.

    A named alias for &&.

    Definition Classes
    AssertResult
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def collect[B](p: PartialFunction[A, B]): Option[AssertResult[B]]

    Permalink

    Returns a new assert result with a filtered, mapped subset of the values in this assert result.

    Returns a new assert result with a filtered, mapped subset of the values in this assert result.

    Definition Classes
    AssertResult
  10. final def either[A1 >: A](that: AssertResult[A1]): AssertResult[A1]

    Permalink

    A named alias for ||.

    A named alias for ||.

    Definition Classes
    AssertResult
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. final def failures[B](implicit ev: <:<[A, Either[B, _]]): Option[AssertResult[B]]

    Permalink

    If this assert value is a success returns None.

    If this assert value is a success returns None. If it is a failure returns a new assert value containing all failures that are relevant to this assert value being a failure.

    Definition Classes
    AssertResult
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def fold[B](caseValue: (A) ⇒ B)(caseAnd: (B, B) ⇒ B, caseOr: (B, B) ⇒ B): B

    Permalink

    Folds over the assert result bottom up, first converting values to B values, and then combining the B values, using the specified functions.

    Folds over the assert result bottom up, first converting values to B values, and then combining the B values, using the specified functions.

    Definition Classes
    AssertResult
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def hashCode(): Int

    Permalink
    Definition Classes
    AssertResult → AnyRef → Any
  17. final def isFailure(implicit ev: <:<[A, Either[_, _]]): Boolean

    Permalink

    Determines whether the assert result is a failure, where Left represents failure, Right represents success, and values are combined using logical conjunction and disjunction.

    Determines whether the assert result is a failure, where Left represents failure, Right represents success, and values are combined using logical conjunction and disjunction.

    Definition Classes
    AssertResult
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def isSuccess(implicit ev: <:<[A, Either[_, _]]): Boolean

    Permalink

    Determines whether the assert result is a success, where Left represents failure, Right represents success, and values are combined using logical conjunction and disjunction.

    Determines whether the assert result is a success, where Left represents failure, Right represents success, and values are combined using logical conjunction and disjunction.

    Definition Classes
    AssertResult
  20. final def map[B](f: (A) ⇒ B): AssertResult[B]

    Permalink

    Returns a new assert result, with all values mapped by the specified function.

    Returns a new assert result, with all values mapped by the specified function.

    Definition Classes
    AssertResult
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def not[B, C](implicit ev: <:<[A, Either[B, C]]): AssertResult[Either[C, B]]

    Permalink

    Negates this assert result, converting all successes into failures and failures into successes.

    Negates this assert result, converting all successes into failures and failures into successes.

    Definition Classes
    AssertResult
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. val value: A

    Permalink
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def ||[A1 >: A](that: AssertResult[A1]): AssertResult[A1]

    Permalink

    Returns a new assert result that is the logical disjunction of this assert result and the specified assert result.

    Returns a new assert result that is the logical disjunction of this assert result and the specified assert result.

    Definition Classes
    AssertResult

Inherited from AssertResult[A]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped