class
Result
extends AnyRef
Instance Constructors
-
new
Result
(message: String, expected: String, expectationsNb: Int)
Abstract Value Members
-
def
addExpectationsNb
(n: Int): Result
-
Concrete Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
coloredStatus
(implicit args: Arguments = Arguments()): String
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
val
expectationsNb
: Int
-
val
expected
: String
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isError
: Boolean
-
def
isFailure
: Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
def
isPending
: Boolean
-
def
isSkipped
: Boolean
-
def
isSuccess
: Boolean
-
val
message
: String
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
-
def
status
: String
-
def
statusName
(implicit args: Arguments = Arguments()): String
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
updateMessage
(msg: String): Result
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
The result of an execution, either:
* a success: the execution is ok * a failure: an expectation is not met * an error: an exception occurred * a pending execution: the user has decided that execution must not be performed * a skipped execution: based on dynamic conditions (a database not available for instance) the execution is not performed
A Result has: * a message describing the outcome * a message describing the expectation * possibly a number of expectations when it is the outcome of several checks (this is used for the reporting of ScalaCheck properties).