@IntegrationTest public class PriceRuleValidationTest 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 |
|---|
PriceRuleValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractBundleRuleModel |
getBundleRule(java.lang.String ruleId) |
void |
setup() |
void |
shouldInformAboutEmptyConditionalProducts() |
void |
shouldRejectRulesWithForeignTargetProducts() |
void |
shouldWarnAboutEmptyTargetProductList() |
void |
shouldWarnAboutForeignersInTargetProducts() |
void |
shouldWarnAboutMixedInTargetProducts() |
void |
shouldWarnAboutStandaloneInTargetProducts() |
protected java.util.Set<HybrisConstraintViolation> |
validate(java.lang.String ruleId) |
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 shouldInformAboutEmptyConditionalProducts()
throws ImpExException
ImpExExceptionpublic void shouldWarnAboutEmptyTargetProductList()
throws ImpExException
ImpExExceptionpublic void shouldWarnAboutForeignersInTargetProducts()
throws ImpExException
ImpExExceptionpublic void shouldWarnAboutStandaloneInTargetProducts()
throws ImpExException
ImpExExceptionpublic void shouldWarnAboutMixedInTargetProducts()
throws ImpExException
ImpExExceptionpublic void shouldRejectRulesWithForeignTargetProducts()
throws ImpExException
ImpExExceptionprotected java.util.Set<HybrisConstraintViolation> validate(java.lang.String ruleId)
protected AbstractBundleRuleModel getBundleRule(java.lang.String ruleId)
Copyright © 2018 SAP SE. All Rights Reserved.