Class DefaultCMSNavigationDaoIntegrationTest
- 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.daos.impl.DefaultCMSNavigationDaoIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultCMSNavigationDaoIntegrationTest extends ServicelayerTransactionalTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CATALOG_ID
static java.lang.String
CATALOG_VERSION_ID
static java.lang.String
CMS_LINK_COMNPONENT_0
static java.lang.String
CONTENT_PAGE_0
static java.lang.String
EMPTY_CATALOG_ID
static java.lang.String
EMPTY_CATALOG_VERSION_ID
static java.lang.String
NAVIGATION_NODE_LEVEL_1_0
static java.lang.String
NAVIGATION_NODE_LEVEL_1_1
static java.lang.String
PAGE_TEMPLATE
static java.lang.String
ROOT_NAVIGATION_ENTRY_0
static java.lang.String
ROOT_NAVIGATION_ENTRY_1
static java.lang.String
ROOT_NAVIGATION_NODE
static java.lang.String
UID
-
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 DefaultCMSNavigationDaoIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createContentPages()
protected java.util.List<CMSNavigationNodeModel>
createNavigationNodes(CatalogVersionModel catalogVersionModel)
void
createSampleCatalogStructure()
void
testFindCMSNavigationNodes()
void
testFindPageNavigationEntriesByContentPage()
void
testFindPageNavigationEntriesByUid()
-
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
-
UID
public static final java.lang.String UID
- See Also:
- Constant Field Values
-
CATALOG_ID
public static final java.lang.String CATALOG_ID
- See Also:
- Constant Field Values
-
EMPTY_CATALOG_ID
public static final java.lang.String EMPTY_CATALOG_ID
- See Also:
- Constant Field Values
-
CATALOG_VERSION_ID
public static final java.lang.String CATALOG_VERSION_ID
- See Also:
- Constant Field Values
-
EMPTY_CATALOG_VERSION_ID
public static final java.lang.String EMPTY_CATALOG_VERSION_ID
- See Also:
- Constant Field Values
-
ROOT_NAVIGATION_NODE
public static final java.lang.String ROOT_NAVIGATION_NODE
- See Also:
- Constant Field Values
-
ROOT_NAVIGATION_ENTRY_0
public static final java.lang.String ROOT_NAVIGATION_ENTRY_0
- See Also:
- Constant Field Values
-
ROOT_NAVIGATION_ENTRY_1
public static final java.lang.String ROOT_NAVIGATION_ENTRY_1
- See Also:
- Constant Field Values
-
CMS_LINK_COMNPONENT_0
public static final java.lang.String CMS_LINK_COMNPONENT_0
- See Also:
- Constant Field Values
-
NAVIGATION_NODE_LEVEL_1_0
public static final java.lang.String NAVIGATION_NODE_LEVEL_1_0
- See Also:
- Constant Field Values
-
NAVIGATION_NODE_LEVEL_1_1
public static final java.lang.String NAVIGATION_NODE_LEVEL_1_1
- See Also:
- Constant Field Values
-
PAGE_TEMPLATE
public static final java.lang.String PAGE_TEMPLATE
- See Also:
- Constant Field Values
-
CONTENT_PAGE_0
public static final java.lang.String CONTENT_PAGE_0
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSampleCatalogStructure
public void createSampleCatalogStructure()
-
createNavigationNodes
protected java.util.List<CMSNavigationNodeModel> createNavigationNodes(CatalogVersionModel catalogVersionModel)
-
createContentPages
protected void createContentPages()
-
testFindCMSNavigationNodes
public void testFindCMSNavigationNodes() throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
testFindPageNavigationEntriesByContentPage
public void testFindPageNavigationEntriesByContentPage()
-
testFindPageNavigationEntriesByUid
public void testFindPageNavigationEntriesByUid()
-
-