Class DefaultCMSContentPageServiceIntegrationTest
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.impl.DefaultCMSContentPageServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class DefaultCMSContentPageServiceIntegrationTest
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 TypeMethodDescriptionvoidsetUp()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
-
DefaultCMSContentPageServiceIntegrationTest
public DefaultCMSContentPageServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
ImpExException
-
shouldGetHomepageUKWhenUKHasHomePageAndLabelIsDifferentFromParentCatalogHomePage
public void shouldGetHomepageUKWhenUKHasHomePageAndLabelIsDifferentFromParentCatalogHomePage() -
shouldGetHomepageEUWhenEUHasHomePageAndLabelIsSameAsParentCatalogHomePage
public void shouldGetHomepageEUWhenEUHasHomePageAndLabelIsSameAsParentCatalogHomePage() -
shouldGetHomepageEUWhenUKHasNoHomePage
public void shouldGetHomepageEUWhenUKHasNoHomePage() -
shouldGetHomepageGlobalWhenUKHasNoHomePageButHasPageWithSameLabelAsParentCatalogHomePage
public void shouldGetHomepageGlobalWhenUKHasNoHomePageButHasPageWithSameLabelAsParentCatalogHomePage() -
testFindPageByExactLabelMatch
- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_WithTrailingSlash
- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_IgnoreTrailingSlash
- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_MostMatchToParent
- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_IgnoreTrailingSlash_NextLevel
public void testFindPageByBestLabelMatch_IgnoreTrailingSlash_NextLevel() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_MostMatchToParent_NextLevel
public void testFindPageByBestLabelMatch_MostMatchToParent_NextLevel() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_NotStartingWithSlash
- Throws:
CMSItemNotFoundException
-
testFindPageByExactLabelMatch_StartingWithSlash
- Throws:
CMSItemNotFoundException
-