Liferay 7.0-ce-b4

com.liferay.portlet.subscriptions.test
Class BaseSubscriptionClassTypeTestCase

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

public abstract class BaseSubscriptionClassTypeTestCase
extends BaseSubscriptionTestCase


Field Summary
 
Fields inherited from class com.liferay.portlet.subscriptions.test.BaseSubscriptionTestCase
creatorUser, group, PARENT_CONTAINER_MODEL_ID_DEFAULT, user
 
Constructor Summary
BaseSubscriptionClassTypeTestCase()
           
 
Method Summary
protected abstract  long addBaseModelWithClassType(long containerModelId, long classTypeId)
           
protected abstract  long addClassType()
           
protected abstract  void addSubscriptionClassType(long classTypeId)
           
protected abstract  void deleteSubscriptionClassType(long classTypeId)
           
protected abstract  Long getDefaultClassTypeId()
           
 void testSubscriptionClassTypeWhenAddingBaseModel()
           
 void testSubscriptionClassTypeWhenUpdatingBaseModel()
           
 void testSubscriptionDefaultClassTypeWhenAddingBaseModel()
           
 void testSubscriptionDefaultClassTypeWhenUpdatingBaseModel()
           
 
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

BaseSubscriptionClassTypeTestCase

public BaseSubscriptionClassTypeTestCase()
Method Detail

testSubscriptionClassTypeWhenAddingBaseModel

public void testSubscriptionClassTypeWhenAddingBaseModel()
                                                  throws Exception
Throws:
Exception

testSubscriptionClassTypeWhenUpdatingBaseModel

public void testSubscriptionClassTypeWhenUpdatingBaseModel()
                                                    throws Exception
Throws:
Exception

testSubscriptionDefaultClassTypeWhenAddingBaseModel

public void testSubscriptionDefaultClassTypeWhenAddingBaseModel()
                                                         throws Exception
Throws:
Exception

testSubscriptionDefaultClassTypeWhenUpdatingBaseModel

public void testSubscriptionDefaultClassTypeWhenUpdatingBaseModel()
                                                           throws Exception
Throws:
Exception

addBaseModelWithClassType

protected abstract long addBaseModelWithClassType(long containerModelId,
                                                  long classTypeId)
                                           throws Exception
Throws:
Exception

addClassType

protected abstract long addClassType()
                              throws Exception
Throws:
Exception

addSubscriptionClassType

protected abstract void addSubscriptionClassType(long classTypeId)
                                          throws Exception
Throws:
Exception

deleteSubscriptionClassType

protected abstract void deleteSubscriptionClassType(long classTypeId)
                                             throws Exception
Throws:
Exception

getDefaultClassTypeId

protected abstract Long getDefaultClassTypeId()
                                       throws Exception
Throws:
Exception

Liferay 7.0-ce-b4