Package de.hybris.bootstrap.ddl
Class DbModelAdjusterTest
java.lang.Object
de.hybris.bootstrap.ddl.DbModelAdjusterTest
Tests for
DbModelAdjuster and contained inner classes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidshouldReturnExistingIndicesIfAllAreFoundInDesiredTableAndIncludeColumnsAreMixedWihtCoreIndexColumns()void
-
Constructor Details
-
DbModelAdjusterTest
public DbModelAdjusterTest()
-
-
Method Details
-
allInstancesOfIndexEquivalenceShouldAlwaysBeEqual
public void allInstancesOfIndexEquivalenceShouldAlwaysBeEqual() -
shouldDropAllIndicesFromExistingTable
public void shouldDropAllIndicesFromExistingTable() -
shouldReturnExistingIndexForExistingTableWhenNothingChanged
public void shouldReturnExistingIndexForExistingTableWhenNothingChanged() -
shouldReturnExistingIndexForExistingTableWhenNothingChangedExceptColumnNameCase
public void shouldReturnExistingIndexForExistingTableWhenNothingChangedExceptColumnNameCase() -
shouldReturnExistingIndexForExistingTableWithIncludeSectionWhenNothingChangedExceptColumnNameCaseForInclude
public void shouldReturnExistingIndexForExistingTableWithIncludeSectionWhenNothingChangedExceptColumnNameCaseForInclude() -
shouldReturnExistingIndexForExistingTableWhenNothingChangedExceptColumnOrderForIncludeSection
public void shouldReturnExistingIndexForExistingTableWhenNothingChangedExceptColumnOrderForIncludeSection() -
shouldReturnNewIndexForExistingTableWhenIncludeColumnsForIndexChanged
public void shouldReturnNewIndexForExistingTableWhenIncludeColumnsForIndexChanged() -
shouldReturnDesiredIndexForExistingTableWhenIncludeColumnsAreRemoved
public void shouldReturnDesiredIndexForExistingTableWhenIncludeColumnsAreRemoved() -
shouldReturnDesiredIndexForExistingTableWhenIncludeColumnsAreRemoved2
public void shouldReturnDesiredIndexForExistingTableWhenIncludeColumnsAreRemoved2() -
shouldReturnDesiredIndexForExistingTableWhenUniquenessChanged
public void shouldReturnDesiredIndexForExistingTableWhenUniquenessChanged() -
shouldReturnDesiredIndexWithIncludeForExistingTableWhenUniquenessChanged
public void shouldReturnDesiredIndexWithIncludeForExistingTableWhenUniquenessChanged() -
shouldRemoveExistingIndexIfNotFoundInDesiredTable
public void shouldRemoveExistingIndexIfNotFoundInDesiredTable() -
shouldReturnExistingIndicesIfAllAreFoundInDesiredTable
public void shouldReturnExistingIndicesIfAllAreFoundInDesiredTable() -
shouldReturnAdditionalDesiredIndexIfNotExistInExistingTable
public void shouldReturnAdditionalDesiredIndexIfNotExistInExistingTable() -
shouldReturnExistingIndicesIfAllAreFoundInDesiredTableAndIncludeColumnsAreMixedWihtCoreIndexColumns
public void shouldReturnExistingIndicesIfAllAreFoundInDesiredTableAndIncludeColumnsAreMixedWihtCoreIndexColumns()
-