public class DefaultAuditConfigServiceTest extends AbstractAuditTest
address1, address2, address3, auditEnablementService, auditRecordsProvider, auditTestConfigManager, auditTestHelper, creator, modelService, testAuditReportConfig, title1, title2, user1, userService, writeAuditGatewayjaloSession| Constructor and Description |
|---|
DefaultAuditConfigServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableProductionMode() |
void |
revertProperty() |
void |
shouldFailIfConfigNameDoesNotMatchAuditReportConfigModelCode() |
void |
shouldFindExistingConfig() |
void |
shouldGetAllConfigsForExtendedType() |
void |
shouldGetAllConfigsForRootType() |
void |
shouldMergeRelationAttributesForTwoConfigurations() |
void |
shouldMergeTwoConfigurations_declaredModeAppend() |
void |
shouldMergeTwoConfigurations_declaredModeRemove() |
void |
shouldMergeTwoConfigurations_declaredModeReplace() |
void |
shouldMergeTwoConfigurations_defaultModeAppend() |
void |
shouldNotReturnInactiveConfiguration() |
void |
shouldReturnEmptyCollectionForNonExistingRootType() |
void |
shouldSaveReportWithWarningsInDevelopmentMode() |
void |
shouldStoreConfig() |
void |
shouldThrowExceptionWhenSavingReportWithWarningsInProductionMode() |
void |
shouldUnmarshallConfig() |
cleanup, loadConfigFromFile, setUp, switchPersitenceLegacyModeautowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassumeAuditEnabledpublic void disableProductionMode()
public void revertProperty()
public void shouldStoreConfig()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldFailIfConfigNameDoesNotMatchAuditReportConfigModelCode()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldThrowExceptionWhenSavingReportWithWarningsInProductionMode()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldSaveReportWithWarningsInDevelopmentMode()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldUnmarshallConfig()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldFindExistingConfig()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldMergeTwoConfigurations_defaultModeAppend()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldMergeTwoConfigurations_declaredModeAppend()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldMergeTwoConfigurations_declaredModeReplace()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldMergeTwoConfigurations_declaredModeRemove()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldGetAllConfigsForRootType()
public void shouldGetAllConfigsForExtendedType()
public void shouldReturnEmptyCollectionForNonExistingRootType()
public void shouldNotReturnInactiveConfiguration()
public void shouldMergeRelationAttributesForTwoConfigurations()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.