A B C D F G I K L N P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(T) - Method in interface io.vertx.junit5.ParameterClosingConsumer
- afterAll(ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- afterEach(ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- 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.RunTestOnContext
C
- causeOfFailure() - Method in class io.vertx.junit5.VertxTestContext
-
Give the cause of failure.
- 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.
- Checkpoint - Interface in io.vertx.junit5
-
A test completion checkpoint, flagging it advances towards the test context completion.
- 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
-
Deprecated.Use
VertxTestContext.succeedingThenComplete()instead. - CountingCheckpoint - Class in io.vertx.junit5
-
Checkpoints that count the number of flag invocations.
- creationCallSite() - Method in class io.vertx.junit5.CountingCheckpoint
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()orVertxTestContext.failing(Handler), for examplefailing(e -> checkpoint.flag()),failing(e -> { more testing code }), orfailing(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(String) - Method in class io.vertx.junit5.VertxTestContext
-
Calls
VertxTestContext.failNow(Throwable)with themessage. - failNow(Throwable) - Method in class io.vertx.junit5.VertxTestContext
-
Make the test context fail immediately, making the corresponding test fail.
- flag() - Method in interface io.vertx.junit5.Checkpoint
-
Flags the checkpoint.
- flag() - Method in class io.vertx.junit5.CountingCheckpoint
G
- get() - Method in class io.vertx.junit5.ScopedObject
- getVertxOptions() - Method in class io.vertx.junit5.VertxParameterProvider
I
- interceptAfterAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- interceptAfterAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
- interceptAfterEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- interceptAfterEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
- interceptBeforeAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- interceptBeforeAllMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
- interceptBeforeEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- interceptBeforeEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
- interceptDynamicTest(InvocationInterceptor.Invocation<Void>, DynamicTestInvocationContext, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
- interceptDynamicTest(InvocationInterceptor.Invocation<Void>, ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- interceptTestFactoryMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
- interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.RunTestOnContext
- interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
- io.vertx.junit5 - package io.vertx.junit5
-
This module offers support for writing Vert.x tests with JUnit 5.
- io.vertx.testing.junit5 - module io.vertx.testing.junit5
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.
- laxCountingCheckpoint(Consumer<Checkpoint>, int) - Static method in class io.vertx.junit5.CountingCheckpoint
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() - 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
- ParameterClosingConsumer<T> - Interface in io.vertx.junit5
-
A consumer to close extension parameters, like closing a Vert.x context, a web client, etc.
R
- resolveParameter(ParameterContext, ExtensionContext) - Method in class io.vertx.junit5.VertxExtension
- RunTestOnContext - Class in io.vertx.junit5
-
An extension that runs tests on a Vert.x context.
- RunTestOnContext() - Constructor for class io.vertx.junit5.RunTestOnContext
-
Create an instance of this extension that builds a
Vertxobject using default options. - RunTestOnContext(VertxOptions, boolean) - Constructor for class io.vertx.junit5.RunTestOnContext
-
Create an instance of this extension that builds a
Vertxobject using the specifiedoptions. - RunTestOnContext(Supplier<Future<Vertx>>) - Constructor for class io.vertx.junit5.RunTestOnContext
-
Create an instance of this extension that gets a
Vertxobject using the specified asynchronoussupplier. - RunTestOnContext(Supplier<Future<Vertx>>, Function<Vertx, Future<Void>>) - Constructor for class io.vertx.junit5.RunTestOnContext
-
Create an instance of this extension that gets a
Vertxobject using the specified asynchronoussupplier.
S
- satisfied() - Method in class io.vertx.junit5.CountingCheckpoint
- ScopedObject<T> - Class in io.vertx.junit5
-
A parameter as an object with a scope and that can be closed when the scope exits.
- strictCountingCheckpoint(Consumer<Checkpoint>, Consumer<Throwable>, int) - Static method in class io.vertx.junit5.CountingCheckpoint
- 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. - timeUnit() - Method in annotation type io.vertx.junit5.Timeout
- 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
- value() - Method in annotation type io.vertx.junit5.Timeout
- verify(VertxTestContext.ExecutionBlock) - Method in class io.vertx.junit5.VertxTestContext
-
Allow verifications and assertions to be made.
- vertx() - Method in class io.vertx.junit5.RunTestOnContext
- VERTX_INSTANCE_KEY - Static variable in class io.vertx.junit5.VertxExtension
-
Key for all
Vertxinstances, including what shims like RxJava should use. - VERTX_PARAMETER_FILENAME - Static variable in class io.vertx.junit5.VertxParameterProvider
- VERTX_PARAMETER_FILENAME_ENV_VAR - Static variable in class io.vertx.junit5.VertxParameterProvider
- VERTX_PARAMETER_FILENAME_SYS_PROP - Static variable in class io.vertx.junit5.VertxParameterProvider
- VertxExtension - Class in io.vertx.junit5
-
JUnit 5 Vert.x extension that allows parameter injection as well as an automatic lifecycle on the
VertxTestContextinstance. - VertxExtension() - Constructor for class io.vertx.junit5.VertxExtension
- VertxExtensionParameterProvider<T> - Interface in io.vertx.junit5
-
A
VertxExtensiontest 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
All Classes All Packages