Class BaseSocialActivityInterpreterTestCase

java.lang.Object
com.liferay.social.activity.test.util.BaseSocialActivityInterpreterTestCase

public abstract class BaseSocialActivityInterpreterTestCase extends Object
  • Field Details

    • group

      @DeleteAfterTestRun protected com.liferay.portal.kernel.model.Group group
    • serviceContext

      protected com.liferay.portal.kernel.service.ServiceContext serviceContext
    • trashHelper

      protected com.liferay.trash.TrashHelper trashHelper
  • Constructor Details

    • BaseSocialActivityInterpreterTestCase

      public BaseSocialActivityInterpreterTestCase()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • testActivityInterpreter

      public void testActivityInterpreter() throws Exception
      Throws:
      Exception
    • addActivities

      protected abstract void addActivities() throws Exception
      Throws:
      Exception
    • getActivities

      protected List<com.liferay.social.kernel.model.SocialActivity> getActivities() throws Exception
      Throws:
      Exception
    • getActivityInterpreter

      protected abstract com.liferay.social.kernel.model.SocialActivityInterpreter getActivityInterpreter()
    • getActivityInterpreter

      protected com.liferay.social.kernel.model.SocialActivityInterpreter getActivityInterpreter(String portletId, String className)
    • getActivityTypes

      protected abstract int[] getActivityTypes()
    • hasActivityType

      protected boolean hasActivityType(int activityType)
    • hasClassName

      protected boolean hasClassName(com.liferay.social.kernel.model.SocialActivityInterpreter activityInterpreter, String className)
    • isSupportsRename

      protected boolean isSupportsRename(String className)
    • isSupportsTrash

      protected boolean isSupportsTrash()
    • moveModelsToTrash

      protected abstract void moveModelsToTrash() throws Exception
      Throws:
      Exception
    • renameModels

      protected abstract void renameModels() throws Exception
      Throws:
      Exception
    • restoreModelsFromTrash

      protected abstract void restoreModelsFromTrash() throws Exception
      Throws:
      Exception