Package de.hybris.platform.cronjob.jalo
Class TriggerableJobTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.cronjob.jalo.TriggerableJobTest
- All Implemented Interfaces:
JaloSessionHolder
It is now possible to trigger jobs directly from the trigger, without going via a cronJob. This class tests that such
a job can be triggered. The relationship between Trigger, Job and CronJob is now.. Job implements ITriggerableJob
O--------------------- O .................................| ................| | ...............................{XOR}
..............| | .................................|.................| CronJob
O-----------------------------------------Trigger
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidvoidvoidvoidvoidvoidvoidPLA-7333 ,null attributes valuesvoidMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
TriggerableJobTest
public TriggerableJobTest()
-
-
Method Details
-
setUpBeforeClass
public static void setUpBeforeClass() -
testTriggerCanCreateAJob
- Throws:
Exception
-
testTriggerNeedsAJobOrACronJobToBeInstantiated
public void testTriggerNeedsAJobOrACronJobToBeInstantiated() -
testCanAssignCronJobToTriggerWithAJob
public void testCanAssignCronJobToTriggerWithAJob() -
testCanAssignJobToTriggerWithACronJob
public void testCanAssignJobToTriggerWithACronJob() -
testPLA8101Explicity
- Throws:
Exception
-
testPLA8101Triggered
- Throws:
Exception
-
testPLA7933TriggerAndInactiveCronJobs
- Throws:
Exception
-
testTriggerForNullAttributes
PLA-7333 ,null attributes values- Throws:
Exception
-