Package de.hybris.platform.task.impl
Class SchedulerAuxiliaryTablesWatchdogTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.task.impl.SchedulerAuxiliaryTablesWatchdogTest
- All Implemented Interfaces:
JaloSessionHolder
Integration tests for
SchedulerAuxiliaryTablesWatchdog-
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
-
SchedulerAuxiliaryTablesWatchdogTest
public SchedulerAuxiliaryTablesWatchdogTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
- Throws:
Exception
-
shouldThrowExceptionWhenWatchdogNameIsNull
public void shouldThrowExceptionWhenWatchdogNameIsNull() -
shouldThrowExceptionWhenWatchdogNameIsEmpty
public void shouldThrowExceptionWhenWatchdogNameIsEmpty() -
shouldThrowExceptionWhenWatchdogNameIsBlank
public void shouldThrowExceptionWhenWatchdogNameIsBlank() -
shouldThrowExceptionWhenRuntimeConfigHandlerIsNull
public void shouldThrowExceptionWhenRuntimeConfigHandlerIsNull() -
shouldThrowExceptionWhenTaskParametersIsNull
public void shouldThrowExceptionWhenTaskParametersIsNull() -
shouldExecuteAndStopTask
- Throws:
InterruptedException
-
shouldRejectNextTaskExecutionIfPreviousStillInProgress
- Throws:
InterruptedException
-
shouldRejectTaskExecutionIfWatchdogDestroyed
- Throws:
Exception
-
shouldNotExecuteTaskIfWatchdogIsDisabled
public void shouldNotExecuteTaskIfWatchdogIsDisabled() -
shouldNotExecuteTaskIfSchedulerIntervalIsZero
public void shouldNotExecuteTaskIfSchedulerIntervalIsZero() -
shouldNotExecuteTaskIfSchedulerIntervalIsNegative
public void shouldNotExecuteTaskIfSchedulerIntervalIsNegative()
-