=tes,act,doc Make dilated an extension method and deprecate TestKit.dilated in favor of JavaTestKit.dilated

This commit is contained in:
Eugene Platonov 2014-02-13 17:43:51 -05:00
parent b1b18cb086
commit b1d794e9af
7 changed files with 21 additions and 31 deletions

View file

@ -364,8 +364,8 @@ invariably lead to spurious test failures on the heavily loaded Jenkins server
internally scaled by a factor taken from the :ref:`configuration`,
``akka.test.timefactor``, which defaults to 1.
You can scale other durations with the same factor by using the implicit conversion
in ``akka.testkit`` package object to add dilated function to :class:`Duration`.
You can scale other durations with the same factor by using ``dilated`` method
in :class:`JavaTestKit`.
.. includecode:: code/docs/testkit/TestKitDocTest.java#duration-dilation