public abstract class BasePortletDataHandlerTestCase extends Object
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.xml.Element |
missingReferencesElement |
protected com.liferay.exportimport.kernel.lar.PortletDataContext |
portletDataContext |
protected com.liferay.exportimport.kernel.lar.PortletDataHandler |
portletDataHandler |
protected String |
portletId |
protected com.liferay.portal.kernel.xml.Element |
rootElement |
protected com.liferay.portal.kernel.model.Group |
stagingGroup |
protected com.liferay.portal.kernel.zip.ZipWriter |
zipWriter |
Constructor and Description |
---|
BasePortletDataHandlerTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addBooleanParameter(Map<String,String[]> parameterMap,
String namespace,
String name,
boolean value) |
protected void |
addParameters(Map<String,String[]> parameterMap) |
protected abstract void |
addStagedModels() |
protected void |
checkManifestSummary(com.liferay.exportimport.kernel.lar.ManifestSummary expectedManifestSummary) |
protected Date |
getEndDate() |
protected com.liferay.exportimport.kernel.lar.PortletDataHandler |
getPortletDataHandler(String portletId) |
protected abstract String |
getPortletId() |
protected Date |
getStartDate() |
protected void |
initExport() |
void |
setUp() |
void |
testPrepareManifestSummary() |
protected com.liferay.portal.kernel.xml.Element missingReferencesElement
protected com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext
protected com.liferay.exportimport.kernel.lar.PortletDataHandler portletDataHandler
protected String portletId
protected com.liferay.portal.kernel.xml.Element rootElement
@DeleteAfterTestRun protected com.liferay.portal.kernel.model.Group stagingGroup
protected com.liferay.portal.kernel.zip.ZipWriter zipWriter
public void testPrepareManifestSummary() throws Exception
Exception
protected void addBooleanParameter(Map<String,String[]> parameterMap, String namespace, String name, boolean value)
protected void checkManifestSummary(com.liferay.exportimport.kernel.lar.ManifestSummary expectedManifestSummary)
protected Date getEndDate()
protected com.liferay.exportimport.kernel.lar.PortletDataHandler getPortletDataHandler(String portletId)
protected abstract String getPortletId()
protected Date getStartDate()