PatienceConfiguration

org.scalatest.concurrent.PatienceConfiguration
See thePatienceConfiguration companion trait

Attributes

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

Members list

Type members

Classlikes

final case class Interval(value: Span) extends PatienceConfigParam

A PatienceConfigParam that specifies the amount of time to sleep after a retry.

A PatienceConfigParam that specifies the amount of time to sleep after a retry.

Value parameters

value

the amount of time to sleep between each attempt

Attributes

Throws
NullArgumentException

if passed value is null

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract class PatienceConfigParam extends Product, Serializable

Abstract class defining a family of configuration parameters for traits Eventually and Waiters.

Abstract class defining a family of configuration parameters for traits Eventually and Waiters.

The subclasses of this abstract class are used to pass configuration information to the eventually methods of trait Eventually and the await methods of trait Waiters.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Interval
class Timeout
final case class Timeout(value: Span) extends PatienceConfigParam

A PatienceConfigParam that specifies the maximum amount of time to wait for an asynchronous operation to complete.

A PatienceConfigParam that specifies the maximum amount of time to wait for an asynchronous operation to complete.

Value parameters

value

the maximum amount of time to retry before giving up and throwing TestFailedException.

Attributes

Throws
NullArgumentException

if passed value is null

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all