public final class VertxExtension extends Object implements org.junit.jupiter.api.extension.ParameterResolver, org.junit.jupiter.api.extension.BeforeTestExecutionCallback, org.junit.jupiter.api.extension.AfterTestExecutionCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback
VertxTestContext
instance.
The following types can be injected:
Constructor and Description |
---|
VertxExtension() |
Modifier and Type | Method and Description |
---|---|
void |
afterAll(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
afterEach(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
beforeEach(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) |
Object |
resolveParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext,
org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
static Vertx |
retrieveRxJava1Vertx(Executable declaringExecutable,
org.junit.jupiter.api.extension.ExtensionContext context) |
static Vertx |
retrieveRxJava2Vertx(Executable declaringExecutable,
org.junit.jupiter.api.extension.ExtensionContext context) |
static Vertx |
retrieveVertx(Executable declaringExecutable,
org.junit.jupiter.api.extension.ExtensionContext context) |
boolean |
supportsParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext,
org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
public boolean supportsParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext, org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws org.junit.jupiter.api.extension.ParameterResolutionException
supportsParameter
in interface org.junit.jupiter.api.extension.ParameterResolver
org.junit.jupiter.api.extension.ParameterResolutionException
public Object resolveParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext, org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws org.junit.jupiter.api.extension.ParameterResolutionException
resolveParameter
in interface org.junit.jupiter.api.extension.ParameterResolver
org.junit.jupiter.api.extension.ParameterResolutionException
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
beforeAll
in interface org.junit.jupiter.api.extension.BeforeAllCallback
Exception
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
afterAll
in interface org.junit.jupiter.api.extension.AfterAllCallback
Exception
public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
beforeEach
in interface org.junit.jupiter.api.extension.BeforeEachCallback
Exception
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
afterEach
in interface org.junit.jupiter.api.extension.AfterEachCallback
Exception
public void beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
beforeTestExecution
in interface org.junit.jupiter.api.extension.BeforeTestExecutionCallback
Exception
public void afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
afterTestExecution
in interface org.junit.jupiter.api.extension.AfterTestExecutionCallback
Exception
public static Vertx retrieveVertx(Executable declaringExecutable, org.junit.jupiter.api.extension.ExtensionContext context)
public static Vertx retrieveRxJava1Vertx(Executable declaringExecutable, org.junit.jupiter.api.extension.ExtensionContext context)
public static Vertx retrieveRxJava2Vertx(Executable declaringExecutable, org.junit.jupiter.api.extension.ExtensionContext context)
Copyright © 2023 Eclipse. All rights reserved.