Pending

case object Pending extends Outcome

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

trait Singleton
trait Product
trait Mirror
class Outcome
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Pending.type

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton
Inherited from:
Singleton
type MirroredType = Singleton
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.

Inherited methods

def fromProduct(p: Product): MirroredMonoType
Inherited from:
Singleton
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def toOption: Option[Throwable]

Converts this Outcome to an Option[Throwable].

Converts this Outcome to an Option[Throwable].

This class's implementation of this method always returns None.

Returns:

a Some wrapping the contained exception if this Outcome is an instance of either Failed or Canceled.

Inherited from:
Outcome

Concrete fields

override val isPending: Boolean

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.

Returns:

true

Inherited fields

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 of Canceled.

Inherited from:
Outcome
val isExceptional: Boolean

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.

Returns:

true if this Outcome is an instance of either Failed or Canceled.

Inherited from:
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 of Failed.

Inherited from:
Outcome
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 of Succeeded.

Inherited from:
Outcome