org.scalatest

concurrent

package concurrent

ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. concurrent
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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 AsyncCancelAfterFailure extends AsyncTestSuiteMixin

    Trait that when mixed into a AsyncTestSuite cancels any remaining tests in that AsyncTestSuite instance after a test fails.

  3. trait AsyncTimeLimitedTests extends AsyncTestSuiteMixin with TimeLimits

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

  4. trait ConductorFixture extends TestSuiteMixin with Conductors

    Trait that can pass a new Conductor fixture into tests.

  5. trait ConductorMethods extends TestSuiteMixin 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 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 SelectorSignaler extends Signaler

    Strategy for signaling an operation in which wakeup is called on the java.nio.channels.Selector passed to the constructor.

  15. trait Signaler extends AnyRef

    Strategy for signaling an operation after a timeout expires.

  16. class SocketSignaler extends Signaler

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

  17. trait TimeLimitedTests extends TestSuiteMixin

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

  18. trait TimeLimits extends AnyRef

    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.

  19. trait Waiters extends PatienceConfiguration

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

  20. type AsyncAssertions = Waiters

    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.

    Annotations
    @deprecated
    Deprecated

    Please use org.scalatest.concurrent.Waiters instead

  21. trait DeprecatedTimeLimitedTests extends TestSuiteMixin

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

  22. trait Interruptor extends (Thread) ⇒ Unit

    Strategy for interrupting an operation after a timeout expires.

  23. class SelectorInterruptor extends Interruptor

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

  24. class SocketInterruptor extends Interruptor

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

  25. trait Timeouts extends AnyRef

    This trait has been deprecated and will be removed in a later version of ScalaTest. Please use trait TimeLimits instead.

Value Members

  1. object DoNotInterrupt extends Interruptor

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

  2. object DoNotSignal extends Signaler

    Signaling strategy in which nothing is done to try and signal or 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 SelectorSignaler

    Companion object that provides a factory method for a SelectorSignaler.

  9. object Signaler

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

  10. object SocketInterruptor

    Companion object that provides a factory method for a SocketInterruptor.

  11. object SocketSignaler

    Companion object that provides a factory method for a SocketSignaler.

  12. object ThreadSignaler extends Signaler

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

  13. object TimeLimits extends TimeLimits

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

  14. object Timeouts extends Timeouts

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

  15. object Waiters extends Waiters

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

Deprecated Value Members

  1. val AsyncAssertions: Waiters.type

    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.

    Annotations
    @deprecated
    Deprecated

    Please use org.scalatest.concurrent.Waiters instead

  2. object ThreadInterruptor extends Interruptor

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

Inherited from AnyRef

Inherited from Any

Ungrouped