public class IntegrationTestSetupExtension extends Object implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CHANGELOG_COLLECTION_NAME |
protected static String |
DEFAULT_DATABASE_NAME |
protected static String |
LOCK_COLLECTION_NAME |
| Constructor and Description |
|---|
IntegrationTestSetupExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach(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) |
protected com.mongodb.WriteConcern |
getDefaultConnectionWriteConcern() |
protected static final String DEFAULT_DATABASE_NAME
protected static final String CHANGELOG_COLLECTION_NAME
protected static final String LOCK_COLLECTION_NAME
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context)
throws Exception
beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallbackExceptionpublic void beforeEach(org.junit.jupiter.api.extension.ExtensionContext context)
throws Exception
beforeEach in interface org.junit.jupiter.api.extension.BeforeEachCallbackExceptionpublic void afterEach(org.junit.jupiter.api.extension.ExtensionContext context)
throws Exception
afterEach in interface org.junit.jupiter.api.extension.AfterEachCallbackExceptionprotected com.mongodb.WriteConcern getDefaultConnectionWriteConcern()
Copyright © 2023. All rights reserved.