public class VertxTestContextParameterProvider extends Object implements VertxExtensionParameterProvider<VertxTestContext>
The implementation does not do anything since that type is a built-in special case, but we need it for the injection mechanism to operate.
| Constructor and Description |
|---|
VertxTestContextParameterProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
key()
A string to identify the parameter in an extension context.
|
VertxTestContext |
newInstance(org.junit.jupiter.api.extension.ExtensionContext extensionContext,
org.junit.jupiter.api.extension.ParameterContext parameterContext)
Provide a new parameter instance.
|
ParameterClosingConsumer<VertxTestContext> |
parameterClosingConsumer()
A consumer to close the resource.
|
Class<VertxTestContext> |
type()
The parameter type.
|
public Class<VertxTestContext> type()
VertxExtensionParameterProvidertype in interface VertxExtensionParameterProvider<VertxTestContext>public String key()
VertxExtensionParameterProviderIn most cases it should be a constant.
key in interface VertxExtensionParameterProvider<VertxTestContext>public VertxTestContext newInstance(org.junit.jupiter.api.extension.ExtensionContext extensionContext, org.junit.jupiter.api.extension.ParameterContext parameterContext)
VertxExtensionParameterProvidernewInstance in interface VertxExtensionParameterProvider<VertxTestContext>extensionContext - the extension contextparameterContext - the parameter contextpublic ParameterClosingConsumer<VertxTestContext> parameterClosingConsumer()
VertxExtensionParameterProviderparameterClosingConsumer in interface VertxExtensionParameterProvider<VertxTestContext>Copyright © 2021 Eclipse. All rights reserved.