Class ControllerIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
de.hybris.platform.processing.distributed.defaultimpl.ControllerIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
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
- Throws:
InterruptedException
-
shouldWaitForProcessWhichIsRunning
- Throws:
InterruptedException
-
shouldWaitTillProcessIsFinished
- Throws:
InterruptedException
-