@IntegrationTest public class ControllerIntegrationTest extends ServicelayerTransactionalBaseTest
jaloSession| Constructor and Description |
|---|
ControllerIntegrationTest() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
public void shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignCodeToNewProcess()
public void shouldCreateProcessInCreatedState()
public void shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignIdToInitialBatch()
public void shouldThrowIllegalStateExceptionWhenHandlerDoesntSpecifyRemainingWorkLoadForInitialBatch()
public void shouldCreateInitialBatchProvidedByHandler()
public void shouldPersistAdditionalModelsProvidedByHandlerDuringCreation()
public void shouldBeAbleToPersist_10_000_OfBatches()
throws java.io.IOException
java.io.IOExceptionpublic void shouldScheduleInitializationTaskWhenStartingProcess()
public void shouldInitializeProcessUsingHandler()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldSucceedProcessWhenThereAreNoBatchesDuringInitialization()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignIdToInputBatch()
public void shouldThrowIllegalStateExceptionWhenHandlerDoesntSpecifyRemainingWorkLoadForInputBatch()
public void shouldTransitAndCreateInputBatchesDuringInitialization()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldScheduleWorkerTaskAndWithWaitTaskDuringScheduling()
public void shouldSucceedProcessIfHandlerReportsSuccees()
public void shouldFailProcessIfHandlerReportsFailure()
public void shouldFailWhenHandlerDoesntChangeExecutionId()
public void shouldSucceedProcessIfHandlerReportsNoInputBatches()
public void shouldTransitToScheduleExecutionWhenThereIsAnyInputBatchReturnedByHandler()
public void shouldStopProcessImmediatelyWhenItsInCreatedState()
public void shouldMarkProcessToBeStoppedWhenItsRunning()
public void shoulNotdMarkProcessToBeStoppedWhenItsFinished()
public void shoulStopProcessWhenItsRunning()
public void shouldNotWaitForProcessIfItHasAlreadyFinished()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldWaitForProcessWhichIsRunning()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldWaitTillProcessIsFinished()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2018 SAP SE. All Rights Reserved.