Class BaseSocialActivityInterpreterTestCase
java.lang.Object
com.liferay.social.activity.test.util.BaseSocialActivityInterpreterTestCase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.portal.kernel.model.Groupprotected com.liferay.portal.kernel.service.ServiceContextprotected com.liferay.trash.TrashHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected List<com.liferay.social.kernel.model.SocialActivity>protected abstract com.liferay.social.kernel.model.SocialActivityInterpreterprotected com.liferay.social.kernel.model.SocialActivityInterpretergetActivityInterpreter(String portletId, String className) protected abstract int[]protected booleanhasActivityType(int activityType) protected booleanhasClassName(com.liferay.social.kernel.model.SocialActivityInterpreter activityInterpreter, String className) protected booleanisSupportsRename(String className) protected booleanprotected abstract voidprotected abstract voidprotected abstract voidvoidsetUp()void
-
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
- Throws:
Exception
-
testActivityInterpreter
- Throws:
Exception
-
addActivities
- Throws:
Exception
-
getActivities
- Throws:
Exception
-
getActivityInterpreter
protected abstract com.liferay.social.kernel.model.SocialActivityInterpreter getActivityInterpreter() -
getActivityInterpreter
-
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
-
isSupportsTrash
protected boolean isSupportsTrash() -
moveModelsToTrash
- Throws:
Exception
-
renameModels
- Throws:
Exception
-
restoreModelsFromTrash
- Throws:
Exception
-