public abstract class AbstractConstraintTest extends ServicelayerTransactionalTest
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractConstraintTest.Constraint |
| Modifier and Type | Field and Description |
|---|---|
protected ConstraintDao |
constraintDao |
protected FlexibleSearchService |
flexibleSearchService |
protected I18NService |
i18nService |
protected ModelService |
modelService |
protected TypeService |
typeService |
protected ValidationService |
validationService |
defaultLanguage, jaloSession| Constructor and Description |
|---|
AbstractConstraintTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertModelSavingExceptionWithEvaluatedMessage(Exception msEx,
Map<String,String> expectedConstraintViolations) |
protected void |
assertModelSavingExceptionWithEvaluatedMessage(Exception msEx,
String expectedMessageKey,
String expectedPropertyType)
Assert for an expected exception, expected evaluated for current locale message , expected Property/Type
|
protected void |
assertModelSavingExceptionWithMessageKey(Exception msEx,
Map<String,String> expectedConstraintViolations) |
protected void |
assertModelSavingExceptionWithMessageKey(Exception msEx,
String expectedMessageKey,
String expectedPropertyType)
Assert for an expected exception, expected message key , expected Property/Type
|
protected void |
assertTrimmedException(Exception msEx,
String key) |
protected double |
calculateFractionPrecision(double adjust) |
protected void |
checkException(Throwable exception,
Class mainException,
Class interceptor) |
protected void |
checkException(Throwable exception,
Class mainException,
Class innerException,
Class interceptor) |
protected String |
getDefaultMessage(String key) |
void |
resetConstraints() |
void |
unloadEngine() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedprotected ModelService modelService
protected ValidationService validationService
protected ConstraintDao constraintDao
protected TypeService typeService
protected FlexibleSearchService flexibleSearchService
protected I18NService i18nService
public void resetConstraints()
protected double calculateFractionPrecision(double adjust)
protected void checkException(Throwable exception, Class mainException, Class interceptor)
protected void checkException(Throwable exception, Class mainException, Class innerException, Class interceptor)
protected void assertModelSavingExceptionWithMessageKey(Exception msEx, Map<String,String> expectedConstraintViolations)
protected void assertModelSavingExceptionWithEvaluatedMessage(Exception msEx, Map<String,String> expectedConstraintViolations)
protected void assertModelSavingExceptionWithEvaluatedMessage(Exception msEx, String expectedMessageKey, String expectedPropertyType)
protected void assertModelSavingExceptionWithMessageKey(Exception msEx, String expectedMessageKey, String expectedPropertyType)
public void unloadEngine()
Copyright © 2017 SAP SE. All Rights Reserved.