Class AuditEnablementServiceTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class AuditEnablementServiceTest extends ServicelayerBaseTest
  • Constructor Details

    • AuditEnablementServiceTest

      public AuditEnablementServiceTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • shouldNotFailWhenModifyingSessionLanguageDuringTest

      public void shouldNotFailWhenModifyingSessionLanguageDuringTest() throws Exception
      Throws:
      Exception
    • shouldHaveAuditEnabledForTypeWhichIsNotConfiguredDirectlyButFlagForAllTypesIsEnabled

      public void shouldHaveAuditEnabledForTypeWhichIsNotConfiguredDirectlyButFlagForAllTypesIsEnabled() throws Exception
      Throws:
      Exception
    • shouldHaveAuditDisabledWhenGlobalFlagIsSetToFalse

      public void shouldHaveAuditDisabledWhenGlobalFlagIsSetToFalse() throws Exception
      Throws:
      Exception
    • shouldHaveAuditEnabledWhenGlobalFlagIsSetToTrue

      public void shouldHaveAuditEnabledWhenGlobalFlagIsSetToTrue() throws Exception
      Throws:
      Exception
    • shouldHaveAuditDisabledForAnyTypeIfAuditIsDisabledGlobally

      public void shouldHaveAuditDisabledForAnyTypeIfAuditIsDisabledGlobally() throws Exception
      Throws:
      Exception
    • shouldHaveAuditDisabledForTypeWhichIsNotConfigured

      public void shouldHaveAuditDisabledForTypeWhichIsNotConfigured() throws Exception
      Throws:
      Exception
    • shouldHaveAuditDisabledForBlacklistedTypeEvenItIsConfiguredByUser

      public void shouldHaveAuditDisabledForBlacklistedTypeEvenItIsConfiguredByUser() throws Exception
      Throws:
      Exception
    • shouldHaveAuditDisabledForBlacklistedTypeEvenIfAuditIsEnabledForAllTypes

      public void shouldHaveAuditDisabledForBlacklistedTypeEvenIfAuditIsEnabledForAllTypes() throws Exception
      Throws:
      Exception
    • shouldHaveAuditDisabledForBlacklistedTypeEvenIfAuditIsEnabledForSuperTypeOfBlacklistedOne

      public void shouldHaveAuditDisabledForBlacklistedTypeEvenIfAuditIsEnabledForSuperTypeOfBlacklistedOne() throws Exception
      Throws:
      Exception
    • shouldHaveAuditDisabledForTypeIfAuditrSuperTypeIsBlacklisted

      public void shouldHaveAuditDisabledForTypeIfAuditrSuperTypeIsBlacklisted() throws Exception
      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()