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 |
importServicejaloSession| Constructor and Description |
|---|
AbstractConstraintTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertModelSavingExceptionWithEvaluatedMessage(java.lang.Exception msEx,
java.util.Map<java.lang.String,java.lang.String> expectedConstraintViolations) |
protected void |
assertModelSavingExceptionWithEvaluatedMessage(java.lang.Exception msEx,
java.lang.String expectedMessageKey,
java.lang.String expectedPropertyType)
Assert for an expected exception, expected evaluated for current locale message , expected Property/Type
|
protected void |
assertModelSavingExceptionWithMessageKey(java.lang.Exception msEx,
java.util.Map<java.lang.String,java.lang.String> expectedConstraintViolations) |
protected void |
assertModelSavingExceptionWithMessageKey(java.lang.Exception msEx,
java.lang.String expectedMessageKey,
java.lang.String expectedPropertyType)
Assert for an expected exception, expected message key , expected Property/Type
|
protected void |
assertTrimmedException(java.lang.Exception msEx,
java.lang.String key) |
protected double |
calculateFractionPrecision(double adjust) |
protected void |
checkException(java.lang.Throwable exception,
java.lang.Class mainException,
java.lang.Class interceptor) |
protected void |
checkException(java.lang.Throwable exception,
java.lang.Class mainException,
java.lang.Class innerException,
java.lang.Class interceptor) |
protected java.lang.String |
getDefaultMessage(java.lang.String key) |
void |
resetConstraints() |
void |
unloadEngine() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected 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(java.lang.Throwable exception,
java.lang.Class mainException,
java.lang.Class interceptor)
protected void checkException(java.lang.Throwable exception,
java.lang.Class mainException,
java.lang.Class innerException,
java.lang.Class interceptor)
protected java.lang.String getDefaultMessage(java.lang.String key)
protected void assertModelSavingExceptionWithMessageKey(java.lang.Exception msEx,
java.util.Map<java.lang.String,java.lang.String> expectedConstraintViolations)
protected void assertModelSavingExceptionWithEvaluatedMessage(java.lang.Exception msEx,
java.util.Map<java.lang.String,java.lang.String> expectedConstraintViolations)
protected void assertModelSavingExceptionWithEvaluatedMessage(java.lang.Exception msEx,
java.lang.String expectedMessageKey,
java.lang.String expectedPropertyType)
protected void assertModelSavingExceptionWithMessageKey(java.lang.Exception msEx,
java.lang.String expectedMessageKey,
java.lang.String expectedPropertyType)
protected void assertTrimmedException(java.lang.Exception msEx,
java.lang.String key)
public void unloadEngine()
Copyright © 2018 SAP SE. All Rights Reserved.