Class DefaultCMSVersionServiceIntegrationTest
- 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.service.impl.DefaultCMSVersionServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultCMSVersionServiceIntegrationTest 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 DefaultCMSVersionServiceIntegrationTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.cms2.version.AbstractCMSVersionIntegrationTest
setUp
-
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
-
givenNewVersionWhenLocalAttributeChangedThenPreviewContainsOldLocalAttributeValue
public void givenNewVersionWhenLocalAttributeChangedThenPreviewContainsOldLocalAttributeValue()
-
givenNewVersionWhenLocalAttributeChangedThenRollbackContainsOldLocalAttributeValue
public void givenNewVersionWhenLocalAttributeChangedThenRollbackContainsOldLocalAttributeValue()
-
givenNewVersionWhenReferencedAttributeChangedThenRollbackContainsOldReferencedAttributeValue
public void givenNewVersionWhenReferencedAttributeChangedThenRollbackContainsOldReferencedAttributeValue()
-
givenNewVersionWhenReferencedAttributeChangedThenPreviewContainsOldReferencedAttributeValue
public void givenNewVersionWhenReferencedAttributeChangedThenPreviewContainsOldReferencedAttributeValue()
-
givenTransactionIdWherePageWasVersioned_WhenFindPageVersionedByTransactionIdIsCalled_ThenItReturnsAnEmptyOptional
public void givenTransactionIdWherePageWasVersioned_WhenFindPageVersionedByTransactionIdIsCalled_ThenItReturnsAnEmptyOptional()
-
givenTransactionIdWhereNoPageWasVersioned_WhenFindPageVersionedByTransactionIdIsCalled_ThenItReturnsAnEmptyOptional
public void givenTransactionIdWhereNoPageWasVersioned_WhenFindPageVersionedByTransactionIdIsCalled_ThenItReturnsAnEmptyOptional()
-
givenOldVersionWithoutComponentInSlotWhenComponentIsAddedToSlotThenPreviewOfOldVersionDoesNotContainComponent
public void givenOldVersionWithoutComponentInSlotWhenComponentIsAddedToSlotThenPreviewOfOldVersionDoesNotContainComponent()
-
changeCurrentPageAttribute
protected void changeCurrentPageAttribute()
-
changeCurrentPageComponentAttribute
protected void changeCurrentPageComponentAttribute()
-
getSlotByUidFromCache
protected ContentSlotModel getSlotByUidFromCache(java.lang.String slotUid)
-
addComponentToEmptyContentSlot
protected void addComponentToEmptyContentSlot()
-
getCMSLinkComponentFromCache
protected CMSLinkComponentModel getCMSLinkComponentFromCache(java.lang.String componentUID)
-
-