object AssertResult extends Serializable
- Alphabetic
- By Inheritance
- AssertResult
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class And[+A](left: AssertResult[A], right: AssertResult[A]) extends AssertResult[A] with Product with Serializable
- final case class Or[+A](left: AssertResult[A], right: AssertResult[A]) extends AssertResult[A] with Product with Serializable
- final case class Value[+A](value: A) extends AssertResult[A] with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def all[A](as: Iterable[AssertResult[A]]): Option[AssertResult[A]]
Returns an assert result that is the logical conjunction of all of the assert results in the specified collection.
- final def and[A](left: AssertResult[A], right: AssertResult[A]): AssertResult[A]
Constructs an assert result that is the logical conjunction of two assert results.
- final def any[A](as: Iterable[AssertResult[A]]): Option[AssertResult[A]]
Returns an assert result that is the logical disjunction of all of the assert results in the specified collection succeed.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def collectAll[A](as: Iterable[AssertResult[A]]): Option[AssertResult[A]]
Combines a collection of assert results to create a single assert result that succeeds if all of the assert results succeed.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def failure[A](a: A): AssertResult[Either[A, Nothing]]
Constructs a failed assert result with the specified value.
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def foreach[A, B](as: Iterable[A])(f: (A) => AssertResult[B]): Option[AssertResult[B]]
Applies the function
fto each element of theIterable[A]to produce a collection of assert results, then combines all of those assert results to create a single assert result that is the logical conjunction of all of the assert results. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def or[A](left: AssertResult[A], right: AssertResult[A]): AssertResult[A]
Constructs an assert result that is the logical disjunction of two assert results.
- final def success[A](a: A): AssertResult[Either[Nothing, A]]
Constructs a successful assert result with the specified value.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final val unit: AssertResult[Unit]
An assert result with the unit value.
- final def value[A](a: A): AssertResult[A]
Constructs an assert result with the specified value.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()