Class DefaultItemSynchronizationServiceIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.cmsfacades.util.BaseIntegrationTest
-
- de.hybris.platform.cmsfacades.synchronization.service.impl.DefaultItemSynchronizationServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultItemSynchronizationServiceIntegrationTest extends BaseIntegrationTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cmsfacades.util.BaseIntegrationTest
springCustomContextLoader, 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 DefaultItemSynchronizationServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
convertToCatalogVersion(ContentSlotForPageModel contentSlotForPageModel)
protected java.lang.String
convertToUniqueKeyForContentSlotForPage(ContentSlotForPageModel contentSlotForPageModel)
protected java.util.List<ContentSlotForPageModel>
extractPageRelations(java.util.List<ItemModel> items)
void
setup()
void
shouldCollectPageRelationsFromOnlineCatalogVersion()
void
shouldCollectPageRelationsFromOnlineCatalogVersionEvenIfTheRelationDoesNotExistInSourceCatalogVersion()
void
shouldNotCollectPageRelationsFromPageThatDoesNotExistsInOnlineCatalogVersion()
void
shouldNotCollectTargetCatalogVersionRelationsIfTargetCatalogVersionIsNotProvided()
-
Methods inherited from class de.hybris.platform.cmsfacades.util.BaseIntegrationTest
setCurrentUser, setCurrentUserCmsEditor, setCurrentUserCmsManager
-
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()
-
shouldCollectPageRelationsFromOnlineCatalogVersion
public void shouldCollectPageRelationsFromOnlineCatalogVersion()
-
shouldNotCollectPageRelationsFromPageThatDoesNotExistsInOnlineCatalogVersion
public void shouldNotCollectPageRelationsFromPageThatDoesNotExistsInOnlineCatalogVersion()
-
shouldCollectPageRelationsFromOnlineCatalogVersionEvenIfTheRelationDoesNotExistInSourceCatalogVersion
public void shouldCollectPageRelationsFromOnlineCatalogVersionEvenIfTheRelationDoesNotExistInSourceCatalogVersion()
-
shouldNotCollectTargetCatalogVersionRelationsIfTargetCatalogVersionIsNotProvided
public void shouldNotCollectTargetCatalogVersionRelationsIfTargetCatalogVersionIsNotProvided()
-
extractPageRelations
protected java.util.List<ContentSlotForPageModel> extractPageRelations(java.util.List<ItemModel> items)
-
convertToUniqueKeyForContentSlotForPage
protected java.lang.String convertToUniqueKeyForContentSlotForPage(ContentSlotForPageModel contentSlotForPageModel)
-
convertToCatalogVersion
protected java.lang.String convertToCatalogVersion(ContentSlotForPageModel contentSlotForPageModel)
-
-