@IntegrationTest public class BundleTemplateStructureValidationTest 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 |
|---|
BundleTemplateStructureValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
shouldAllowDependentComponent() |
void |
shouldAllowLeafsToHaveSelectionCriteria() |
void |
shouldAllowNonLeafsToHaveNoSelectionCriteria() |
void |
shouldAllowRequiredComponent() |
void |
shouldDenyDisableRulesInNonLeafs() |
void |
shouldDenyNonLeafsToHaveAnyCriteria() |
void |
shouldDenyPriceRulesInNonLeafs() |
void |
shouldNotRejectForeignersInDependentComponents() |
void |
shouldNotRejectForeignersInRequiredComponents() |
void |
shouldRejectAncestorInDependingComponents() |
void |
shouldRejectAncestorInRequiredComponents() |
void |
shouldRejectNonLeafInDependingComponents() |
void |
shouldRejectNonLeafInRequiredComponents() |
void |
shouldRejectParentInRequiredComponents() |
void |
shouldRejectThisInDependingComponents() |
void |
shouldRejectThisInRequiredComponents() |
void |
shouldValidateOnCreate() |
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 BundleTemplateStructureValidationTest()
public void setup()
throws ImpExException
setup in class AbstractBundleValidationTestImpExExceptionpublic void shouldAllowRequiredComponent()
throws ImpExException
ImpExExceptionpublic void shouldAllowDependentComponent()
throws ImpExException
ImpExExceptionpublic void shouldRejectThisInRequiredComponents()
throws ImpExException
ImpExExceptionpublic void shouldRejectAncestorInRequiredComponents()
throws ImpExException
ImpExExceptionpublic void shouldRejectParentInRequiredComponents()
throws ImpExException
ImpExExceptionpublic void shouldNotRejectForeignersInRequiredComponents()
throws ImpExException
ImpExExceptionpublic void shouldNotRejectForeignersInDependentComponents()
throws ImpExException
ImpExExceptionpublic void shouldRejectThisInDependingComponents()
throws ImpExException
ImpExExceptionpublic void shouldRejectAncestorInDependingComponents()
throws ImpExException
ImpExExceptionpublic void shouldAllowLeafsToHaveSelectionCriteria()
throws ImpExException
ImpExExceptionpublic void shouldAllowNonLeafsToHaveNoSelectionCriteria()
throws ImpExException
ImpExExceptionpublic void shouldDenyNonLeafsToHaveAnyCriteria()
throws ImpExException
ImpExExceptionpublic void shouldValidateOnCreate()
throws ImpExException
ImpExExceptionpublic void shouldRejectNonLeafInRequiredComponents()
throws ImpExException
ImpExExceptionpublic void shouldRejectNonLeafInDependingComponents()
throws ImpExException
ImpExExceptionpublic void shouldDenyPriceRulesInNonLeafs()
throws ImpExException
ImpExExceptionpublic void shouldDenyDisableRulesInNonLeafs()
throws ImpExException
ImpExExceptionCopyright © 2018 SAP SE. All Rights Reserved.