Class DbModelAdjusterTest

java.lang.Object
de.hybris.bootstrap.ddl.DbModelAdjusterTest

@UnitTest public class DbModelAdjusterTest extends Object
Tests for DbModelAdjuster and contained inner classes.
  • 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()