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
@IntegrationTest public class SchedulerStateGatewayTest extends BaseGatewayTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.task.impl.gateways.BaseGatewayTest
jdbcTemplate, taskService, testHelper
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SchedulerStateGatewayTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetSchedulerTimestamp()voidgetSchedulerTimestampAfterInsertInDifferentTimeZoneEast()voidgetSchedulerTimestampAfterInsertInDifferentTimeZoneWest()voidgetSchedulerTimestampAfterUpdateInDifferentTimeZoneEast()voidgetSchedulerTimestampAfterUpdateInDifferentTimeZoneWest()voidinsertSchedulerRow()voidsetUp()voidshouldReturnFalseIfTableDoesNotExist()voidshouldReturnTrueIfTableExists()voidtearDown()voidupdateSchedulerRow()-
Methods inherited from class de.hybris.platform.task.impl.gateways.BaseGatewayTest
assertTableExists, assertTableNotExists, disableTaskEngine, enableTaskEngine, setupBaseGatewayTest
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
insertSchedulerRow
public void insertSchedulerRow()
-
updateSchedulerRow
public void updateSchedulerRow()
-
getSchedulerTimestamp
public void getSchedulerTimestamp() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getSchedulerTimestampAfterInsertInDifferentTimeZoneWest
public void getSchedulerTimestampAfterInsertInDifferentTimeZoneWest() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getSchedulerTimestampAfterInsertInDifferentTimeZoneEast
public void getSchedulerTimestampAfterInsertInDifferentTimeZoneEast() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getSchedulerTimestampAfterUpdateInDifferentTimeZoneWest
public void getSchedulerTimestampAfterUpdateInDifferentTimeZoneWest() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getSchedulerTimestampAfterUpdateInDifferentTimeZoneEast
public void getSchedulerTimestampAfterUpdateInDifferentTimeZoneEast() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
shouldReturnTrueIfTableExists
public void shouldReturnTrueIfTableExists()
-
shouldReturnFalseIfTableDoesNotExist
public void shouldReturnFalseIfTableDoesNotExist()
-
-