object Pending extends Outcome with Product with Serializable
Outcome for a test that was pending, which contains an optional string giving more information on what exactly is needed for the test to become non-pending.
- Source
- Outcome.scala
- Alphabetic
- By Inheritance
- Pending
- Outcome
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
val
isCanceled: Boolean
Indicates whether this
Outcome
represents a test that was canceled.Indicates whether this
Outcome
represents a test that was canceled.This class's implementation of this method always returns
false
.- returns
true if this
Outcome
is an instance ofCanceled
.
- Definition Classes
- Outcome
-
val
isExceptional: Boolean
Indicates whether this
Outcome
represents a test that either failed or was canceled, in which case thisOutcome
will contain an exception.Indicates whether this
Outcome
represents a test that either failed or was canceled, in which case thisOutcome
will contain an exception.- returns
true if this
Outcome
is an instance of eitherFailed
orCanceled
.
- Definition Classes
- Outcome
-
val
isFailed: Boolean
Indicates whether this
Outcome
represents a test that failed.Indicates whether this
Outcome
represents a test that failed.This class's implementation of this method always returns
false
.- returns
true if this
Outcome
is an instance ofFailed
.
- Definition Classes
- Outcome
-
val
isPending: Boolean
Indicates that this
Outcome
represents a test that was pending. -
val
isSucceeded: Boolean
Indicates whether this
Outcome
represents a test that succeeded.Indicates whether this
Outcome
represents a test that succeeded.This class's implementation of this method always returns
false
.- returns
true if this
Outcome
is an instance ofSucceeded
.
- Definition Classes
- Outcome
-
def
toOption: Option[Throwable]
Converts this
Outcome
to anOption[Throwable]
.Converts this
Outcome
to anOption[Throwable]
.This class's implementation of this method always returns
None
.- returns
a
Some
wrapping the contained exception if thisOutcome
is an instance of eitherFailed
orCanceled
.
- Definition Classes
- Outcome
-
def
toSucceeded: Succeeded.type
Converts this
Outcome
to aSucceeded
.