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]
- Alphabetic
- By Inheritance
- DecoratedResult
- Serializable
- Serializable
- Product
- Equals
- Result
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
SelfType = Result
- Definition Classes
- DecoratedResult → Result
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addExpectationsNb(n: Int): SelfType
increment the number of expectations
increment the number of expectations
- Definition Classes
- Result
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
coloredStatus(implicit args: Arguments = Arguments()): String
- returns
the colored textual status of the result
- Definition Classes
- Result
-
def
decorate[S](otherDecorator: S): DecoratedResult[S]
use another decorator
- val decorator: T
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
expectationsNb: Int
- Definition Classes
- Result
-
val
expected: String
- Definition Classes
- Result
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
isError: Boolean
- returns
true if the result is an Error instance
- Definition Classes
- DecoratedResult → Result
-
def
isFailure: Boolean
- returns
true if the result is a Failure instance
- Definition Classes
- DecoratedResult → Result
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPending: Boolean
- returns
true if the result is a Pending instance
- Definition Classes
- DecoratedResult → Result
-
def
isSkipped: Boolean
- returns
true if the result is a Skipped instance
- Definition Classes
- DecoratedResult → Result
-
def
isSuccess: Boolean
- returns
true if the result is a Success instance
- Definition Classes
- DecoratedResult → Result
-
def
isSuspended: Boolean
- returns
true if the result is a Skipped or Pending
- Definition Classes
- Result
-
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
-
def
mapExpected(f: (String) ⇒ String): Result
change this result's expected
change this result's expected
- Definition Classes
- Result
-
def
mapMessage(f: (String) ⇒ String): Result
change this result's message
change this result's message
- Definition Classes
- Result
-
val
message: String
- Definition Classes
- Result
-
def
mute: DecoratedResult[T]
- returns
the result with no message
- Definition Classes
- DecoratedResult → Result
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
- val result: Result
-
def
setExpectationsNb(n: Int): DecoratedResult[T]
set the number of expectations
set the number of expectations
- Definition Classes
- DecoratedResult → Result
-
def
status: String
- returns
the uncolored textual status of the result
- Definition Classes
- Result
-
def
statusName(implicit args: Arguments = Arguments()): String
- returns
the textual status of the result
- Definition Classes
- Result
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
-
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )