object Result
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Result
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- implicit val ResultFailureMonoid: Monoid[Result]
This monoids "absorbs" success messages if the result of the |+| is not a success
- def ResultFailuresMonoid(separator: String): Monoid[Result]
- val ResultMonoid: Monoid[Result]
This monoids keeps success messages if the result of the |+| is not a success
- val ResultShortCircuitMonoid: Monoid[Result]
This monoid only evaluates the second argument
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def disjunctionErrorToResult(error: Either[Throwable, String]): Result
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forall[T, R](seq: Seq[T])(f: (T) => R)(implicit arg0: AsResult[R]): Result
this returns a result which is a summary of all the results according to the ResultFailureMonoid
- def foreach[T, R](seq: Seq[T])(f: (T) => R)(implicit arg0: AsResult[R]): Result
this allows the creation of expectations with a for loop it returns the first result which is an issue or the last success
- 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
- def issues(results: Seq[Result], separator: String = "; "): SelfType
- returns
the accumulation of all results, without success messages
- 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()
- implicit def resultAsResult[R <: Result]: AsResult[R]
implicit typeclass instance to create examples from Results
- def resultOrSuccess(t: Any): Result
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unit(u: => Unit): Result
the result of a side-effecting block
- 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()