Liferay 7.0-ce-b4

com.liferay.portlet.social.test
Class BaseSocialActivityInterpreterTestCase

java.lang.Object
  extended by com.liferay.portlet.social.test.BaseSocialActivityInterpreterTestCase

public abstract class BaseSocialActivityInterpreterTestCase
extends Object


Field Summary
protected  Group group
           
protected  ServiceContext serviceContext
           
 
Constructor Summary
BaseSocialActivityInterpreterTestCase()
           
 
Method Summary
protected abstract  void addActivities()
           
protected  void checkInterpret(long time)
           
protected  void checkLinks()
           
protected  List<SocialActivity> getActivities()
           
protected abstract  SocialActivityInterpreter getActivityInterpreter()
           
protected  SocialActivityInterpreter getActivityInterpreter(String portletId, String className)
           
protected abstract  int[] getActivityTypes()
           
protected  boolean hasActivityType(int activityType)
           
protected  boolean hasClassName(SocialActivityInterpreter activityInterpreter, String className)
           
protected  boolean isSupportsRename(String className)
           
protected  boolean isSupportsTrash()
           
protected abstract  void moveModelsToTrash()
           
protected abstract  void renameModels()
           
protected abstract  void restoreModelsFromTrash()
           
 void setUp()
           
 void testActivityInterpreter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

group

@DeleteAfterTestRun
protected Group group

serviceContext

protected ServiceContext serviceContext
Constructor Detail

BaseSocialActivityInterpreterTestCase

public BaseSocialActivityInterpreterTestCase()
Method Detail

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<SocialActivity> getActivities()
                                      throws Exception
Throws:
Exception

getActivityInterpreter

protected abstract SocialActivityInterpreter getActivityInterpreter()

getActivityInterpreter

protected SocialActivityInterpreter getActivityInterpreter(String portletId,
                                                           String className)

getActivityTypes

protected abstract int[] getActivityTypes()

hasActivityType

protected boolean hasActivityType(int activityType)

hasClassName

protected boolean hasClassName(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

Liferay 7.0-ce-b4