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. class AkkaFutures extends AnyRef

  3. trait AsyncAssertions extends PatienceConfiguration

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

  4. trait ConductorFixture extends SuiteMixin with Conductors

    Trait that can pass a new Conductor fixture into tests.

  5. trait ConductorMethods extends SuiteMixin with Conductors

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

  6. trait Conductors extends PatienceConfiguration

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

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

  8. trait Futures extends PatienceConfiguration

    Trait that facilitates testing with futures.

  9. trait IntegrationPatience extends AbstractPatienceConfiguration

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

  10. trait Interruptor extends (Thread) ⇒ Unit

    Strategy for interrupting an operation after a timeout expires.

  11. trait JavaFutures extends Futures

    Provides an implicit conversion from java.util.concurrent.Future[T] to FutureConcept[T].

  12. trait PatienceConfiguration extends AbstractPatienceConfiguration

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

  13. trait ScaledTimeSpans extends AnyRef

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

  14. class SelectorInterruptor extends Interruptor

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

  15. class SocketInterruptor extends Interruptor

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

  16. trait TimeLimitedTests extends SuiteMixin

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

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

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

  19. 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 extends AnyRef

    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 extends AnyRef

    Companion object that provides a factory method for a SelectorInterruptor.

  6. object SocketInterruptor extends AnyRef

    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.