Package de.hybris.platform.catalog.job
Class AbstractJobIntegrationTest<T>
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.catalog.job.AbstractJobIntegrationTest<T>
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
CompareCatalogVersionsJobIntegrationTest
,RemoveCatalogVersionJobIntegrationTest
public abstract class AbstractJobIntegrationTest<T> extends ServicelayerTest
Base for integration test for a migrated catalog/catalog version related jobs.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CATEGORY_CODE_1
protected static java.lang.String
CATEGORY_CODE_2
protected static java.lang.String
CATEGORY_CODE_3
protected CommonI18NService
commonI18NService
protected CronJobService
cronJobService
protected FlexibleSearchService
flexibleSearchService
protected static java.lang.String
MAIN_CATALOG
protected CatalogModel
mainCatalog
protected ModelService
modelService
protected static java.lang.String
PRODUCT_CODE_1
protected static java.lang.String
PRODUCT_CODE_2
protected static java.lang.String
PRODUCT_CODE_3
protected CatalogVersionModel
source
protected static java.lang.String
SOURCE_CATALOGVERSION
-
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 AbstractJobIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCategoriesAndProducts(CatalogVersionModel catalogVersion)
protected T
getPerformable(CronJobModel cronJobModel)
protected ProductModel
getProductByCode(java.lang.String code)
protected void
setUp()
-
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
-
CATEGORY_CODE_3
protected static final java.lang.String CATEGORY_CODE_3
- See Also:
- Constant Field Values
-
CATEGORY_CODE_2
protected static final java.lang.String CATEGORY_CODE_2
- See Also:
- Constant Field Values
-
CATEGORY_CODE_1
protected static final java.lang.String CATEGORY_CODE_1
- See Also:
- Constant Field Values
-
PRODUCT_CODE_3
protected static final java.lang.String PRODUCT_CODE_3
- See Also:
- Constant Field Values
-
PRODUCT_CODE_2
protected static final java.lang.String PRODUCT_CODE_2
- See Also:
- Constant Field Values
-
PRODUCT_CODE_1
protected static final java.lang.String PRODUCT_CODE_1
- See Also:
- Constant Field Values
-
SOURCE_CATALOGVERSION
protected static final java.lang.String SOURCE_CATALOGVERSION
- See Also:
- Constant Field Values
-
MAIN_CATALOG
protected static final java.lang.String MAIN_CATALOG
- See Also:
- Constant Field Values
-
source
protected CatalogVersionModel source
-
mainCatalog
protected CatalogModel mainCatalog
-
modelService
protected ModelService modelService
-
cronJobService
protected CronJobService cronJobService
-
flexibleSearchService
protected FlexibleSearchService flexibleSearchService
-
commonI18NService
protected CommonI18NService commonI18NService
-
-
Method Detail
-
setUp
protected void setUp()
-
addCategoriesAndProducts
protected void addCategoriesAndProducts(CatalogVersionModel catalogVersion)
-
getProductByCode
protected ProductModel getProductByCode(java.lang.String code)
-
getPerformable
protected T getPerformable(CronJobModel cronJobModel)
-
-