Liferay 7.0-ce-b4

com.liferay.portlet.subscriptions.test
Class BaseSubscriptionAuthorTestCase

java.lang.Object
  extended by com.liferay.portlet.subscriptions.test.BaseSubscriptionTestCase
      extended by com.liferay.portlet.subscriptions.test.BaseSubscriptionAuthorTestCase

public abstract class BaseSubscriptionAuthorTestCase
extends BaseSubscriptionTestCase


Field Summary
 
Fields inherited from class com.liferay.portlet.subscriptions.test.BaseSubscriptionTestCase
creatorUser, group, PARENT_CONTAINER_MODEL_ID_DEFAULT, user
 
Constructor Summary
BaseSubscriptionAuthorTestCase()
           
 
Method Summary
protected abstract  void addSubscription(long userId, long containerModelId)
           
protected  boolean isSubscriptionForAuthorEnabled()
           
 void testSubscriptionForAuthorWhenAddingBaseModel()
           
 void testSubscriptionForAuthorWhenUpdatingBaseModel()
           
 
Methods inherited from class com.liferay.portlet.subscriptions.test.BaseSubscriptionTestCase
addBaseModel, addContainerModel, setUp, updateBaseModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSubscriptionAuthorTestCase

public BaseSubscriptionAuthorTestCase()
Method Detail

testSubscriptionForAuthorWhenAddingBaseModel

public void testSubscriptionForAuthorWhenAddingBaseModel()
                                                  throws Exception
Throws:
Exception

testSubscriptionForAuthorWhenUpdatingBaseModel

public void testSubscriptionForAuthorWhenUpdatingBaseModel()
                                                    throws Exception
Throws:
Exception

addSubscription

protected abstract void addSubscription(long userId,
                                        long containerModelId)
                                 throws Exception
Throws:
Exception

isSubscriptionForAuthorEnabled

protected boolean isSubscriptionForAuthorEnabled()

Liferay 7.0-ce-b4