@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, typeServiceimportServicejaloSession| Constructor and Description |
|---|
BundleTemplateProductValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
shouldAllowLeafWithProducts() |
void |
shouldAllowNonLeafWithoutProducts() |
void |
shouldRejectNonLeafWithProducts() |
void |
shouldWarnAboutEmptyLeafs() |
void |
shouldWarnAboutEmptyProductListOfLeaf() |
getBundleTemplate, getCatalog, getCatalogVersionService, getGroup, getValidationService, importString, validateassertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithMessageKey, assertModelSavingExceptionWithMessageKey, assertTrimmedException, calculateFractionPrecision, checkException, checkException, getDefaultMessage, resetConstraints, unloadEnginecreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setup()
throws ImpExException
setup in class AbstractBundleValidationTestImpExExceptionpublic 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 © 2018 SAP SE. All Rights Reserved.