Class BaseCTUpgradeProcessTestCase

java.lang.Object
com.liferay.change.tracking.test.util.BaseCTUpgradeProcessTestCase

public abstract class BaseCTUpgradeProcessTestCase extends Object
  • Constructor Details

    • BaseCTUpgradeProcessTestCase

      public BaseCTUpgradeProcessTestCase()
  • Method Details

    • testMissingCtCollectionId

      public void testMissingCtCollectionId() throws Exception
      Throws:
      Exception
    • addCTModel

      protected abstract com.liferay.portal.kernel.model.change.tracking.CTModel<?> addCTModel() throws Exception
      Throws:
      Exception
    • deleteCTModel

      protected void deleteCTModel(long primaryKey) throws Exception
      Throws:
      Exception
    • fetchCTModel

      protected com.liferay.portal.kernel.model.change.tracking.CTModel<?> fetchCTModel(long primaryKey) throws Exception
      Throws:
      Exception
    • getCTService

      protected abstract com.liferay.portal.kernel.service.change.tracking.CTService<?> getCTService()
    • runUpgrade

      protected abstract void runUpgrade() throws Exception
      Throws:
      Exception
    • updateCTModel

      protected abstract com.liferay.portal.kernel.model.change.tracking.CTModel<?> updateCTModel(com.liferay.portal.kernel.model.change.tracking.CTModel<?> ctModel) throws Exception
      Throws:
      Exception