VertxTestContext.succeedingThenComplete()
instead.VertxTestContext.failingThenComplete()
or VertxTestContext.failing(Handler)
, for example
failing(e -> checkpoint.flag())
, failing(e -> { more testing code })
, or
failing(e -> {})
.VertxTestContext.failNow(Throwable)
with the message
.VertxTestContext.succeedingThenComplete()
or VertxTestContext.succeeding(Handler)
, for example
succeeding(value -> checkpoint.flag())
, succeeding(value -> { more testing code })
, or
succeeding(value -> {})
.VertxTestContext.awaitCompletion(long, TimeUnit)
waits before timing out.Vertx
instances, including what shims like RxJava should use.VertxTestContext
instance.VertxExtension
test method parameter provider service provider interface.Copyright © 2021 Eclipse. All rights reserved.