public class HandlerExtension 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.TestExecutionExceptionHandler, org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.BeforeEachCallback
Constructor and Description |
---|
HandlerExtension() |
Modifier and Type | Method and Description |
---|---|
void |
afterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
void |
handleTestExecutionException(org.junit.jupiter.api.extension.ExtensionContext extensionContext,
Throwable throwable) |
Object |
resolveParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext,
org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
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 beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws IOException
beforeTestExecution
in interface org.junit.jupiter.api.extension.BeforeTestExecutionCallback
IOException
public void afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
afterTestExecution
in interface org.junit.jupiter.api.extension.AfterTestExecutionCallback
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws Exception
afterEach
in interface org.junit.jupiter.api.extension.AfterEachCallback
Exception
public void handleTestExecutionException(org.junit.jupiter.api.extension.ExtensionContext extensionContext, Throwable throwable) throws Throwable
handleTestExecutionException
in interface org.junit.jupiter.api.extension.TestExecutionExceptionHandler
Throwable
Copyright © 2005–2024 Onix Solutions. All rights reserved.