Class TriggerServiceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
-
- de.hybris.platform.servicelayer.cronjob.TriggerServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class TriggerServiceTest extends ServicelayerTransactionalBaseTest
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
DAY
protected static long
HOUR
protected static long
MINUTE
protected static long
SECOND
protected static long
WEEK
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description TriggerServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
shouldActivateTwiceWithoutErrorWithDateRangeSetInPast()
void
testDateRange()
void
testDayAMonth()
void
testDays()
void
testDaysAWeek()
void
testDaysAWeekUnsorted()
void
testDaysAWeekWithInterval()
void
testEverySecond()
void
testHours()
void
testMaxDelay()
void
testMaxDelayTooSmall()
void
testMinutelessDays()
void
testMinutes()
void
testOneYear()
void
testRelativeValues()
void
testSeconds()
void
testSecondsCronExpression()
void
testWeekInterval()
void
testWeekly()
void
testWeekly2()
void
testYearly()
-
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
-
-
-
-
Field Detail
-
SECOND
protected static final long SECOND
- See Also:
- Constant Field Values
-
MINUTE
protected static final long MINUTE
- See Also:
- Constant Field Values
-
HOUR
protected static final long HOUR
- See Also:
- Constant Field Values
-
DAY
protected static final long DAY
- See Also:
- Constant Field Values
-
WEEK
protected static final long WEEK
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEverySecond
public void testEverySecond()
-
testSeconds
public void testSeconds()
-
testSecondsCronExpression
public void testSecondsCronExpression()
-
testMinutes
public void testMinutes()
-
testHours
public void testHours()
-
testDays
public void testDays()
-
testMinutelessDays
public void testMinutelessDays()
-
testWeekly
public void testWeekly()
-
testWeekly2
public void testWeekly2()
-
testDayAMonth
public void testDayAMonth()
-
testYearly
public void testYearly()
-
testOneYear
public void testOneYear()
-
testRelativeValues
public void testRelativeValues()
-
testWeekInterval
public void testWeekInterval()
-
testDateRange
public void testDateRange()
-
testDaysAWeek
public void testDaysAWeek()
-
testDaysAWeekUnsorted
public void testDaysAWeekUnsorted()
-
testDaysAWeekWithInterval
public void testDaysAWeekWithInterval()
-
testMaxDelay
public void testMaxDelay()
-
testMaxDelayTooSmall
public void testMaxDelayTooSmall()
-
shouldActivateTwiceWithoutErrorWithDateRangeSetInPast
public void shouldActivateTwiceWithoutErrorWithDateRangeSetInPast()
-
-