Skip navigation links
A B C D F G I K L N P R S T U V 

A

accept(T) - Method in interface io.vertx.junit5.ParameterClosingConsumer
 
afterAll(ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
 
afterEach(ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
 
afterTestExecution(ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
 
apply() - Method in interface io.vertx.junit5.VertxTestContext.ExecutionBlock
 
assertComplete(Future<T>) - Method in class io.vertx.junit5.VertxTestContext
This method allows you to check if a future is completed.
assertFailure(Future<T>) - Method in class io.vertx.junit5.VertxTestContext
This method allows you to check if a future is failed.
awaitCompletion(long, TimeUnit) - Method in class io.vertx.junit5.VertxTestContext
Wait for the completion of the test context.

B

beforeAll(ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
 
beforeEach(ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
 
beforeTestExecution(ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
 

C

causeOfFailure() - Method in class io.vertx.junit5.VertxTestContext
Give the cause of failure.
Checkpoint - Interface in io.vertx.junit5
A test completion checkpoint, flagging it advances towards the test context completion.
checkpoint() - Method in class io.vertx.junit5.VertxTestContext
Create a strict checkpoint.
checkpoint(int) - Method in class io.vertx.junit5.VertxTestContext
Create a strict checkpoint.
close() - Method in class io.vertx.junit5.ScopedObject
 
completed() - Method in class io.vertx.junit5.VertxTestContext
Check if the context has completed.
completeNow() - Method in class io.vertx.junit5.VertxTestContext
Complete the test context immediately, making the corresponding test pass.
completing() - Method in class io.vertx.junit5.VertxTestContext

D

DEFAULT_TIMEOUT_DURATION - Static variable in class io.vertx.junit5.VertxExtension
Default timeout.
DEFAULT_TIMEOUT_UNIT - Static variable in class io.vertx.junit5.VertxExtension
Default timeout unit.

F

failed() - Method in class io.vertx.junit5.VertxTestContext
Check if the context has been marked has failed or not.
failing() - Method in class io.vertx.junit5.VertxTestContext
Deprecated.
Use VertxTestContext.failingThenComplete() or VertxTestContext.failing(Handler), for example failing(e -> checkpoint.flag()), failing(e -> { more testing code }), or failing(e -> {}).
failing(Handler<Throwable>) - Method in class io.vertx.junit5.VertxTestContext
Create an asynchronous result handler that expects a failure, and passes the exception to another handler.
failingThenComplete() - Method in class io.vertx.junit5.VertxTestContext
Create an asynchronous result handler that expects a failure to then complete the test context.
failNow(Throwable) - Method in class io.vertx.junit5.VertxTestContext
Make the test context fail immediately, making the corresponding test fail.
failNow(String) - Method in class io.vertx.junit5.VertxTestContext
Calls VertxTestContext.failNow(Throwable) with the message.
flag() - Method in interface io.vertx.junit5.Checkpoint
Flags the checkpoint.

G

get() - Method in class io.vertx.junit5.ScopedObject
 

I

io.vertx.junit5 - package io.vertx.junit5
This module offers support for writing Vert.x tests with JUnit 5.

K

key() - Method in interface io.vertx.junit5.VertxExtensionParameterProvider
A string to identify the parameter in an extension context.
key() - Method in class io.vertx.junit5.VertxParameterProvider
 
key() - Method in class io.vertx.junit5.VertxTestContextParameterProvider
 

L

laxCheckpoint() - Method in class io.vertx.junit5.VertxTestContext
Create a lax checkpoint.
laxCheckpoint(int) - Method in class io.vertx.junit5.VertxTestContext
Create a lax checkpoint.

N

newInstance(ExtensionContext, ParameterContext) - Method in interface io.vertx.junit5.VertxExtensionParameterProvider
Provide a new parameter instance.
newInstance(ExtensionContext, ParameterContext) - Method in class io.vertx.junit5.VertxParameterProvider
 
newInstance(ExtensionContext, ParameterContext) - Method in class io.vertx.junit5.VertxTestContextParameterProvider
 

P

ParameterClosingConsumer<T> - Interface in io.vertx.junit5
A consumer to close extension parameters, like closing a Vert.x context, a web client, etc.
parameterClosingConsumer() - Method in interface io.vertx.junit5.VertxExtensionParameterProvider
A consumer to close the resource.
parameterClosingConsumer() - Method in class io.vertx.junit5.VertxParameterProvider
 
parameterClosingConsumer() - Method in class io.vertx.junit5.VertxTestContextParameterProvider
 

R

resolveParameter(ParameterContext, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
 

S

ScopedObject<T> - Class in io.vertx.junit5
A parameter as an object with a scope and that can be closed when the scope exits.
succeeding() - Method in class io.vertx.junit5.VertxTestContext
Deprecated.
Use VertxTestContext.succeedingThenComplete() or VertxTestContext.succeeding(Handler), for example succeeding(value -> checkpoint.flag()), succeeding(value -> { more testing code }), or succeeding(value -> {}).
succeeding(Handler<T>) - Method in class io.vertx.junit5.VertxTestContext
Create an asynchronous result handler that expects a success, and passes the value to another handler.
succeedingThenComplete() - Method in class io.vertx.junit5.VertxTestContext
Create an asynchronous result handler that expects a success to then complete the test context.
supportsParameter(ParameterContext, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
 

T

Timeout - Annotation Type in io.vertx.junit5
Specify how long VertxTestContext.awaitCompletion(long, TimeUnit) waits before timing out.
type() - Method in interface io.vertx.junit5.VertxExtensionParameterProvider
The parameter type.
type() - Method in class io.vertx.junit5.VertxParameterProvider
 
type() - Method in class io.vertx.junit5.VertxTestContextParameterProvider
 

U

unsatisfiedCheckpointCallSites() - Method in class io.vertx.junit5.VertxTestContext
Gives the call sites of all unsatisfied checkpoints.

V

verify(VertxTestContext.ExecutionBlock) - Method in class io.vertx.junit5.VertxTestContext
Allow verifications and assertions to be made.
VERTX_INSTANCE_KEY - Static variable in class io.vertx.junit5.VertxExtension
Key for all Vertx instances, including what shims like RxJava should use.
VertxExtension - Class in io.vertx.junit5
JUnit 5 Vert.x extension that allows parameter injection as well as an automatic lifecycle on the VertxTestContext instance.
VertxExtension() - Constructor for class io.vertx.junit5.VertxExtension
 
VertxExtensionParameterProvider<T> - Interface in io.vertx.junit5
A VertxExtension test method parameter provider service provider interface.
VertxParameterProvider - Class in io.vertx.junit5
 
VertxParameterProvider() - Constructor for class io.vertx.junit5.VertxParameterProvider
 
VertxTestContext - Class in io.vertx.junit5
A test context to wait on the outcomes of asynchronous operations.
VertxTestContext() - Constructor for class io.vertx.junit5.VertxTestContext
 
VertxTestContext.ExecutionBlock - Interface in io.vertx.junit5
Interface for an executable block of assertion code.
VertxTestContextParameterProvider - Class in io.vertx.junit5
Vert.x test context parameter provider holder class.
VertxTestContextParameterProvider() - Constructor for class io.vertx.junit5.VertxTestContextParameterProvider
 
A B C D F G I K L N P R S T U V 
Skip navigation links

Copyright © 2021 Eclipse. All rights reserved.