Package de.hybris.platform.task.impl
Class SchedulerAuxiliaryTablesWatchdogTaskTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.task.impl.SchedulerAuxiliaryTablesWatchdogTaskTest
- All Implemented Interfaces:
JaloSessionHolder
Integration tests for
SchedulerAuxiliaryTablesWatchdogTask-
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
-
SchedulerAuxiliaryTablesWatchdogTaskTest
public SchedulerAuxiliaryTablesWatchdogTaskTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
- Throws:
Exception
-
shouldThrowExceptionWhenNameIsNull
public void shouldThrowExceptionWhenNameIsNull() -
shouldThrowExceptionWhenNameIsEmpty
public void shouldThrowExceptionWhenNameIsEmpty() -
shouldThrowExceptionWhenNameIsBlank
public void shouldThrowExceptionWhenNameIsBlank() -
shouldReturnNotBlankName
public void shouldReturnNotBlankName() -
shouldThrowExceptionWhenTenantIsNull
public void shouldThrowExceptionWhenTenantIsNull() -
shouldStopWatchdogTaskIfCalculatedWaitingTimeIsNull
- Throws:
InterruptedException
-
shouldStopWatchdogTaskIfCalculatedWaitingTimeIsZero
- Throws:
InterruptedException
-
shouldStopWatchdogTaskIfCalculatedWaitingTimeIsNegative
- Throws:
InterruptedException
-
shouldStopWatchdogTaskIfCalculatedWaitingTimeIsInvalid
public void shouldStopWatchdogTaskIfCalculatedWaitingTimeIsInvalid(Duration waitingTime) throws InterruptedException - Throws:
InterruptedException
-
shouldCalculateWaitingTimeInRuntime
- Throws:
InterruptedException
-
shouldTerminateRunningWhenStoppedBeforeStart
- Throws:
InterruptedException
-
shouldNotAllowToExecuteTheSameTaskAtTheSameTime
- Throws:
InterruptedException
-
shouldContinueRunningOnSystemSuspend
- Throws:
InterruptedException
-
shouldContinueRunningOnUnexpectedRuntimeException
- Throws:
InterruptedException
-
shouldTerminateOnInterruptedException
- Throws:
InterruptedException
-