Class DefaultCMSAdminContentSlotServiceIntegrationTest
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.admin.impl.DefaultCMSAdminContentSlotServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class DefaultCMSAdminContentSlotServiceIntegrationTest
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 TypeMethodDescriptionvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
DefaultCMSAdminContentSlotServiceIntegrationTest
public DefaultCMSAdminContentSlotServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
multiCountrySetUp
- Throws:
ImpExException
-
shouldAddComponentToContentSlot_firstPosition
public void shouldAddComponentToContentSlot_firstPosition() -
shouldAddComponentToContentSlot_secondPosition
public void shouldAddComponentToContentSlot_secondPosition() -
shouldThrowTypePermissionExceptionIfUSerDoesNotHaveChangePermissionOnContentSlotType
public void shouldThrowTypePermissionExceptionIfUSerDoesNotHaveChangePermissionOnContentSlotType() -
shouldAddComponentToContentSlot_thirdPosition
public void shouldAddComponentToContentSlot_thirdPosition() -
shouldFail_nullIndex
public void shouldFail_nullIndex() -
shouldFail_negativeIndex
public void shouldFail_negativeIndex() -
shouldSortLocalizedContentSlot
- Throws:
ImpExException
-
shouldSortContentSlotBeEmpty_NoLocalizationForRootSlot
- Throws:
ImpExException
-
shouldGetOverrideForGlobalSlot
- Throws:
ImpExException
-
shouldGetNoOverrideForChildSlot
- Throws:
ImpExException
-
shouldGetAllContentSlotsDefinedForPageTemplateAsWellAsCustomSlots
public void shouldGetAllContentSlotsDefinedForPageTemplateAsWellAsCustomSlots() throws ImpExException- Throws:
ImpExException
-
shouldGetAllContentSlotsForPageInGlobalCatalog
- Throws:
ImpExException
-