@IntegrationTest public class BundleTemplateProductValidationTest extends AbstractBundleValidationTest
AbstractConstraintTest.Constraint| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
thrown |
FIELD_MESSAGE, FIELD_PROPERTY, FIELD_SEVERITYconstraintDao, flexibleSearchService, i18nService, modelService, typeServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
BundleTemplateProductValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
shouldAllowLeafWithProducts() |
void |
shouldAllowNonLeafWithoutProducts() |
void |
shouldRejectNonLeafWithProducts() |
void |
shouldWarnAboutEmptyLeafs() |
void |
shouldWarnAboutEmptyProductListOfLeaf() |
getBundleTemplate, getCatalog, getCatalogVersionService, getGroup, getValidationService, importString, setup, validateassertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithMessageKey, assertModelSavingExceptionWithMessageKey, assertTrimmedException, calculateFractionPrecision, checkException, checkException, getDefaultMessage, resetConstraints, unloadEnginecreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void shouldWarnAboutEmptyLeafs()
throws ImpExException
ImpExExceptionpublic void shouldAllowLeafWithProducts()
throws ImpExException
ImpExExceptionpublic void shouldAllowNonLeafWithoutProducts()
throws ImpExException
ImpExExceptionpublic void shouldWarnAboutEmptyProductListOfLeaf()
throws ImpExException
ImpExExceptionpublic void shouldRejectNonLeafWithProducts()
throws ImpExException
ImpExExceptionCopyright © 2017 SAP SE. All Rights Reserved.