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
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSContentPageServiceIntegrationTest()
-
Method Summary
-
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 ImpExException
- Throws:
ImpExException
-
shouldGetHomepageUKWhenUKHasHomePageAndLabelIsDifferentFromParentCatalogHomePage
public void shouldGetHomepageUKWhenUKHasHomePageAndLabelIsDifferentFromParentCatalogHomePage()
-
shouldGetHomepageEUWhenEUHasHomePageAndLabelIsSameAsParentCatalogHomePage
public void shouldGetHomepageEUWhenEUHasHomePageAndLabelIsSameAsParentCatalogHomePage()
-
shouldGetHomepageEUWhenUKHasNoHomePage
public void shouldGetHomepageEUWhenUKHasNoHomePage()
-
shouldGetHomepageGlobalWhenUKHasNoHomePageButHasPageWithSameLabelAsParentCatalogHomePage
public void shouldGetHomepageGlobalWhenUKHasNoHomePageButHasPageWithSameLabelAsParentCatalogHomePage()
-
testFindPageByExactLabelMatch
public void testFindPageByExactLabelMatch() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_WithTrailingSlash
public void testFindPageByBestLabelMatch_WithTrailingSlash() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_IgnoreTrailingSlash
public void testFindPageByBestLabelMatch_IgnoreTrailingSlash() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
testFindPageByBestLabelMatch_MostMatchToParent
public void testFindPageByBestLabelMatch_MostMatchToParent() throws CMSItemNotFoundException
- 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
public void testFindPageByBestLabelMatch_NotStartingWithSlash() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
testFindPageByExactLabelMatch_StartingWithSlash
public void testFindPageByExactLabelMatch_StartingWithSlash() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
-