From 66e4ca9e93f51aef0f2cf3e99439fa1a86306f06 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Wed, 12 Mar 2014 15:30:48 +0100 Subject: [PATCH] !tes #3920 Remove TestKit.dilated --- akka-docs/rst/project/migration-guide-2.3.x-2.4.x.rst | 3 +++ akka-testkit/src/main/scala/akka/testkit/TestKit.scala | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/akka-docs/rst/project/migration-guide-2.3.x-2.4.x.rst b/akka-docs/rst/project/migration-guide-2.3.x-2.4.x.rst index 878c6f39bc..7f22d9a8e0 100644 --- a/akka-docs/rst/project/migration-guide-2.3.x-2.4.x.rst +++ b/akka-docs/rst/project/migration-guide-2.3.x-2.4.x.rst @@ -44,3 +44,6 @@ The following, previously deprecated, features have been removed: * JavaLoggingEventHandler, replaced by JavaLogger * UntypedActorFactory + +* Java API TestKit.dilated, moved to JavaTestKit.dilated + diff --git a/akka-testkit/src/main/scala/akka/testkit/TestKit.scala b/akka-testkit/src/main/scala/akka/testkit/TestKit.scala index acb0966c9c..7e1c9a833b 100644 --- a/akka-testkit/src/main/scala/akka/testkit/TestKit.scala +++ b/akka-testkit/src/main/scala/akka/testkit/TestKit.scala @@ -748,14 +748,6 @@ object TestKit { */ 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. * On failure debug output will be logged about the remaining actors in the system.