Class BaseIndexedColumnSizeUpgradeProcessTestCase

java.lang.Object
com.liferay.portal.upgrade.test.util.BaseIndexedColumnSizeUpgradeProcessTestCase

public abstract class BaseIndexedColumnSizeUpgradeProcessTestCase extends Object
  • Field Details

    • liferayIntegrationTestRule

      public static final com.liferay.portal.test.rule.LiferayIntegrationTestRule liferayIntegrationTestRule
    • db

      protected static com.liferay.portal.kernel.dao.db.DB db
  • Constructor Details

    • BaseIndexedColumnSizeUpgradeProcessTestCase

      public BaseIndexedColumnSizeUpgradeProcessTestCase()
  • Method Details

    • setUpClass

      public static void setUpClass()
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • testUpgrade

      public void testUpgrade() throws Exception
      Throws:
      Exception
    • testUpgradeWithDuplicateUniqueIndexEntries

      public void testUpgradeWithDuplicateUniqueIndexEntries() throws Exception
      Throws:
      Exception
    • getColumnName

      protected abstract String getColumnName()
    • getIndexName

      protected abstract String getIndexName()
    • getInsertSQL

      protected abstract String getInsertSQL(String columnName, String columnValue, long id, String tableName)
    • getNewColumnLength

      protected abstract int getNewColumnLength()
    • getOldColumnLength

      protected abstract int getOldColumnLength()
    • getPrimaryKeyColumnName

      protected abstract String getPrimaryKeyColumnName()
    • getTableName

      protected abstract String getTableName()
    • getUpgradeProcessClassName

      protected abstract String getUpgradeProcessClassName()
    • getUpgradeStepRegistrator

      protected abstract com.liferay.portal.upgrade.registry.UpgradeStepRegistrator getUpgradeStepRegistrator()