Class DefaultCMSVersionToDataConverterIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.cms2.version.AbstractCMSVersionIntegrationTest
-
- de.hybris.platform.cms2.version.converter.impl.DefaultCMSVersionToDataConverterIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultCMSVersionToDataConverterIntegrationTest extends AbstractCMSVersionIntegrationTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cms2.version.AbstractCMSVersionIntegrationTest
CATALOG_VERSION, catalogVersionService, CMS_CATALOG, cmsAdminPageService, cmsAdminSiteService, cmsVersionService, COMPONENT_FOR_EMPTY_SLOT_UID, contentPage, contentPageCMSVersion, EMPTY_CONTENT_SLOT_UID, HOMEPAGE, modelService, userService
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSVersionToDataConverterIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assertCommonAttributes(CMSVersionPayloadAnalyzer comparator, java.lang.String name, java.lang.String uid)
protected java.util.List<CMSVersionModel>
getAllGeneratedVersions()
protected CMSVersionModel
getVersionByAttributeName(java.lang.String attributeName)
protected boolean
isCustomAttributeType(java.lang.String payloadType)
protected boolean
isPKAttributeType(java.lang.String payloadType)
void
setUp()
void
shouldCreateValidRelatedChildren()
void
shouldGenerateFourVersionsForContentPageAndAllRelatedItems()
void
shouldSaveAllCMSLinkAttributesApartFromContentPageAttributes()
void
shouldSaveAllContentPageAttributesToVersion()
void
shouldSaveAllContentSlotAttributesApartFromContentPageAttributes()
void
shouldSaveAllPageTemplateAttributesApartFromContentPageAttributes()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Overrides:
setUp
in classAbstractCMSVersionIntegrationTest
- Throws:
java.lang.Exception
-
shouldGenerateFourVersionsForContentPageAndAllRelatedItems
public void shouldGenerateFourVersionsForContentPageAndAllRelatedItems()
-
shouldCreateValidRelatedChildren
public void shouldCreateValidRelatedChildren()
-
shouldSaveAllContentPageAttributesToVersion
public void shouldSaveAllContentPageAttributesToVersion()
-
shouldSaveAllContentSlotAttributesApartFromContentPageAttributes
public void shouldSaveAllContentSlotAttributesApartFromContentPageAttributes()
-
shouldSaveAllPageTemplateAttributesApartFromContentPageAttributes
public void shouldSaveAllPageTemplateAttributesApartFromContentPageAttributes()
-
shouldSaveAllCMSLinkAttributesApartFromContentPageAttributes
public void shouldSaveAllCMSLinkAttributesApartFromContentPageAttributes()
-
assertCommonAttributes
protected void assertCommonAttributes(CMSVersionPayloadAnalyzer comparator, java.lang.String name, java.lang.String uid)
-
isCustomAttributeType
protected boolean isCustomAttributeType(java.lang.String payloadType)
-
getVersionByAttributeName
protected CMSVersionModel getVersionByAttributeName(java.lang.String attributeName)
-
getAllGeneratedVersions
protected java.util.List<CMSVersionModel> getAllGeneratedVersions()
-
isPKAttributeType
protected boolean isPKAttributeType(java.lang.String payloadType)
-
-