!tes #3920 Remove TestKit.dilated

This commit is contained in:
Patrik Nordwall 2014-03-12 15:30:48 +01:00
parent 7d40ca1840
commit 66e4ca9e93
2 changed files with 3 additions and 8 deletions

View file

@ -44,3 +44,6 @@ The following, previously deprecated, features have been removed:
* JavaLoggingEventHandler, replaced by JavaLogger * JavaLoggingEventHandler, replaced by JavaLogger
* UntypedActorFactory * UntypedActorFactory
* Java API TestKit.dilated, moved to JavaTestKit.dilated

View file

@ -748,14 +748,6 @@ object TestKit {
*/ */
def now: Duration = System.nanoTime().nanos def now: Duration = System.nanoTime().nanos
/**
* Java API: Scale timeouts (durations) during tests with the configured
* 'akka.test.timefactor'.
*/
@deprecated("Use JavaTestKit.dilated", "2.3")
def dilated(duration: Duration, system: ActorSystem): Duration =
duration * TestKitExtension(system).TestTimeFactor
/** /**
* Shut down an actor system and wait for termination. * Shut down an actor system and wait for termination.
* On failure debug output will be logged about the remaining actors in the system. * On failure debug output will be logged about the remaining actors in the system.