c

org.specs2.execute

DecoratedResult

case class DecoratedResult[+T](decorator: T, result: Result) extends Result with Product with Serializable

This result allows to embed additional data with a given result for further display

Is is used to provide a way to display properly the data tables in the HtmlExporter

Self Type
DecoratedResult[T]
Linear Supertypes
Serializable, Serializable, Product, Equals, Result, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecoratedResult
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Result
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DecoratedResult(decorator: T, result: Result)

Type Members

  1. type SelfType = Result
    Definition Classes
    DecoratedResultResult

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addExpectationsNb(n: Int): SelfType

    increment the number of expectations

    increment the number of expectations

    Definition Classes
    Result
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def coloredStatus(implicit args: Arguments = Arguments()): String

    returns

    the colored textual status of the result

    Definition Classes
    Result
  8. def decorate[S](otherDecorator: S): DecoratedResult[S]

    use another decorator

  9. val decorator: T
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val expectationsNb: Int
    Definition Classes
    Result
  12. val expected: String
    Definition Classes
    Result
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def isError: Boolean

    returns

    true if the result is an Error instance

    Definition Classes
    DecoratedResultResult
  16. def isFailure: Boolean

    returns

    true if the result is a Failure instance

    Definition Classes
    DecoratedResultResult
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isIssue: Boolean

    returns

    true if the result is a failure or an Error

    Definition Classes
    Result
  19. def isPending: Boolean

    returns

    true if the result is a Pending instance

    Definition Classes
    DecoratedResultResult
  20. def isSkipped: Boolean

    returns

    true if the result is a Skipped instance

    Definition Classes
    DecoratedResultResult
  21. def isSuccess: Boolean

    returns

    true if the result is a Success instance

    Definition Classes
    DecoratedResultResult
  22. def isSuspended: Boolean

    returns

    true if the result is a Skipped or Pending

    Definition Classes
    Result
  23. def isThrownFailure: Boolean

    returns

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

    Definition Classes
    Result
  24. def mapExpected(f: (String) ⇒ String): Result

    change this result's expected

    change this result's expected

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

    change this result's message

    change this result's message

    Definition Classes
    Result
  26. val message: String
    Definition Classes
    Result
  27. def mute: DecoratedResult[T]

    returns

    the result with no message

    Definition Classes
    DecoratedResultResult
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def prependMessage(pre: String): Result

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

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

    Definition Classes
    Result
  32. val result: Result
  33. def setExpectationsNb(n: Int): DecoratedResult[T]

    set the number of expectations

    set the number of expectations

    Definition Classes
    DecoratedResultResult
  34. def status: String

    returns

    the uncolored textual status of the result

    Definition Classes
    Result
  35. def statusName(implicit args: Arguments = Arguments()): String

    returns

    the textual status of the result

    Definition Classes
    Result
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def updateExpected(exp: String): Result

    update the expected of a result, keeping the subclass type

    update the expected of a result, keeping the subclass type

    Definition Classes
    Result
  38. def updateMessage(msg: String): Result

    update the message of a result, keeping the subclass type

    update the message of a result, keeping the subclass type

    Definition Classes
    Result
  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
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Result

Inherited from AnyRef

Inherited from Any

Ungrouped