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, userServiceFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertCommonAttributes(CMSVersionPayloadAnalyzer comparator, String name, String uid) protected List<CMSVersionModel>protected CMSVersionModelgetVersionByAttributeName(String attributeName) protected booleanisCustomAttributeType(String payloadType) protected booleanisPKAttributeType(String payloadType) voidsetUp()voidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
DefaultCMSVersionToDataConverterIntegrationTest
public DefaultCMSVersionToDataConverterIntegrationTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classAbstractCMSVersionIntegrationTest- Throws:
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, String name, String uid) -
isCustomAttributeType
-
getVersionByAttributeName
-
getAllGeneratedVersions
-
isPKAttributeType
-