Class/Object

org.specs2.execute

Result

Related Docs: object Result | package execute

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. abstract type SelfType <: Result

    Permalink

Abstract Value Members

  1. abstract def mute: Result

    Permalink

    returns

    the result with no message

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

    Permalink

    set the number of expectations

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addExpectationsNb(n: Int): SelfType

    Permalink

    increment the number of expectations

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink

    returns

    the colored textual status of the result

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. val expectationsNb: Int

    Permalink
  11. val expected: String

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def isError: Boolean

    Permalink

    returns

    true if the result is an Error instance

  15. def isFailure: Boolean

    Permalink

    returns

    true if the result is a Failure instance

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isIssue: Boolean

    Permalink

    returns

    true if the result is a failure or an Error

  18. def isPending: Boolean

    Permalink

    returns

    true if the result is a Pending instance

  19. def isSkipped: Boolean

    Permalink

    returns

    true if the result is a Skipped instance

  20. def isSuccess: Boolean

    Permalink

    returns

    true if the result is a Success instance

  21. def isSuspended: Boolean

    Permalink

    returns

    true if the result is a Skipped or Pending

  22. def isThrownFailure: Boolean

    Permalink

    returns

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

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

    Permalink

    change this result's expected

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

    Permalink

    change this result's message

  25. val message: String

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def prependMessage(pre: String): Result

    Permalink

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

  30. def status: String

    Permalink

    returns

    the uncolored textual status of the result

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

    Permalink

    returns

    the textual status of the result

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

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

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

    Permalink

    update the expected of a result, keeping the subclass type

  35. def updateMessage(msg: String): Result

    Permalink

    update the message of a result, keeping the subclass type

  36. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped