org.scalatest

concurrent

package concurrent

Visibility
  1. Public
  2. All

Type Members

  1. trait AbstractPatienceConfiguration extends ScaledTimeSpans

    Trait that defines an abstract patienceConfig method that is implemented in PatienceConfiguration and can be overriden in stackable modification traits such as IntegrationPatience.

  2. trait AsyncAssertions extends PatienceConfiguration

    Trait that facilitates performing assertions outside the main test thread, such as assertions in callback methods that are invoked asynchronously.

  3. trait ConductorFixture extends AbstractSuite with Conductors

    Trait that can pass a new Conductor fixture into tests.

  4. trait ConductorMethods extends AbstractSuite with Conductors

    Trait that provides each test with access to a new Conductor via methods.

  5. trait Conductors extends PatienceConfiguration

    Trait whose Conductor member facilitates the testing of classes, traits, and libraries designed to be used by multiple threads concurrently.

  6. trait Eventually extends PatienceConfiguration

    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.

  7. trait IntegrationPatience extends AbstractPatienceConfiguration

    Stackable modification trait for PatienceConfiguration that provides default timeout and interval values appropriate for integration testing.

  8. trait Interruptor extends (Thread) ⇒ Unit

    Strategy for interrupting an operation after a timeout expires.

  9. trait PatienceConfiguration extends AbstractPatienceConfiguration

    Trait providing methods and classes used to configure timeouts and, where relevant, the interval between retries.

  10. trait ScaledTimeSpans extends AnyRef

    Trait providing a scaled method that can be used to scale time Spans used during the testing of asynchronous operations.

  11. class SelectorInterruptor extends Interruptor

    Strategy for interrupting an operation in which wakeup is called on the Selector passed to the constructor.

  12. class SocketInterruptor extends Interruptor

    Strategy for interrupting an operation in which close is called on the Socket passed to the constructor.

  13. trait TimeLimitedTests extends AbstractSuite

    Trait that when mixed into a suite class establishes a time limit for its tests.

  14. trait Timeouts extends AnyRef

    Trait that provides a failAfter 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.

  15. final class Conductor extends AnyRef

    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.

  16. trait ConductorMultiFixture extends AnyRef

    ConductorMultiFixture has been deprecated and will be removed in a future version of ScalaTest. Please copy the withConductorFixture method into your own trait instead.

Value Members

  1. object AsyncAssertions extends AsyncAssertions

    Companion object that facilitates the importing of AsyncAssertions members as an alternative to mixing in the trait.

  2. object DoNotInterrupt extends Interruptor

    Interruption strategy in which nothing is done to try and interrupt an operation.

  3. object Eventually extends Eventually

    Companion object that facilitates the importing of Eventually members as an alternative to mixing in the trait.

  4. object Interruptor

    Companion object that provides a factory method for an Interruptor defined in terms of a function from a function of type Thread to Unit.

  5. object SelectorInterruptor

    Companion object that provides a factory method for a SelectorInterruptor.

  6. object SocketInterruptor

    Companion object that provides a factory method for a SocketInterruptor.

  7. object ThreadInterruptor extends Interruptor

    Strategy for interrupting an operation in which interrupt is called on the Thread passed to apply.

  8. object Timeouts extends Timeouts

    Companion object that facilitates the importing of Timeouts members as an alternative to mixing in the trait.

Ungrouped