Class ControllerIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class ControllerIntegrationTest extends ServicelayerTransactionalBaseTest
  • Constructor Details

    • ControllerIntegrationTest

      public ControllerIntegrationTest()
  • Method Details

    • setUp

      public void setUp()
    • tearDown

      public void tearDown()
    • shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignCodeToNewProcess

      public void shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignCodeToNewProcess()
    • shouldCreateProcessInCreatedState

      public void shouldCreateProcessInCreatedState()
    • shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignIdToInitialBatch

      public void shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignIdToInitialBatch()
    • shouldThrowIllegalStateExceptionWhenHandlerDoesntSpecifyRemainingWorkLoadForInitialBatch

      public void shouldThrowIllegalStateExceptionWhenHandlerDoesntSpecifyRemainingWorkLoadForInitialBatch()
    • shouldCreateInitialBatchProvidedByHandler

      public void shouldCreateInitialBatchProvidedByHandler()
    • shouldPersistAdditionalModelsProvidedByHandlerDuringCreation

      public void shouldPersistAdditionalModelsProvidedByHandlerDuringCreation()
    • shouldBeAbleToPersist_10_000_OfBatches

      public void shouldBeAbleToPersist_10_000_OfBatches()
    • shouldScheduleInitializationTaskWhenStartingProcess

      public void shouldScheduleInitializationTaskWhenStartingProcess()
    • shouldInitializeProcessUsingHandler

      public void shouldInitializeProcessUsingHandler()
    • shouldSucceedProcessWhenThereAreNoBatchesDuringInitialization

      public void shouldSucceedProcessWhenThereAreNoBatchesDuringInitialization()
    • shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignIdToInputBatch

      public void shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignIdToInputBatch()
    • shouldThrowIllegalStateExceptionWhenHandlerDoesntSpecifyRemainingWorkLoadForInputBatch

      public void shouldThrowIllegalStateExceptionWhenHandlerDoesntSpecifyRemainingWorkLoadForInputBatch()
    • shouldTransitAndCreateInputBatchesDuringInitialization

      public void shouldTransitAndCreateInputBatchesDuringInitialization()
    • shouldScheduleWorkerTaskAndWithWaitTaskDuringScheduling

      public void shouldScheduleWorkerTaskAndWithWaitTaskDuringScheduling()
    • shouldSucceedProcessIfHandlerReportsSuccess

      public void shouldSucceedProcessIfHandlerReportsSuccess()
    • shouldFailProcessIfHandlerReportsFailure

      public void shouldFailProcessIfHandlerReportsFailure()
    • shouldFailWhenHandlerDoesntChangeExecutionId

      public void shouldFailWhenHandlerDoesntChangeExecutionId()
    • shouldSucceedProcessIfHandlerReportsNoInputBatches

      public void shouldSucceedProcessIfHandlerReportsNoInputBatches()
    • shouldTransitToScheduleExecutionWhenThereIsAnyInputBatchReturnedByHandler

      public void shouldTransitToScheduleExecutionWhenThereIsAnyInputBatchReturnedByHandler()
    • shouldStopProcessImmediatelyWhenItsInCreatedState

      public void shouldStopProcessImmediatelyWhenItsInCreatedState()
    • shouldMarkProcessToBeStoppedWhenItsRunning

      public void shouldMarkProcessToBeStoppedWhenItsRunning()
    • shouldNotMarkProcessToBeStoppedWhenItsFinished

      public void shouldNotMarkProcessToBeStoppedWhenItsFinished()
    • shouldStopProcessWhenItsRunning

      public void shouldStopProcessWhenItsRunning()
    • shouldNotWaitForProcessIfItHasAlreadyFinished

      public void shouldNotWaitForProcessIfItHasAlreadyFinished() throws InterruptedException
      Throws:
      InterruptedException
    • shouldWaitForProcessWhichIsRunning

      public void shouldWaitForProcessWhichIsRunning() throws InterruptedException
      Throws:
      InterruptedException
    • shouldWaitTillProcessIsFinished

      public void shouldWaitTillProcessIsFinished() throws InterruptedException
      Throws:
      InterruptedException