Trait that defines an abstract patienceConfig
method that is implemented in PatienceConfiguration
and can
be overriden in stackable modification traits such as IntegrationPatience
.
Trait that facilitates performing assertions outside the main test thread, such as assertions in callback methods that are invoked asynchronously.
Trait that can pass a new Conductor
fixture into tests.
Trait that provides each test with access to a new Conductor
via methods.
Trait whose Conductor
member facilitates the testing of classes, traits, and libraries designed
to be used by multiple threads concurrently.
Trait that provides the eventually
construct, which periodically retries executing
a passed by-name parameter, until it either succeeds or the configured timeout has been surpassed.
Trait that facilitates testing with futures.
Stackable modification trait for PatienceConfiguration
that provides default timeout and interval
values appropriate for integration testing.
Strategy for interrupting an operation after a timeout expires.
Provides an implicit conversion from java.util.concurrent.Future[T]
to
FutureConcept[T]
.
Trait providing methods and classes used to configure timeouts and, where relevant, the interval between retries.
Provides an implicit conversion from scala.concurrent.Future[T]
to
FutureConcept[T]
.
Trait providing a scaled
method that can be used to scale time
Span
s used during the testing of asynchronous operations.
Strategy for interrupting an operation in which wakeup
is called on the java.nio.channels.Selector
passed to
the constructor.
Strategy for interrupting an operation in which close
is called on the java.net.Socket
passed to
the constructor.
Trait that when mixed into a suite class establishes a time limit for its tests.
Trait that provides a failAfter
and cancelAfter
construct, which allows you to specify a time limit for an
operation passed as a by-name parameter, as well as a way to interrupt it if the operation exceeds its time limit.
org.scalatest.concurrent.Conductor
has been deprecated and will
be removed in a future version of ScalaTest. Please mix in or import the members
of trait Conductors
, into which Conductor
has been moved, instead
of using this class directly.
ConductorMultiFixture has been deprecated and will be removed in a future version of ScalaTest. Please copy the withConductorFixture method into your own trait instead.
Companion object that facilitates the importing of AsyncAssertions
members as
an alternative to mixing in the trait.
Interruption strategy in which nothing is done to try and interrupt an operation.
Companion object that facilitates the importing of Eventually
members as
an alternative to mixing in the trait.
Companion object that provides a factory method for an Interruptor
defined
in terms of a function from a function of type Thread
to Unit.
Companion object that facilitates the importing of ScalaFutures
members as
an alternative to mixing in the trait.
Companion object that provides a factory method for a SelectorInterruptor
.
Companion object that provides a factory method for a SocketInterruptor
.
Strategy for interrupting an operation in which interrupt
is called on the Thread
passed
to apply
.
Companion object that facilitates the importing of Timeouts
members as
an alternative to mixing in the trait.