Class AuditEnablementServiceTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.persistence.audit.internal.AuditEnablementServiceTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
AuditEnablementServiceTest
public AuditEnablementServiceTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
shouldNotFailWhenModifyingSessionLanguageDuringTest
- Throws:
Exception
-
shouldHaveAuditEnabledForTypeWhichIsNotConfiguredDirectlyButFlagForAllTypesIsEnabled
public void shouldHaveAuditEnabledForTypeWhichIsNotConfiguredDirectlyButFlagForAllTypesIsEnabled() throws Exception- Throws:
Exception
-
shouldHaveAuditDisabledWhenGlobalFlagIsSetToFalse
- Throws:
Exception
-
shouldHaveAuditEnabledWhenGlobalFlagIsSetToTrue
- Throws:
Exception
-
shouldHaveAuditDisabledForAnyTypeIfAuditIsDisabledGlobally
- Throws:
Exception
-
shouldHaveAuditDisabledForTypeWhichIsNotConfigured
- Throws:
Exception
-
shouldHaveAuditDisabledForBlacklistedTypeEvenItIsConfiguredByUser
- Throws:
Exception
-
shouldHaveAuditDisabledForBlacklistedTypeEvenIfAuditIsEnabledForAllTypes
public void shouldHaveAuditDisabledForBlacklistedTypeEvenIfAuditIsEnabledForAllTypes() throws Exception- Throws:
Exception
-
shouldHaveAuditDisabledForBlacklistedTypeEvenIfAuditIsEnabledForSuperTypeOfBlacklistedOne
public void shouldHaveAuditDisabledForBlacklistedTypeEvenIfAuditIsEnabledForSuperTypeOfBlacklistedOne() throws Exception- Throws:
Exception
-
shouldHaveAuditDisabledForTypeIfAuditrSuperTypeIsBlacklisted
- Throws:
Exception
-
shouldHaveAuditDisabledForSubTypeIfNotSetInConfigAndSuperTypeIsDisabledInConfig
public void shouldHaveAuditDisabledForSubTypeIfNotSetInConfigAndSuperTypeIsDisabledInConfig() throws Exception- Throws:
Exception
-
shouldHaveAuditEnabledForUserTypeWhenItIsSetInConfigurationAndGlobalFlagIsEnabled
public void shouldHaveAuditEnabledForUserTypeWhenItIsSetInConfigurationAndGlobalFlagIsEnabled() throws Exception- Throws:
Exception
-
shouldHaveAuditEnabledForSubTypeWhenSupertpeIsSetInConfigurationAndGlobalFlagIsEnabled
public void shouldHaveAuditEnabledForSubTypeWhenSupertpeIsSetInConfigurationAndGlobalFlagIsEnabled() throws Exception- Throws:
Exception
-
shouldHaveAuditEnabledForProcessTaskTypeAfterRemoveProcessTaskFromBlacklist
public void shouldHaveAuditEnabledForProcessTaskTypeAfterRemoveProcessTaskFromBlacklist() throws Exception- Throws:
Exception
-
shouldThrowExceptionIfAuditPropertyDefinedTwice
public void shouldThrowExceptionIfAuditPropertyDefinedTwice() -
shouldThrowExceptionForNonLowercaseProperty
public void shouldThrowExceptionForNonLowercaseProperty()
-