org.specs2.execute

Result

sealed abstract class Result extends AnyRef

The result of an execution, either:

A Result has:

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Result
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Result(message: String = "", expected: String = "", expectationsNb: Int = 1)

Type Members

  1. abstract type SelfType <: Result

Abstract Value Members

  1. abstract def mute: Result

    returns

    the result with no message

  2. abstract def setExpectationsNb(n: Int): SelfType

    set the number of expectations

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addExpectationsNb(n: Int): SelfType

    increment the number of expectations

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def coloredStatus(implicit args: Arguments = Arguments()): String

    returns

    the colored textual status of the result

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. val expectationsNb: Int

  13. val expected: String

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  17. def isError: Boolean

    returns

    true if the result is an Error instance

  18. def isFailure: Boolean

    returns

    true if the result is a Failure instance

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def isPending: Boolean

    returns

    true if the result is a Pending instance

  21. def isSkipped: Boolean

    returns

    true if the result is a Skipped instance

  22. def isSuccess: Boolean

    returns

    true if the result is a Success instance

  23. def isSuspended: Boolean

    returns

    true if the result is a Skipped or Pending

  24. def isThrownFailure: Boolean

    returns

    true if the result is a Failure that was thrown like a JUnit assertion error or a NotImplemented exception

  25. def mapExpected(f: (String) ⇒ String): Result

    change this result's expected

  26. def mapMessage(f: (String) ⇒ String): Result

    change this result's message

  27. val message: String

  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def prependMessage(pre: String): Result

    prepend another message and a conjunction depending on the status of this result

  32. def status: String

    returns

    the uncolored textual status of the result

  33. def statusName(implicit args: Arguments = Arguments()): String

    returns

    the textual status of the result

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def updateExpected(exp: String): Result

    update the expected of a result, keeping the subclass type

  37. def updateMessage(msg: String): Result

    update the message of a result, keeping the subclass type

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped