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.
true if this Outcome is an instance of Canceled.
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.
true
Indicates that this Outcome represents a test that failed.
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.
true if this Outcome is an instance of Pending.
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.
true if this Outcome is an instance of Succeeded.
Converts this Exceptional to a Some that wraps the contained exception.
Converts this Exceptional to a Some that wraps the contained exception.
A Some wrapping the exception contained in this Exceptional.
Converts this Outcome to a Succeeded.
Outcome for a test that failed, containing an exception describing the cause of the failure.
Note: the difference between this
Failedclass and the similarly namedFailedStatusobject is that an instance of this class indicates one test failed, whereas theFailedStatusobject indicates either one or more tests failed and/or one or more suites aborted during a run. Both are used as the result type ofSuitelifecycle methods, butFailedis a possible result ofwithFixture, whereasFailedStatusis a possible result ofrun,runNestedSuites,runTests, orrunTest. In short,Failedis always just about one test, whereasFailedStatuscould be about something larger: multiple tests or an entire suite.