Package com.hybris.backoffice.excel
Class ExcelIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
com.hybris.backoffice.excel.ExcelIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
ClassificationIncludedHeaderPromptPopulatorIntegrationTest,ExcelClassificationIntegrationTest,ExcelExportServiceIntegrationTest,ExcelImportServiceIntegrationTest,HeaderPromptWorkbookDecoratorIntegrationTest
-
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
Modifier and TypeMethodDescriptionprotected CatalogVersionModelcreateCatalogVersionModel(String catalogId, String catalogVersion) protected ImportConfigcreateImportConfig(String script) protected AttributeDescriptorModelgetAttributeDescriptorOf(ItemModel item, String attributeQualifier) protected AttributeDescriptorModelgetAttributeDescriptorOf(Class clazz, String attributeQualifier) protected ProductModelprepareProduct(String code, CatalogVersionModel catalogVersionModel) protected ProductModelprepareProductWithVariant(ProductModel productModel, VariantTypeModel variantType) protected VariantTypeModelprotected VariantProductModelprepareVariantProductModel(ProductModel baseProduct, VariantTypeModel variantType) protected <T extends ItemModel>
TsaveItem(T itemModel) protected voidLocalizations are not loaded in integration tests, so we need to set them manually.voidsetUp()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
-
PRODUCT_SHEET_NAME
- See Also:
-
TYPE_SYSTEM_SHEET_NAME
- See Also:
-
-
Constructor Details
-
ExcelIntegrationTest
public ExcelIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
setAttributeDescriptorNamesForProductCodeAndCatalogVersion
protected void setAttributeDescriptorNamesForProductCodeAndCatalogVersion()Localizations are not loaded in integration tests, so we need to set them manually. -
createCatalogVersionModel
protected CatalogVersionModel createCatalogVersionModel(@Nonnull String catalogId, @Nonnull String catalogVersion) -
saveItem
-
getAttributeDescriptorOf
protected AttributeDescriptorModel getAttributeDescriptorOf(@Nonnull ItemModel item, @Nonnull String attributeQualifier) -
getAttributeDescriptorOf
protected AttributeDescriptorModel getAttributeDescriptorOf(@Nonnull Class clazz, @Nonnull String attributeQualifier) -
prepareProduct
-
prepareProductWithVariant
protected ProductModel prepareProductWithVariant(ProductModel productModel, VariantTypeModel variantType) -
prepareVariantProductModel
protected VariantProductModel prepareVariantProductModel(ProductModel baseProduct, VariantTypeModel variantType) -
prepareVariant
-
createImportConfig
-
getTypeService
-
getModelService
-