Object/Trait

org.scalatest.concurrent

PatienceConfiguration

Related Docs: trait PatienceConfiguration | package concurrent

Permalink

object PatienceConfiguration

Source
PatienceConfiguration.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PatienceConfiguration
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final case class Interval(value: Span) extends PatienceConfigParam with Product with Serializable

    Permalink

    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

    the amount of time to sleep between each attempt

    Exceptions thrown

    NullArgumentException if passed value is null

  2. sealed abstract class PatienceConfigParam extends AnyRef

    Permalink

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

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

    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 AsyncAssertions.

  3. final case class Timeout(value: Span) extends PatienceConfigParam with Product with Serializable

    Permalink

    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

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

    Exceptions thrown

    NullArgumentException if passed value is null