Class TestTransport$


  • public class TestTransport$
    extends java.lang.Object
    Deprecated.
    Classic remoting is deprecated, use Artery. Since 2.6.0.
    Test utility to make behavior of functions that return some Future[B] controllable from tests. This tool is able to overwrite default behavior with any generic behavior, including failure, and exposes control to the timing of the completion of the returned future.

    The utility is implemented as a stack of behaviors, where the behavior on the top of the stack represents the currently active behavior. The bottom of the stack always contains the defaultBehavior which can not be popped out.

    param: defaultBehavior The original behavior that might be overwritten. It is always possible to restore this behavior

    param: logCallback Function that will be called independently of the current active behavior

    type parameter A: - Parameter type of the wrapped function. If it takes multiple parameters it must be wrapped in a tuple.

    type parameter B: - Type parameter of the future that the original function returns.

    • Field Detail

      • MODULE$

        public static final TestTransport$ MODULE$
        Deprecated.
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • TestTransport$

        public TestTransport$()
        Deprecated.
    • Method Detail

      • $lessinit$greater$default$3

        public int $lessinit$greater$default$3()
        Deprecated.
      • $lessinit$greater$default$4

        public java.lang.String $lessinit$greater$default$4()
        Deprecated.