Class DefaultCMSItemFacadeIntegrationTest
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.cmsitems.impl.DefaultCMSItemFacadeIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.cmsfacades.util.BaseIntegrationTest
springCustomContextLoader, userServiceFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.cmsfacades.util.BaseIntegrationTest
setCurrentUser, setCurrentUserCmsEditor, setCurrentUserCmsManagerMethods 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
-
DefaultCMSItemFacadeIntegrationTest
public DefaultCMSItemFacadeIntegrationTest()
-
-
Method Details
-
setup
- Throws:
ImpExException
-
shouldCreateCMSTimeRestrictionWithoutUseStoreTimeZone
- Throws:
CMSItemNotFoundException
-
shouldUpdateCMSTimeRestrictionWithoutUseStoreTimeZone
- Throws:
CMSItemNotFoundException
-
testUpdateContentPageToRestoreWithAnExistingPageLabelShouldDeleteTheCurrentPage
public void testUpdateContentPageToRestoreWithAnExistingPageLabelShouldDeleteTheCurrentPage() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testUpdateProductPageToRestoreWithAnExistingPrimaryShouldDeleteTheCurrentPrimaryPage
public void testUpdateProductPageToRestoreWithAnExistingPrimaryShouldDeleteTheCurrentPrimaryPage() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testThrowExceptionIfUserIsNotParticipantOfActiveWorkflowAction
public void testThrowExceptionIfUserIsNotParticipantOfActiveWorkflowAction() throws ImpExException, CMSItemNotFoundException -
testUserIsParticipantOfActiveWorkflowAction
public void testUserIsParticipantOfActiveWorkflowAction() throws ImpExException, CMSItemNotFoundException -
testApprovalStatusIsCHECKWhenUpdatePageMetaData
- Throws:
CMSItemNotFoundException
-
testApprovalStatusIsCHECKWhenCreateNewPage
- Throws:
CMSItemNotFoundException
-
shouldReturnAttributesConfiguredForType
public void shouldReturnAttributesConfiguredForType() throws ImpExException, CMSItemNotFoundException -
shouldReturnAttributesNotOnlyFromCurrentModeButAlsoFromParentMode
public void shouldReturnAttributesNotOnlyFromCurrentModeButAlsoFromParentMode() throws ImpExException, CMSItemNotFoundException -
shouldReturnAllAttributesIfModeDoesNotExists
public void shouldReturnAllAttributesIfModeDoesNotExists() throws ImpExException, CMSItemNotFoundException -
shouldReturnAllAttributesIfModeNotProvided
public void shouldReturnAllAttributesIfModeNotProvided() throws ImpExException, CMSItemNotFoundException -
shouldReturnAttributesFromAbstractPageConfigAndFromCurrentPageConfig
public void shouldReturnAttributesFromAbstractPageConfigAndFromCurrentPageConfig() throws ImpExException, CMSItemNotFoundException -
injectWorkflowData
- Throws:
ImpExException
-
injectAttributeConfigurationData
- Throws:
ImpExException
-
createElectronicsSite
protected void createElectronicsSite() -
getUuidForAppleStage
-
getComponent
protected Map<String,Object> getComponent(String uid, String catalogId, String catalogVersion) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
getUuid
-