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
  • Constructor Details

    • TriggerableJobTest

      public TriggerableJobTest()
  • Method Details

    • setUpBeforeClass

      public static void setUpBeforeClass()
    • testTriggerCanCreateAJob

      public void testTriggerCanCreateAJob() throws Exception
      Throws:
      Exception
    • testTriggerNeedsAJobOrACronJobToBeInstantiated

      public void testTriggerNeedsAJobOrACronJobToBeInstantiated()
    • testCanAssignCronJobToTriggerWithAJob

      public void testCanAssignCronJobToTriggerWithAJob()
    • testCanAssignJobToTriggerWithACronJob

      public void testCanAssignJobToTriggerWithACronJob()
    • testPLA8101Explicity

      public void testPLA8101Explicity() throws Exception
      Throws:
      Exception
    • testPLA8101Triggered

      public void testPLA8101Triggered() throws Exception
      Throws:
      Exception
    • testPLA7933TriggerAndInactiveCronJobs

      public void testPLA7933TriggerAndInactiveCronJobs() throws Exception
      Throws:
      Exception
    • testTriggerForNullAttributes

      public void testTriggerForNullAttributes() throws Exception
      PLA-7333 ,null attributes values
      Throws:
      Exception