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 SuiteMixin with Conductors

    Trait that can pass a new Conductor fixture into tests.

  4. trait ConductorMethods extends SuiteMixin 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 Futures extends PatienceConfiguration

    Trait that facilitates testing with futures.

  8. trait IntegrationPatience extends AbstractPatienceConfiguration

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

  9. trait Interruptor extends (Thread) ⇒ Unit

    Strategy for interrupting an operation after a timeout expires.

  10. trait JavaFutures extends Futures

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

  11. trait PatienceConfiguration extends AbstractPatienceConfiguration

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

  12. trait ScalaFutures extends Futures

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

  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 java.nio.channels.Selector passed to the constructor.

  15. class SocketInterruptor extends Interruptor

    Strategy for interrupting an operation in which close is called on the java.net.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 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.

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

  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

    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 PatienceConfiguration

  6. object ScalaFutures extends ScalaFutures

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

  7. object SelectorInterruptor

    Companion object that provides a factory method for a SelectorInterruptor.

  8. object SocketInterruptor

    Companion object that provides a factory method for a SocketInterruptor.

  9. object ThreadInterruptor extends Interruptor

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

  10. object Timeouts extends Timeouts

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

Ungrouped