public class DomainModelExtension extends Object implements org.junit.jupiter.api.extension.TestInstancePostProcessor, org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.TestExecutionExceptionHandler
DomainModelScopeAware)ServiceRegistryScope,
DomainModelExtension| Modifier and Type | Class and Description |
|---|---|
static class |
DomainModelExtension.DomainModelScopeImpl |
| Constructor and Description |
|---|
DomainModelExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterAll(org.junit.jupiter.api.extension.ExtensionContext context) |
protected void |
afterMetadataBuilt(org.hibernate.boot.Metadata metadata) |
protected static void |
applyCacheSettings(org.hibernate.boot.Metadata metadata,
boolean overrideCacheStrategy,
String cacheConcurrencyStrategy) |
static DomainModelScope |
findDomainModelScope(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 DomainModelScope findDomainModelScope(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context)
protected static final void applyCacheSettings(org.hibernate.boot.Metadata metadata,
boolean overrideCacheStrategy,
String cacheConcurrencyStrategy)
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.TestExecutionExceptionHandlerThrowableprotected void afterMetadataBuilt(org.hibernate.boot.Metadata metadata)
Copyright © 2001-2024 Red Hat, Inc. All Rights Reserved.