Package de.hybris.platform.product.daos
Class ProductDaoTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.product.daos.ProductDaoTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
FieldsFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
Field Details
-
catalogVersionService
-
-
Constructor Details
-
ProductDaoTest
public ProductDaoTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
public void tearDown() -
testFindProduct
- Throws:
Exception
-
testFindProductWhenCodeIsNull
- Throws:
Exception
-
testFindProductWhenCodeIsUnknown
- Throws:
Exception
-
testGetProductsByCategory
- Throws:
Exception
-
testGetProductsWithStatus
- Throws:
Exception
-
testGetProductsByCategoryWhenCategoryIsNull
- Throws:
Exception
-
testGetProductsByCategoryWithLimit
- Throws:
Exception
-
testVariants
-
testGetProductFromCatalogVersionWhenNoActiveCatalogVersionIsSet
- Throws:
Exception
-
testFindProductWhenCatalogVersionIsNull
- Throws:
Exception
-
testFindProductWhenCodeIsNullAndCatalogVersionNotNull
- Throws:
Exception
-
testFindProductWhenThereIsNoResults
- Throws:
Exception
-
testFindAllProductsCount
- Throws:
Exception
-
testFindAllProductsCountByEmptyCategory
public void testFindAllProductsCountByEmptyCategory() -
testFindProductsCountForOneCategory
public void testFindProductsCountForOneCategory() -
testFindProductsFromCatalogVersion
public void testFindProductsFromCatalogVersion() -
testFindProductsFromCatalogVersionWhenNull
public void testFindProductsFromCatalogVersionWhenNull()
-