com.miguno.akka

testing

package testing

Visibility
  1. Public
  2. All

Type Members

  1. class MockScheduler extends Scheduler

    A scheduler whose tick can be triggered manually, which is helpful for testing purposes.

    A scheduler whose tick can be triggered manually, which is helpful for testing purposes. Tasks are executed synchronously when tick is called.

    Typically this scheduler is used indirectly via a VirtualTime instance.

    Note: For simplicity reasons the Cancellable instances returned by this scheduler are not functional. ) is a no-op and will always return false. This has the effect that Cancellable.isCancelled will always return false, too, to adhere to the contract of Cancellable.

  2. class VirtualTime extends AnyRef

Ungrouped