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
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSAdminContentSlotServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmultiCountrySetUp()voidsetUp()voidshouldAddComponentToContentSlot_firstPosition()voidshouldAddComponentToContentSlot_secondPosition()voidshouldAddComponentToContentSlot_thirdPosition()voidshouldFail_negativeIndex()voidshouldFail_nullIndex()voidshouldGetContentSlotsForPage()voidshouldGetNoOverrideForChildSlot()voidshouldGetOverrideForGlobalSlot()voidshouldSortContentSlotBeEmpty_NoLocalizationForRootSlot()voidshouldSortLocalizedContentSlot()voidshouldThrowTypePermissionExceptionIfUSerDoesNotHaveChangePermissionOnContentSlotType()-
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() throws java.lang.Exception- Throws:
java.lang.Exception
-
multiCountrySetUp
public void multiCountrySetUp() throws ImpExException- 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
public void shouldSortLocalizedContentSlot() throws ImpExException- Throws:
ImpExException
-
shouldSortContentSlotBeEmpty_NoLocalizationForRootSlot
public void shouldSortContentSlotBeEmpty_NoLocalizationForRootSlot() throws ImpExException- Throws:
ImpExException
-
shouldGetOverrideForGlobalSlot
public void shouldGetOverrideForGlobalSlot() throws ImpExException- Throws:
ImpExException
-
shouldGetNoOverrideForChildSlot
public void shouldGetNoOverrideForChildSlot() throws ImpExException- Throws:
ImpExException
-
shouldGetContentSlotsForPage
public void shouldGetContentSlotsForPage() throws ImpExException- Throws:
ImpExException
-
-