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
@IntegrationTest public class DefaultCMSItemFacadeIntegrationTest 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 DefaultCMSItemFacadeIntegrationTest()
-
Method Summary
-
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()
-
shouldCreateCMSTimeRestrictionWithoutUseStoreTimeZone
public void shouldCreateCMSTimeRestrictionWithoutUseStoreTimeZone() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
shouldUpdateCMSTimeRestrictionWithoutUseStoreTimeZone
public void shouldUpdateCMSTimeRestrictionWithoutUseStoreTimeZone() throws CMSItemNotFoundException
- 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
public void testApprovalStatusIsCHECKWhenUpdatePageMetaData() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
testApprovalStatusIsCHECKWhenCreateNewPage
public void testApprovalStatusIsCHECKWhenCreateNewPage() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
injectWorkflowData
protected void injectWorkflowData() throws ImpExException
- Throws:
ImpExException
-
createElectronicsSite
protected void createElectronicsSite()
-
getUuidForAppleStage
protected java.lang.String getUuidForAppleStage(java.lang.String uid)
-
getComponent
protected java.util.Map<java.lang.String,java.lang.Object> getComponent(java.lang.String uid, java.lang.String catalogId, java.lang.String catalogVersion) throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
getUuid
protected java.lang.String getUuid(java.lang.String uid, java.lang.String catalogId, java.lang.String catalogVersion)
-
-