com.liferay.portlet.social.test
Class BaseSocialActivityInterpreterTestCase
java.lang.Object
com.liferay.portlet.social.test.BaseSocialActivityInterpreterTestCase
public abstract class BaseSocialActivityInterpreterTestCase
- extends Object
|
Field Summary |
protected com.liferay.portal.kernel.model.Group |
group
|
protected com.liferay.portal.kernel.service.ServiceContext |
serviceContext
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
group
@DeleteAfterTestRun
protected com.liferay.portal.kernel.model.Group group
serviceContext
protected com.liferay.portal.kernel.service.ServiceContext serviceContext
BaseSocialActivityInterpreterTestCase
public BaseSocialActivityInterpreterTestCase()
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
checkInterpret
protected void checkInterpret(long time)
throws Exception
- Throws:
Exception
checkLinks
protected void checkLinks()
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