@IntegrationTest public class DefaultOrgUnitHierarchyServiceIntegrationTest extends BaseCommerceBaseTest
DefaultOrgUnitHierarchyService.flexibleSearchServiceimportServicejaloSession| Constructor and Description |
|---|
DefaultOrgUnitHierarchyServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected OrgUnitModel |
getUnitForUid(java.lang.String uid) |
void |
setUp() |
void |
shouldGenerateUnitPaths() |
void |
shouldNotGenerateUnitPathsTypeNull() |
void |
shouldNotSaveChangesAndUpdateUnitPathUnitNull() |
void |
shouldSaveChangesUpdateUnitPath() |
void |
shouldSkipBranchPathGenerationIfMultipleParentsAreDetected() |
void |
shouldThrowExceptionIfCycleIsDetectedWhenUnitPathIsUpdated() |
getFlexibleSearchService, getOrderForCode, getProcesses, initMocks, setFlexibleSearchService, waitForProcessToEndcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultOrgUnitHierarchyServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldGenerateUnitPaths()
public void shouldNotGenerateUnitPathsTypeNull()
public void shouldSaveChangesUpdateUnitPath()
public void shouldNotSaveChangesAndUpdateUnitPathUnitNull()
protected OrgUnitModel getUnitForUid(java.lang.String uid)
public void shouldSkipBranchPathGenerationIfMultipleParentsAreDetected()
throws ImpExException
ImpExExceptionpublic void shouldThrowExceptionIfCycleIsDetectedWhenUnitPathIsUpdated()
Copyright © 2018 SAP SE. All Rights Reserved.