| Package | Description |
|---|---|
| io.vertx.junit5 | |
| io.vertx.junit5.web |
| Modifier and Type | Method and Description |
|---|---|
VertxTestContext |
VertxTestContext.verify(VertxTestContext.ExecutionBlock block)
Allow verifications and assertions to be made.
|
| Modifier and Type | Method and Description |
|---|---|
Future<HttpResponse<Buffer>> |
TestRequest.send(VertxTestContext testContext)
Send and complete test context with
completeNow() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.send(VertxTestContext testContext,
Checkpoint checkpoint)
Send and flag the provided checkpoint with
Checkpoint.flag() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.send(VertxTestContext testContext,
VertxTestContext.ExecutionBlock onEnd)
Send and execute
onEnd code block wrapped in verify(VertxTestContext.ExecutionBlock)
when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendBuffer(Buffer buf,
VertxTestContext testContext)
Send a
Buffer and complete test context with completeNow() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendBuffer(Buffer buf,
VertxTestContext testContext,
Checkpoint checkpoint)
Send a
Buffer and flag the provided checkpoint with Checkpoint.flag() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendBuffer(Buffer buf,
VertxTestContext testContext,
VertxTestContext.ExecutionBlock onEnd)
Send a
Buffer and execute onEnd code block wrapped in verify(VertxTestContext.ExecutionBlock)
when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendJson(Object json,
VertxTestContext testContext)
Send a json and complete test context with
completeNow() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendJson(Object json,
VertxTestContext testContext,
Checkpoint checkpoint)
Send a json and flag the provided checkpoint with
Checkpoint.flag() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendJson(Object json,
VertxTestContext testContext,
VertxTestContext.ExecutionBlock onEnd)
Send a json and execute
onEnd code block wrapped in verify(VertxTestContext.ExecutionBlock)
when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendMultipartForm(MultipartForm form,
VertxTestContext testContext)
Send a multipart form and complete test context with
completeNow() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendMultipartForm(MultipartForm form,
VertxTestContext testContext,
Checkpoint checkpoint)
Send a multipart form and flag the provided checkpoint with
Checkpoint.flag() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendMultipartForm(MultipartForm form,
VertxTestContext testContext,
VertxTestContext.ExecutionBlock onEnd)
Send a multipart form and execute
onEnd code block wrapped in verify(VertxTestContext.ExecutionBlock)
when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendURLEncodedForm(MultiMap form,
VertxTestContext testContext)
Send an URL Encoded form and complete test context with
completeNow() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendURLEncodedForm(MultiMap form,
VertxTestContext testContext,
Checkpoint checkpoint)
Send an URL Encoded form and flag the provided checkpoint with
Checkpoint.flag() when request is completed and no assertion fails |
Future<HttpResponse<Buffer>> |
TestRequest.sendURLEncodedForm(MultiMap form,
VertxTestContext testContext,
VertxTestContext.ExecutionBlock onEnd)
Send an URL Encoded form and execute
onEnd code block wrapped in verify(VertxTestContext.ExecutionBlock)
when request is completed and no assertion fails |
Copyright © 2019 Eclipse. All rights reserved.