public class ServiceRegistryExtension extends Object implements org.junit.jupiter.api.extension.TestInstancePostProcessor, org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.TestExecutionExceptionHandler
| Constructor and Description |
|---|
ServiceRegistryExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterAll(org.junit.jupiter.api.extension.ExtensionContext context) |
static org.hibernate.boot.registry.StandardServiceRegistry |
findServiceRegistry(Object testInstance,
org.junit.jupiter.api.extension.ExtensionContext context) |
static ServiceRegistryScope |
findServiceRegistryScope(Object testInstance,
org.junit.jupiter.api.extension.ExtensionContext context) |
void |
handleTestExecutionException(org.junit.jupiter.api.extension.ExtensionContext context,
Throwable throwable) |
void |
postProcessTestInstance(Object testInstance,
org.junit.jupiter.api.extension.ExtensionContext context) |
public static org.hibernate.boot.registry.StandardServiceRegistry findServiceRegistry(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context)
public static ServiceRegistryScope findServiceRegistryScope(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context)
public void postProcessTestInstance(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context)
postProcessTestInstance in interface org.junit.jupiter.api.extension.TestInstancePostProcessorpublic void afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
afterAll in interface org.junit.jupiter.api.extension.AfterAllCallbackpublic void handleTestExecutionException(org.junit.jupiter.api.extension.ExtensionContext context,
Throwable throwable)
throws Throwable
handleTestExecutionException in interface org.junit.jupiter.api.extension.TestExecutionExceptionHandlerThrowableCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.