Pending
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.
Value parameters
- message
-
an optional message describing the reason the test is pending
Attributes
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Concrete methods
Converts this Outcome
to a Succeeded
.
Converts this Outcome
to a Succeeded
.
The implmentation of this class will throw TestPendingException
with the passed in message.
Attributes
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Converts this Outcome
to an Option[Throwable]
.
Converts this Outcome
to an Option[Throwable]
.
This class's implementation of this method always returns None
.
Attributes
- Returns
-
a
Some
wrapping the contained exception if thisOutcome
is an instance of eitherFailed
orCanceled
. - Inherited from:
- Outcome
Concrete fields
Indicates that this Outcome
represents a test that was pending.
Indicates that this Outcome
represents a test that was pending.
This class's implementation of this method always returns true
.
Attributes
- Returns
-
true
Inherited fields
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
.
Attributes
- Returns
-
true if this
Outcome
is an instance ofCanceled
. - Inherited from:
- Outcome
Indicates whether this Outcome
represents a test that either failed or was canceled, in which case this Outcome
will contain an exception.
Indicates whether this Outcome
represents a test that either failed or was canceled, in which case this Outcome
will contain an exception.
Attributes
- Returns
-
true if this
Outcome
is an instance of eitherFailed
orCanceled
. - Inherited from:
- Outcome
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 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