Class SchedulerAuxiliaryTablesWatchdogTaskTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class SchedulerAuxiliaryTablesWatchdogTaskTest extends ServicelayerBaseTest
Integration tests for SchedulerAuxiliaryTablesWatchdogTask
  • Constructor Details

    • SchedulerAuxiliaryTablesWatchdogTaskTest

      public SchedulerAuxiliaryTablesWatchdogTaskTest()
  • Method Details

    • setUp

      public void setUp()
    • tearDown

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

      public void shouldThrowExceptionWhenNameIsNull()
    • shouldThrowExceptionWhenNameIsEmpty

      public void shouldThrowExceptionWhenNameIsEmpty()
    • shouldThrowExceptionWhenNameIsBlank

      public void shouldThrowExceptionWhenNameIsBlank()
    • shouldReturnNotBlankName

      public void shouldReturnNotBlankName()
    • shouldThrowExceptionWhenTenantIsNull

      public void shouldThrowExceptionWhenTenantIsNull()
    • shouldStopWatchdogTaskIfCalculatedWaitingTimeIsNull

      public void shouldStopWatchdogTaskIfCalculatedWaitingTimeIsNull() throws InterruptedException
      Throws:
      InterruptedException
    • shouldStopWatchdogTaskIfCalculatedWaitingTimeIsZero

      public void shouldStopWatchdogTaskIfCalculatedWaitingTimeIsZero() throws InterruptedException
      Throws:
      InterruptedException
    • shouldStopWatchdogTaskIfCalculatedWaitingTimeIsNegative

      public void shouldStopWatchdogTaskIfCalculatedWaitingTimeIsNegative() throws InterruptedException
      Throws:
      InterruptedException
    • shouldStopWatchdogTaskIfCalculatedWaitingTimeIsInvalid

      public void shouldStopWatchdogTaskIfCalculatedWaitingTimeIsInvalid(Duration waitingTime) throws InterruptedException
      Throws:
      InterruptedException
    • shouldCalculateWaitingTimeInRuntime

      public void shouldCalculateWaitingTimeInRuntime() throws InterruptedException
      Throws:
      InterruptedException
    • shouldTerminateRunningWhenStoppedBeforeStart

      public void shouldTerminateRunningWhenStoppedBeforeStart() throws InterruptedException
      Throws:
      InterruptedException
    • shouldNotAllowToExecuteTheSameTaskAtTheSameTime

      public void shouldNotAllowToExecuteTheSameTaskAtTheSameTime() throws InterruptedException
      Throws:
      InterruptedException
    • shouldContinueRunningOnSystemSuspend

      public void shouldContinueRunningOnSystemSuspend() throws InterruptedException
      Throws:
      InterruptedException
    • shouldContinueRunningOnUnexpectedRuntimeException

      public void shouldContinueRunningOnUnexpectedRuntimeException() throws InterruptedException
      Throws:
      InterruptedException
    • shouldTerminateOnInterruptedException

      public void shouldTerminateOnInterruptedException() throws InterruptedException
      Throws:
      InterruptedException