org.specs2.execute

Result

class Result extends AnyRef

The result of an execution, either:

A Result has:

Attributes
sealed abstract
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Result
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

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

Abstract Value Members

  1. def mute : Result

    returns

    the result with no message

    Attributes
    abstract
  2. def setExpectationsNb (n: Int): Result

    set the number of expectations

    set the number of expectations

    Attributes
    abstract

Concrete Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def addExpectationsNb (n: Int): Result

    increment the number of expectations

  7. def and (r: ⇒ Result): Result

    returns

    the logical and combination of 2 results

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

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

    returns

    the colored textual status of the result

  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. val expectationsNb : Int

  14. val expected : String

  15. def finalize (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  18. def isError : Boolean

    returns

    true if the result is an Error instance

  19. def isFailure : Boolean

    returns

    true if the result is a Failure instance

  20. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  21. def isPending : Boolean

    returns

    true if the result is a Pending instance

  22. def isSkipped : Boolean

    returns

    true if the result is a Skipped instance

  23. def isSuccess : Boolean

    returns

    true if the result is a Success instance

  24. def isSuspended : Boolean

    returns

    true if the result is a Skipped or Pending

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

    change this result's message

  26. val message : String

  27. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  28. def not : Result

    returns

    Success if it is a failure and vice-versa

  29. def notify (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  31. def or (r: ⇒ Result): Result

    returns

    the logical or combination of 2 results

  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. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  35. def toString (): String

    Definition Classes
    AnyRef → Any
  36. def updateMessage (msg: String): Result

    update the message of a result, keeping the subclass type

  37. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any