Class TrashPagePopulatorIntegrationTest
- 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.populators.TrashPagePopulatorIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class TrashPagePopulatorIntegrationTest extends BaseIntegrationTest
-
-
Field Summary
Fields Modifier and Type Field Description protected CatalogVersionModel
catalogVersion
protected CatalogVersionService
catalogVersionService
protected CMSAdminPageService
cmsAdminPageService
protected CMSAdminSiteService
cmsAdminSiteService
protected CMSNavigationService
cmsNavigationService
protected TrashPagePopulator
cmsTrashPagePopulator
protected FlexibleSearchService
flexibleSearchService
protected ContentPageModel
homepage
protected java.util.Map<java.lang.String,java.lang.Object>
map
protected ModelService
modelService
protected static java.lang.String
NAV_ENTRY_ID_0
protected static java.lang.String
NAV_ENTRY_ID_1
protected static java.lang.String
NAV_ENTRY_ID_2
protected static java.lang.String
NAV_ENTRY_ID_3
protected static java.lang.String
NAV_NODE_ID
protected static java.lang.String
NAV_NODE_TITLE
-
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 TrashPagePopulatorIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getNumberOfNavEntries()
void
setup()
void
shouldNotRemoveNavigationEntriesFromNavigationNodesWhenContentPageIsInActiveStatus()
void
shouldNotRemoveNavigationEntriesFromNavigationNodesWhenMapHasNoStatus()
void
shouldRemoveNavigationEntriesFromNavigationNodesWhenContentPageIsInDeletedStatus()
-
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
-
-
-
-
Field Detail
-
NAV_NODE_TITLE
protected static final java.lang.String NAV_NODE_TITLE
- See Also:
- Constant Field Values
-
NAV_NODE_ID
protected static final java.lang.String NAV_NODE_ID
- See Also:
- Constant Field Values
-
NAV_ENTRY_ID_0
protected static final java.lang.String NAV_ENTRY_ID_0
- See Also:
- Constant Field Values
-
NAV_ENTRY_ID_1
protected static final java.lang.String NAV_ENTRY_ID_1
- See Also:
- Constant Field Values
-
NAV_ENTRY_ID_2
protected static final java.lang.String NAV_ENTRY_ID_2
- See Also:
- Constant Field Values
-
NAV_ENTRY_ID_3
protected static final java.lang.String NAV_ENTRY_ID_3
- See Also:
- Constant Field Values
-
cmsAdminSiteService
protected CMSAdminSiteService cmsAdminSiteService
-
modelService
protected ModelService modelService
-
cmsAdminPageService
protected CMSAdminPageService cmsAdminPageService
-
catalogVersionService
protected CatalogVersionService catalogVersionService
-
cmsNavigationService
protected CMSNavigationService cmsNavigationService
-
cmsTrashPagePopulator
protected TrashPagePopulator cmsTrashPagePopulator
-
flexibleSearchService
protected FlexibleSearchService flexibleSearchService
-
homepage
protected ContentPageModel homepage
-
map
protected java.util.Map<java.lang.String,java.lang.Object> map
-
catalogVersion
protected CatalogVersionModel catalogVersion
-
-
Method Detail
-
setup
public void setup()
-
shouldRemoveNavigationEntriesFromNavigationNodesWhenContentPageIsInDeletedStatus
public void shouldRemoveNavigationEntriesFromNavigationNodesWhenContentPageIsInDeletedStatus()
-
shouldNotRemoveNavigationEntriesFromNavigationNodesWhenContentPageIsInActiveStatus
public void shouldNotRemoveNavigationEntriesFromNavigationNodesWhenContentPageIsInActiveStatus()
-
shouldNotRemoveNavigationEntriesFromNavigationNodesWhenMapHasNoStatus
public void shouldNotRemoveNavigationEntriesFromNavigationNodesWhenMapHasNoStatus()
-
getNumberOfNavEntries
protected int getNumberOfNavEntries()
-
-