=tes,act,doc Make dilated an extension method and deprecate TestKit.dilated in favor of JavaTestKit.dilated
This commit is contained in:
parent
b1b18cb086
commit
b1d794e9af
7 changed files with 21 additions and 31 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue