Class SchedulerStateGatewayTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.task.impl.gateways.BaseGatewayTest
de.hybris.platform.task.impl.gateways.SchedulerStateGatewayTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
FieldsFields inherited from class de.hybris.platform.task.impl.gateways.BaseGatewayTest
jdbcTemplate, taskService, testHelperFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.task.impl.gateways.BaseGatewayTest
assertTableExists, assertTableNotExists, cleanUpTable, disableTaskEngine, enableTaskEngine, prepareTable, setupBaseGatewayTestMethods 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
-
Field Details
-
LOGGER
public static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
SchedulerStateGatewayTest
public SchedulerStateGatewayTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
insertSchedulerRow
public void insertSchedulerRow() -
updateSchedulerRow
public void updateSchedulerRow() -
updateSchedulerRoleWithDBTimezone
- Throws:
SQLExceptionInterruptedException
-
updateSchedulerRoleWithDBTimezone2
- Throws:
SQLExceptionInterruptedException
-
getSchedulerTimestamp
- Throws:
InterruptedException
-
shouldRemoveSchedulerRow
public void shouldRemoveSchedulerRow() -
getSchedulerTimestampAfterInsertInDifferentTimeZoneWest
- Throws:
InterruptedException
-
getSchedulerTimestampAfterInsertInDifferentTimeZoneEast
- Throws:
InterruptedException
-
getSchedulerTimestampAfterUpdateInDifferentTimeZoneWest
- Throws:
InterruptedException
-
getSchedulerTimestampAfterUpdateInDifferentTimeZoneEast
- Throws:
InterruptedException
-
shouldReturnTrueIfTableExists
public void shouldReturnTrueIfTableExists() -
shouldReturnFalseIfTableDoesNotExist
public void shouldReturnFalseIfTableDoesNotExist()
-