FutureOutcome

org.scalatest.FutureOutcome
See theFutureOutcome companion class
object FutureOutcome

Companion object to FutureOutcomes that contains factory methods for creating already-completed FutureOutcomes.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Factory method that creates an already completed FutureOutcome with a Canceled result.

Factory method that creates an already completed FutureOutcome with a Canceled result.

Attributes

def canceled(message: String): FutureOutcome

Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified message.

Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified message.

Attributes

def canceled(cause: Throwable): FutureOutcome

Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified cause.

Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified cause.

Attributes

def canceled(message: String, cause: Throwable): FutureOutcome

Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified message and cause.

Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified message and cause.

Attributes

Factory method that creates an already completed FutureOutcome with a Failed result.

Factory method that creates an already completed FutureOutcome with a Failed result.

Attributes

def failed(message: String): FutureOutcome

Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified message.

Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified message.

Attributes

def failed(message: String, cause: Throwable): FutureOutcome

Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified message and cause.

Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified message and cause.

Attributes

def failed(cause: Throwable): FutureOutcome

Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified cause.

Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified cause.

Attributes

Factory method that creates an already completed FutureOutcome with a Pending result.

Factory method that creates an already completed FutureOutcome with a Pending result.

Attributes

Factory method that creates an already completed FutureOutcome with a Succeeded result.

Factory method that creates an already completed FutureOutcome with a Succeeded result.

Attributes