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)

Abstract Value Members

  1. abstract def mute: Result

    returns

    the result with no message

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

    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): Result

    increment the number of expectations

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

    returns

    the logical and combination of 2 results

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

    returns

    the colored textual status of the result

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

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

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

    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 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. def not: Result

    returns

    Success if it is a failure and vice-versa

  30. final def notify(): Unit

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

    Definition Classes
    AnyRef
  32. def or(r: ⇒ Result): Result

    returns

    the logical or combination of 2 results

  33. def status: String

    Skipped

    Skipped

    returns

    the uncolored textual status of the result

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

    returns

    the textual status of the result

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

    Definition Classes
    AnyRef
  36. def toString(): String

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

    update the expected of a result, keeping the subclass type

  38. def updateMessage(msg: String): Result

    update the message of a result, keeping the subclass type

  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

No Group