public abstract class BaseSocialActivityInterpreterTestCase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.model.Group |
group |
protected com.liferay.portal.kernel.service.ServiceContext |
serviceContext |
protected com.liferay.trash.TrashHelper |
trashHelper |
Constructor and Description |
---|
BaseSocialActivityInterpreterTestCase() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addActivities() |
protected void |
checkInterpret(long time) |
protected void |
checkLinks() |
protected java.util.List<com.liferay.social.kernel.model.SocialActivity> |
getActivities() |
protected abstract com.liferay.social.kernel.model.SocialActivityInterpreter |
getActivityInterpreter() |
protected com.liferay.social.kernel.model.SocialActivityInterpreter |
getActivityInterpreter(java.lang.String portletId,
java.lang.String className) |
protected abstract int[] |
getActivityTypes() |
protected boolean |
hasActivityType(int activityType) |
protected boolean |
hasClassName(com.liferay.social.kernel.model.SocialActivityInterpreter activityInterpreter,
java.lang.String className) |
protected boolean |
isSupportsRename(java.lang.String className) |
protected boolean |
isSupportsTrash() |
protected abstract void |
moveModelsToTrash() |
protected abstract void |
renameModels() |
protected abstract void |
restoreModelsFromTrash() |
void |
setUp() |
static void |
setUpClass() |
static void |
tearDownClass() |
void |
testActivityInterpreter() |
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.Group group
protected com.liferay.portal.kernel.service.ServiceContext serviceContext
protected com.liferay.trash.TrashHelper trashHelper
public BaseSocialActivityInterpreterTestCase()
public static void setUpClass() throws java.lang.Exception
java.lang.Exception
public static void tearDownClass()
public void setUp() throws java.lang.Exception
java.lang.Exception
public void testActivityInterpreter() throws java.lang.Exception
java.lang.Exception
protected abstract void addActivities() throws java.lang.Exception
java.lang.Exception
protected void checkInterpret(long time) throws java.lang.Exception
java.lang.Exception
protected void checkLinks() throws java.lang.Exception
java.lang.Exception
protected java.util.List<com.liferay.social.kernel.model.SocialActivity> getActivities() throws java.lang.Exception
java.lang.Exception
protected abstract com.liferay.social.kernel.model.SocialActivityInterpreter getActivityInterpreter()
protected com.liferay.social.kernel.model.SocialActivityInterpreter getActivityInterpreter(java.lang.String portletId, java.lang.String className)
protected abstract int[] getActivityTypes()
protected boolean hasActivityType(int activityType)
protected boolean hasClassName(com.liferay.social.kernel.model.SocialActivityInterpreter activityInterpreter, java.lang.String className)
protected boolean isSupportsRename(java.lang.String className)
protected boolean isSupportsTrash()
protected abstract void moveModelsToTrash() throws java.lang.Exception
java.lang.Exception
protected abstract void renameModels() throws java.lang.Exception
java.lang.Exception
protected abstract void restoreModelsFromTrash() throws java.lang.Exception
java.lang.Exception