Outcome for a test that was canceled, containing an exception describing the cause of the cancelation.
Value parameters
- ex
-
the
TestCanceledException
contained in thisExceptional
.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Exceptionalclass Outcometrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Converts this Outcome
to a Succeeded
.
Converts this Outcome
to a Succeeded
.
The implmentation of this class will re-throw the passed in exception.
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Converts this Exceptional
to a Some
that wraps the contained exception.
Converts this Exceptional
to a Some
that wraps the contained exception.
Attributes
- Returns
-
A
Some
wrapping the exception contained in thisExceptional
. - Definition Classes
- Inherited from:
- Exceptional
Concrete fields
Indicates that this Outcome
represents a test that was canceled.
Indicates that this Outcome
represents a test that was canceled.
This class's implementation of this method always returns true
.
Attributes
- Returns
-
true
Inherited fields
Indicates that this Outcome
represents a test that either failed or was canceled.
Indicates that this Outcome
represents a test that either failed or was canceled.
Attributes
- Returns
-
true
- Inherited from:
- Exceptional
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
.
Attributes
- Returns
-
true if this
Outcome
is an instance ofFailed
. - Inherited from:
- Outcome
Indicates whether this Outcome
represents a test that was pending.
Indicates whether this Outcome
represents a test that was pending.
This class's implementation of this method always returns false
.
Attributes
- Returns
-
true if this
Outcome
is an instance ofPending
. - Inherited from:
- Outcome
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
.
Attributes
- Returns
-
true if this
Outcome
is an instance ofSucceeded
. - Inherited from:
- Outcome