Class BaseIndexedColumnSizeUpgradeProcessTestCase
java.lang.Object
com.liferay.portal.upgrade.test.util.BaseIndexedColumnSizeUpgradeProcessTestCase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static com.liferay.portal.kernel.dao.db.DBstatic final com.liferay.portal.test.rule.LiferayIntegrationTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stringprotected abstract Stringprotected abstract StringgetInsertSQL(String columnName, String columnValue, long id, String tableName) protected abstract intprotected abstract intprotected abstract Stringprotected abstract Stringprotected abstract Stringprotected abstract com.liferay.portal.upgrade.registry.UpgradeStepRegistratorstatic voidvoidtearDown()voidvoid
-
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
- Throws:
Exception
-
testUpgrade
- Throws:
Exception
-
testUpgradeWithDuplicateUniqueIndexEntries
- Throws:
Exception
-
getColumnName
-
getIndexName
-
getInsertSQL
-
getNewColumnLength
protected abstract int getNewColumnLength() -
getOldColumnLength
protected abstract int getOldColumnLength() -
getPrimaryKeyColumnName
-
getTableName
-
getUpgradeProcessClassName
-
getUpgradeStepRegistrator
protected abstract com.liferay.portal.upgrade.registry.UpgradeStepRegistrator getUpgradeStepRegistrator()
-