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 when mixed into a AsyncTestSuite
cancels any remaining tests in that
AsyncTestSuite
instance after a test fails.
Trait that when mixed into an asynchronous suite class establishes a time limit for its tests.
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.
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 signaling an operation in which wakeup
is called on the java.nio.channels.Selector
passed to
the constructor.
Strategy for signaling an operation after a timeout expires.
Strategy for signaling 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 failAfter
and cancelAfter
methods, which allow you to specify a time limit for an
operation passed as a by-name parameter, as well as a way to signal it if the operation exceeds its time limit.
Trait that facilitates performing assertions outside the main test thread, such as assertions in callback methods that are invoked asynchronously.
The name org.scalatest.concurrent.AsyncAssertions
has been deprecated and will be removed in a future version of ScalaTest. Please use
its new name, org.scalatest.concurrent.Waiters
, instead.
The name org.scalatest.concurrent.AsyncAssertions
has been deprecated and will be removed in a future version of ScalaTest. Please use
its new name, org.scalatest.concurrent.Waiters
, instead.
We deprecate this name because this is blocking while our new asynchronous style traits are not, thus could potentially cause some confusion. Another reason is that this name sounds like it is a subclass of Assertions, while it is not.
Please use org.scalatest.concurrent.Waiters instead
Trait that when mixed into a suite class establishes a time limit for its tests.
Strategy for interrupting an operation after a timeout expires.
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.
This trait has been deprecated and will be removed in a later version of ScalaTest. Please use trait TimeLimits instead.
Interruption strategy in which nothing is done to try and interrupt an operation.
Signaling strategy in which nothing is done to try and signal or 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 SelectorSignaler
.
Companion object that provides a factory method for a Singlaer
defined
in terms of a function from a function of type Thread
to Unit.
Companion object that provides a factory method for a SocketInterruptor
.
Companion object that provides a factory method for a SocketSignaler
.
Strategy for signaling 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.
Companion object that facilitates the importing of Timeouts
members as
an alternative to mixing in the trait.
Companion object that facilitates the importing of Waiters
members as
an alternative to mixing in the trait.
The name org.scalatest.concurrent.AsyncAssertions
has been deprecated and will be removed in a future version of ScalaTest. Please use
its new name, org.scalatest.concurrent.Waiters
, instead.
The name org.scalatest.concurrent.AsyncAssertions
has been deprecated and will be removed in a future version of ScalaTest. Please use
its new name, org.scalatest.concurrent.Waiters
, instead.
We deprecate this name because this is blocking while our new asynchronous style traits are not, thus could potentially cause some confusion. Another reason is that this name sounds like it is a subclass of Assertions, while it is not.
Please use org.scalatest.concurrent.Waiters instead
Strategy for interrupting an operation in which interrupt
is called on the Thread
passed
to apply
.
ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.