Class DefaultCMSPageServiceIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.servicelayer.ServicelayerTransactionalTest
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSPageServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class DefaultCMSPageServiceIntegrationTest
extends ServicelayerTransactionalTest
-
Field Summary
Fields 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 SearchPageDatavoidsetUp()voidvoidvoidIn multi-country, a position of one page template may have multi-slot.voidvoidvoidMethods 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
-
DefaultCMSPageServiceIntegrationTest
public DefaultCMSPageServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
ImpExException
-
shouldSortLocalBeforeRegionContentSlot
public void shouldSortLocalBeforeRegionContentSlot() -
shouldSortContentSlotBeEmpty_NoLocalizationForRootSlot
public void shouldSortContentSlotBeEmpty_NoLocalizationForRootSlot() -
shouldGetContentSlotsForPage
public void shouldGetContentSlotsForPage() -
shouldGetContentSlotsForPageInMultiCountry
public void shouldGetContentSlotsForPageInMultiCountry()In multi-country, a position of one page template may have multi-slot. If in current content catalog doesn't have slot at position SiteLogo, it should use the online parent content catalog slot at the same position. For example, if region catalog at SiteLogo does not have slot, it should use the global online version slot at the SiteLogo. if local catalog at SiteLogo does not have slot, it should use the region online version slot at the siteLogo; if region online also has no slot, it should use the online global version slot at the SiteLogo. -
shouldFindAllPages
public void shouldFindAllPages() -
createPaginationData
-