Class TestCompletion


  • public class TestCompletion
    extends Completion<Void>
    This object provides callback-ability for the end of a test suite, the completion succeeds when all tests pass otherwise it fails.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • TestCompletion

        public TestCompletion​(io.vertx.ext.unit.TestCompletion delegate)
      • TestCompletion

        public TestCompletion​(Object delegate)
    • Method Detail

      • resolve

        public void resolve​(Promise<Void> future)
        Completes the future upon completion, otherwise fails it.
        Overrides:
        resolve in class Completion<Void>
        Parameters:
        future - the future to resolve
      • handler

        public void handler​(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
        Completion handler to receive a completion signal when this completions completes.
        Overrides:
        handler in class Completion<Void>
        Parameters:
        completionHandler - the completion handler
      • handler

        public void handler()
        Completion handler to receive a completion signal when this completions completes.
        Overrides:
        handler in class Completion<Void>
      • rxHandler

        public rx.Single<Void> rxHandler()
        Completion handler to receive a completion signal when this completions completes.
        Overrides:
        rxHandler in class Completion<Void>
        Returns:
      • newInstance

        public static TestCompletion newInstance​(io.vertx.ext.unit.TestCompletion arg)