@IntegrationTest public class ControllerIntegrationTest extends ServicelayerTransactionalBaseTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
ControllerIntegrationTest() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic 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 IOException
IOExceptionpublic void shouldScheduleInitializationTaskWhenStartingProcess()
public void shouldInitializeProcessUsingHandler()
throws InterruptedException
InterruptedExceptionpublic void shouldSucceedProcessWhenThereAreNoBatchesDuringInitialization()
throws InterruptedException
InterruptedExceptionpublic void shouldThrowIllegalStateExceptionWhenHandlerDoesntAssignIdToInputBatch()
public void shouldThrowIllegalStateExceptionWhenHandlerDoesntSpecifyRemainingWorkLoadForInputBatch()
public void shouldTransitAndCreateInputBatchesDuringInitialization()
throws InterruptedException
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 InterruptedException
InterruptedExceptionpublic void shouldWaitForProcessWhichIsRunning()
throws InterruptedException
InterruptedExceptionpublic void shouldWaitTillProcessIsFinished()
throws InterruptedException
InterruptedExceptionCopyright © 2017 SAP SE. All Rights Reserved.