Liferay 7.0-ce-b4

com.liferay.portlet.subscriptions.test
Class BaseSubscriptionTestCase

java.lang.Object
  extended by com.liferay.portlet.subscriptions.test.BaseSubscriptionTestCase
Direct Known Subclasses:
BaseSubscriptionAuthorTestCase, BaseSubscriptionBaseModelTestCase, BaseSubscriptionClassTypeTestCase, BaseSubscriptionContainerModelTestCase, BaseSubscriptionLocalizedContentTestCase, BaseSubscriptionRootContainerModelTestCase

public abstract class BaseSubscriptionTestCase
extends Object


Field Summary
protected  User creatorUser
           
protected  Group group
           
protected static long PARENT_CONTAINER_MODEL_ID_DEFAULT
           
protected  User user
           
 
Constructor Summary
BaseSubscriptionTestCase()
           
 
Method Summary
protected  long addBaseModel(long userId, long containerModelId)
           
protected  long addContainerModel(long userId, long containerModelId)
           
 void setUp()
           
protected  void updateBaseModel(long userId, long baseModelId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARENT_CONTAINER_MODEL_ID_DEFAULT

protected static final long PARENT_CONTAINER_MODEL_ID_DEFAULT
See Also:
Constant Field Values

creatorUser

@DeleteAfterTestRun
protected User creatorUser

group

@DeleteAfterTestRun
protected Group group

user

@DeleteAfterTestRun
protected User user
Constructor Detail

BaseSubscriptionTestCase

public BaseSubscriptionTestCase()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

addBaseModel

protected long addBaseModel(long userId,
                            long containerModelId)
                     throws Exception
Throws:
Exception

addContainerModel

protected long addContainerModel(long userId,
                                 long containerModelId)
                          throws Exception
Throws:
Exception

updateBaseModel

protected void updateBaseModel(long userId,
                               long baseModelId)
                        throws Exception
Throws:
Exception

Liferay 7.0-ce-b4