Class BaseSocialActivityInterpreterTestCase
java.lang.Object
com.liferay.social.activity.test.util.BaseSocialActivityInterpreterTestCase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.portal.kernel.model.Group
protected com.liferay.portal.kernel.service.ServiceContext
protected com.liferay.trash.TrashHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
protected List<com.liferay.social.kernel.model.SocialActivity>
protected abstract com.liferay.social.kernel.model.SocialActivityInterpreter
protected com.liferay.social.kernel.model.SocialActivityInterpreter
getActivityInterpreter
(String portletId, String className) protected abstract int[]
protected boolean
hasActivityType
(int activityType) protected boolean
hasClassName
(com.liferay.social.kernel.model.SocialActivityInterpreter activityInterpreter, String className) protected boolean
isSupportsRename
(String className) protected boolean
protected abstract void
protected abstract void
protected abstract void
void
setUp()
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
-