@IntegrationTest public class XorNullReferenceConstraintTest extends AbstractConstraintTest
XorNullReferenceConstraintModel implementation.AbstractConstraintTest.ConstraintconstraintDao, flexibleSearchService, i18nService, modelService, typeService, validationServiceimportServicejaloSession| Constructor and Description |
|---|
XorNullReferenceConstraintTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
validateXorNullReferenceConstraint1()
validates
XorNotNull if the field mapping is appropriate |
void |
validateXorNullReferenceConstraint2()
validates
XorNotNull if the field mapping is appropriate , null mapping case |
void |
validateXorNullReferenceTriggerType()
validates using
XorNotNull annotation |
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 validateXorNullReferenceConstraint1()
XorNotNull if the field mapping is appropriatepublic void validateXorNullReferenceConstraint2()
XorNotNull if the field mapping is appropriate , null mapping casepublic void validateXorNullReferenceTriggerType()
XorNotNull annotationCopyright © 2018 SAP SE. All Rights Reserved.