akka.testkit
Interface WatchedByCoroner
- All Known Implementing Classes:
- AkkaSpec, JavaTestKitSpec, TestActorRefSpec, TestActorsSpec, TestFSMRefSpec, TestProbeSpec, TestTimeSpec
public interface WatchedByCoroner
Mixin for tests that should be watched by the Coroner. The startCoroner
and stopCoroner
methods should be called before and after the test runs.
The Coroner will display its report if the test takes longer than the
(dilated) expectedTestDuration
to run.
If displayThreadCounts is set to true, then the Coroner will print thread
counts during start and stop.
coronerWatch
Coroner.WatchHandle coronerWatch()
startCoroner
void startCoroner()
stopCoroner
void stopCoroner()
expectedTestDuration
scala.concurrent.duration.FiniteDuration expectedTestDuration()
displayThreadCounts
boolean displayThreadCounts()
startAndStopDuration
scala.concurrent.duration.FiniteDuration startAndStopDuration()