public abstract class MongoDriverITestBase extends IntegrationTestBase
| Modifier and Type | Field and Description |
|---|---|
static String |
ANY_EXECUTION_ID |
protected static String |
KEY_AUTHOR |
protected static String |
KEY_CHANGE_ID |
protected static String |
KEY_CHANGE_LOG_CLASS |
protected static String |
KEY_CHANGE_SET_METHOD |
protected static String |
KEY_EXECUTION_ID |
protected static String |
KEY_EXECUTION_MILLIS |
protected static String |
KEY_METADATA |
protected static String |
KEY_STATE |
protected static String |
KEY_TIMESTAMP |
static String |
METHOD_PREFIX |
static String |
TEST_USER |
CHANGELOG_COLLECTION_NAME, DEFAULT_DATABASE_NAME, LOCK_COLLECTION_NAME| Constructor and Description |
|---|
MongoDriverITestBase() |
getAdapter, getDataBase, getDefaultAdapter, getMongoClientprotected static final String KEY_EXECUTION_ID
protected static final String KEY_CHANGE_ID
protected static final String KEY_AUTHOR
protected static final String KEY_STATE
protected static final String KEY_TIMESTAMP
protected static final String KEY_CHANGE_LOG_CLASS
protected static final String KEY_CHANGE_SET_METHOD
protected static final String KEY_EXECUTION_MILLIS
protected static final String KEY_METADATA
public static final String ANY_EXECUTION_ID
public static final String TEST_USER
public static final String METHOD_PREFIX
@Test public void shouldRunAllChangeLogsSuccessfully()
@Test
public void shouldRegisterChangeSetAsIgnored_WhenAlreadyExecuted_IfNotRunAlways()
throws NoSuchMethodException
NoSuchMethodException@Test
public void shouldRegisterChangeSetAsExecuted_WhenAlreadyExecuted_IfRunAlways()
throws NoSuchMethodException
NoSuchMethodException@Test
public void shouldRegisterChangeSetAsExecuted_WhenAlreadyIgnored_IfNotRunAlways()
throws NoSuchMethodException
NoSuchMethodException@Test
public void shouldRegisterChangeSetAsExecuted_WhenAlreadyIgnored_IfRunAlways()
throws NoSuchMethodException
NoSuchMethodException@Test
public void shouldRegisterChangeSetAsExecuted_WhenAlreadyFailed_IfNotRunAlways()
throws NoSuchMethodException
NoSuchMethodException@Test
public void shouldRegisterChangeSetAsExecuted_WhenAlreadyFailed_IfRunAlways()
throws NoSuchMethodException
NoSuchMethodException@Test public void shouldUseDifferentChangeLogCollectionName_whenSettingChangeLogCollectionName()
@Test public void shouldFail_WhenRunningChangeLog_IfChangeSetIdDuplicated()
@Test public void shouldPassMongoDatabaseDecoratorToChangeSet()
@Test public void shouldPrioritizeConnectorOverStandardDependencies_WhenThereIsConflict()
@Test public void shouldThrowException_WhenNotIndexCreation_IfNotCreatedBefore()
@Test public void shouldBeOk_WhenNotIndexCreation_IfCreatedBefore()
@Test public void shouldThrowException_WhenNotIndexCreation_IfWrongLockIndexCreated()
@Test public void shouldThrowException_WhenNotIndexCreation_IfChangeLogIndexPartiallyCreated()
protected abstract ConnectionDriverBase getDriverWithTransactionDisabled()
Copyright © 2023. All rights reserved.