@IntegrationTest public class DisableRuleValidationTest 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 |
|---|
DisableRuleValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractBundleRuleModel |
getBundleRule(String ruleId) |
void |
shouldNotDenyForeignersInTargetProducts() |
void |
shouldNotDenyMixedInTargetProducts() |
void |
shouldWarnAboutEmptyConditionalProducts() |
void |
shouldWarnAboutEmptyTargetProductList() |
void |
shouldWarnAboutStandaloneInTargetProducts() |
protected Set<HybrisConstraintViolation> |
validate(String ruleId) |
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 shouldWarnAboutEmptyConditionalProducts()
throws ImpExException
ImpExExceptionpublic void shouldWarnAboutEmptyTargetProductList()
throws ImpExException
ImpExExceptionpublic void shouldNotDenyForeignersInTargetProducts()
throws ImpExException
ImpExExceptionpublic void shouldWarnAboutStandaloneInTargetProducts()
throws ImpExException
ImpExExceptionpublic void shouldNotDenyMixedInTargetProducts()
throws ImpExException
ImpExExceptionprotected Set<HybrisConstraintViolation> validate(String ruleId)
protected AbstractBundleRuleModel getBundleRule(String ruleId)
Copyright © 2017 SAP SE. All Rights Reserved.