public abstract class MongoChangeEntryRepositoryITestBase extends IntegrationTestBase
| Modifier and Type | Field and Description |
|---|---|
protected io.mongock.driver.api.entry.ChangeEntryService |
repository |
CHANGELOG_COLLECTION_NAME, DEFAULT_DATABASE_NAME, LOCK_COLLECTION_NAME| Constructor and Description |
|---|
MongoChangeEntryRepositoryITestBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
getEntriesLog_WorksRegardlessOfExecutionMillisMissingIntegerOrLong() |
protected org.bson.Document |
getIndexDocument(String[] uniqueFields) |
protected abstract void |
initializeRepository(boolean indexCreation) |
void |
shouldBeOk_WhenNoIndexCreation_IfIndexAlreadyCreated() |
void |
shouldThrowException_WhenNoIndexCreation_IfIndexNoPreviouslyCreated() |
getAdapter, getDataBase, getDefaultAdapter, getMongoClient@Test
public void shouldThrowException_WhenNoIndexCreation_IfIndexNoPreviouslyCreated()
throws MongockException
MongockException@Test
public void shouldBeOk_WhenNoIndexCreation_IfIndexAlreadyCreated()
throws MongockException
MongockException@Test
public void getEntriesLog_WorksRegardlessOfExecutionMillisMissingIntegerOrLong()
throws MongockException
MongockExceptionprotected abstract void initializeRepository(boolean indexCreation)
protected org.bson.Document getIndexDocument(String[] uniqueFields)
Copyright © 2023. All rights reserved.