Package de.hybris.platform.cronjob.jalo
Class TriggerTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
-
- de.hybris.platform.cronjob.jalo.TriggerTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class TriggerTest extends HybrisJUnit4TransactionalTest
Test for Trigger
-
-
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 TriggerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testActivation()
void
testAvoidACronJobsJobTwiceInParallel()
void
testCreateTriggers()
void
testDateRange()
void
testDayAMonth()
void
testDays()
void
testDaysAWeek()
void
testDaysAWeekUnsorted()
void
testDaysAWeekWithInterval()
void
testEndlessCycleBug()
void
testEverySecond()
void
testHours()
void
testMaxDelay()
void
testMaxDelayTooSmall()
void
testMinutelessDays()
void
testMinutes()
void
testOneYear()
void
testRelativeValues()
void
testSeconds()
void
testWeekInterval()
void
testWeekly()
void
testWeekly2()
void
testYearly()
-
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()
-
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()
-
testActivation
public void testActivation()
-
testCreateTriggers
public void testCreateTriggers()
-
testEndlessCycleBug
public void testEndlessCycleBug()
-
testMaxDelay
public void testMaxDelay()
-
testMaxDelayTooSmall
public void testMaxDelayTooSmall()
-
testAvoidACronJobsJobTwiceInParallel
public void testAvoidACronJobsJobTwiceInParallel()
-
-