Liferay 7.0-ce-b4

com.liferay.portlet.subscriptions.test
Class BaseSubscriptionLocalizedContentTestCase

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

public abstract class BaseSubscriptionLocalizedContentTestCase
extends BaseSubscriptionTestCase


Field Summary
protected  Locale defaultLocale
           
protected static String GERMAN_BODY
           
protected  Layout layout
           
protected  Map<Locale,String> localizedContents
           
protected static String SPANISH_BODY
           
 
Fields inherited from class com.liferay.portlet.subscriptions.test.BaseSubscriptionTestCase
creatorUser, group, PARENT_CONTAINER_MODEL_ID_DEFAULT, user
 
Constructor Summary
BaseSubscriptionLocalizedContentTestCase()
           
 
Method Summary
protected abstract  void addSubscriptionContainerModel(long containerModelId)
           
protected  long getDefaultContainerModelId()
           
protected abstract  String getPortletId()
           
protected  String getServiceName()
           
protected abstract  String getSubscriptionAddedBodyPreferenceName()
           
protected abstract  String getSubscriptionUpdatedBodyPreferenceName()
           
protected  void setBaseModelSubscriptionBodyPreferences(String bodyPreferenceName)
           
 void setUp()
           
 void tearDown()
           
 void testSubscriptionLocalizedContentWhenAddingBaseModel()
           
 void testSubscriptionLocalizedContentWhenUpdatingBaseModel()
           
 
Methods inherited from class com.liferay.portlet.subscriptions.test.BaseSubscriptionTestCase
addBaseModel, addContainerModel, updateBaseModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GERMAN_BODY

protected static final String GERMAN_BODY
See Also:
Constant Field Values

SPANISH_BODY

protected static final String SPANISH_BODY
See Also:
Constant Field Values

defaultLocale

protected Locale defaultLocale

layout

protected Layout layout

localizedContents

protected Map<Locale,String> localizedContents
Constructor Detail

BaseSubscriptionLocalizedContentTestCase

public BaseSubscriptionLocalizedContentTestCase()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class BaseSubscriptionTestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testSubscriptionLocalizedContentWhenAddingBaseModel

public void testSubscriptionLocalizedContentWhenAddingBaseModel()
                                                         throws Exception
Throws:
Exception

testSubscriptionLocalizedContentWhenUpdatingBaseModel

public void testSubscriptionLocalizedContentWhenUpdatingBaseModel()
                                                           throws Exception
Throws:
Exception

addSubscriptionContainerModel

protected abstract void addSubscriptionContainerModel(long containerModelId)
                                               throws Exception
Throws:
Exception

getDefaultContainerModelId

protected long getDefaultContainerModelId()

getPortletId

protected abstract String getPortletId()

getServiceName

protected String getServiceName()

getSubscriptionAddedBodyPreferenceName

protected abstract String getSubscriptionAddedBodyPreferenceName()

getSubscriptionUpdatedBodyPreferenceName

protected abstract String getSubscriptionUpdatedBodyPreferenceName()

setBaseModelSubscriptionBodyPreferences

protected void setBaseModelSubscriptionBodyPreferences(String bodyPreferenceName)
                                                throws Exception
Throws:
Exception

Liferay 7.0-ce-b4