@IntegrationTest public class HybrisDecimalMaxConstraintTest extends AbstractConstraintTest
AbstractConstraintTest.ConstraintconstraintDao, flexibleSearchService, i18nService, modelService, typeService, validationServiceimportServicejaloSession| Constructor and Description |
|---|
HybrisDecimalMaxConstraintTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepareDelta() |
void |
testMaxConstraintEqual() |
void |
testMaxConstraintGreaterExplicit()
must fail because value is a
delta larger than constraint |
void |
testMaxConstraintGreaterImplicit()
must fail because value is a
delta larger than constraint |
void |
testMaxConstraintLowerExplicit()
is ok, difference is a
delta smaller than constraint |
void |
testMaxConstraintLowerImplicit()
is ok, difference is a
delta larger than constraint |
assertModelSavingExceptionWithEvaluatedMessage, 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 prepareDelta()
public void testMaxConstraintGreaterExplicit()
delta larger than constraintpublic void testMaxConstraintEqual()
public void testMaxConstraintGreaterImplicit()
delta larger than constraintpublic void testMaxConstraintLowerExplicit()
delta smaller than constraintpublic void testMaxConstraintLowerImplicit()
delta larger than constraintCopyright © 2018 SAP SE. All Rights Reserved.