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
@IntegrationTest public class TriggerableJobTest extends HybrisJUnit4Test
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 Constructor Description TriggerableJobTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
setUpBeforeClass()
void
testCanAssignCronJobToTriggerWithAJob()
void
testCanAssignJobToTriggerWithACronJob()
void
testPLA7933TriggerAndInactiveCronJobs()
void
testPLA8101Explicity()
void
testPLA8101Triggered()
void
testTriggerCanCreateAJob()
void
testTriggerForNullAttributes()
PLA-7333 ,null attributes valuesvoid
testTriggerNeedsAJobOrACronJobToBeInstantiated()
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUpBeforeClass
public static void setUpBeforeClass()
-
testTriggerCanCreateAJob
public void testTriggerCanCreateAJob() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTriggerNeedsAJobOrACronJobToBeInstantiated
public void testTriggerNeedsAJobOrACronJobToBeInstantiated()
-
testCanAssignCronJobToTriggerWithAJob
public void testCanAssignCronJobToTriggerWithAJob()
-
testCanAssignJobToTriggerWithACronJob
public void testCanAssignJobToTriggerWithACronJob()
-
testPLA8101Explicity
public void testPLA8101Explicity() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPLA8101Triggered
public void testPLA8101Triggered() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPLA7933TriggerAndInactiveCronJobs
public void testPLA7933TriggerAndInactiveCronJobs() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTriggerForNullAttributes
public void testTriggerForNullAttributes() throws java.lang.Exception
PLA-7333 ,null attributes values- Throws:
java.lang.Exception
-
-