T
- Parameter typepublic interface VertxExtensionParameterProvider<T>
VertxExtension
test method parameter provider service provider interface.
You can register new providers by pointing to implementations in the
META-INF/services/io.vertx.junit5.VertxExtensionParameterProvider
resource.
Modifier and Type | Method and Description |
---|---|
String |
key()
A string to identify the parameter in an extension context.
|
T |
newInstance(org.junit.jupiter.api.extension.ExtensionContext extensionContext,
org.junit.jupiter.api.extension.ParameterContext parameterContext)
Provide a new parameter instance.
|
ParameterClosingConsumer<T> |
parameterClosingConsumer()
A consumer to close the resource.
|
Class<T> |
type()
The parameter type.
|
String key()
In most cases it should be a constant.
T newInstance(org.junit.jupiter.api.extension.ExtensionContext extensionContext, org.junit.jupiter.api.extension.ParameterContext parameterContext)
extensionContext
- the extension contextparameterContext
- the parameter contextParameterClosingConsumer<T> parameterClosingConsumer()
Copyright © 2021 Eclipse. All rights reserved.