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. Hide All
  2. Show all
  1. DecoratedResult
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Result
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

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

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

    increment the number of expectations

    Definition Classes
    DecoratedResult → Result
  7. def and (r: ⇒ Result): Result

    returns

    the logical and combination of 2 results

    Definition Classes
    DecoratedResult → Result
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def canEqual (arg0: Any): Boolean

    Definition Classes
    DecoratedResult → Equals
  10. def clone (): AnyRef

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

    returns

    the colored textual status of the result

    Definition Classes
    Result
  12. val decorator : T

  13. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    DecoratedResult → Equals → AnyRef → Any
  15. val expectationsNb : Int

    Definition Classes
    Result
  16. val expected : String

    Definition Classes
    Result
  17. def finalize (): Unit

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

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

    Definition Classes
    DecoratedResult → AnyRef → Any
  20. def isError : Boolean

    returns

    true if the result is an Error instance

    Definition Classes
    DecoratedResult → Result
  21. def isFailure : Boolean

    returns

    true if the result is a Failure instance

    Definition Classes
    DecoratedResult → Result
  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. def isPending : Boolean

    returns

    true if the result is a Pending instance

    Definition Classes
    DecoratedResult → Result
  24. def isSkipped : Boolean

    returns

    true if the result is a Skipped instance

    Definition Classes
    DecoratedResult → Result
  25. def isSuccess : Boolean

    returns

    true if the result is a Success instance

    Definition Classes
    DecoratedResult → Result
  26. val message : String

    Definition Classes
    Result
  27. def mute : DecoratedResult[T]

    returns

    the result with no message

    Definition Classes
    DecoratedResult → Result
  28. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  29. def not : Result

    returns

    Success if it is a failure and vice-versa

    Definition Classes
    Result
  30. def notify (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  32. def or (r2: ⇒ Result): Result

    returns

    the logical or combination of 2 results

    Definition Classes
    DecoratedResult → Result
  33. def productArity : Int

    Definition Classes
    DecoratedResult → Product
  34. def productElement (arg0: Int): Any

    Definition Classes
    DecoratedResult → Product
  35. def productIterator : Iterator[Any]

    Definition Classes
    Product
  36. def productPrefix : String

    Definition Classes
    DecoratedResult → Product
  37. val result : Result

  38. def status : String

    returns

    the uncolored textual status of the result

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

    returns

    the textual status of the result

    Definition Classes
    Result
  40. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    DecoratedResult → AnyRef → Any
  42. 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
  43. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Result

Inherited from AnyRef

Inherited from Any