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 addExpectationsNb (n: Int): Result

    increment the number of expectations

    increment the number of expectations

    Attributes
    abstract
  2. def mute : Result

    returns

    the result with no message

    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 and (r: ⇒ Result): Result

    returns

    the logical and combination of 2 results

  7. def asInstanceOf [T0] : T0

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

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

    returns

    the colored textual status of the result

  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    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. def isInstanceOf [T0] : Boolean

    Attributes
    final
    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. val message : String

  24. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  25. def not : Result

    returns

    Success if it is a failure and vice-versa

  26. def notify (): Unit

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

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

    returns

    the logical or combination of 2 results

  29. def status : String

    returns

    the uncolored textual status of the result

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

    returns

    the textual status of the result

  31. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

    update the message of a result, keeping the subclass type

  34. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any