Class 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 Detail

      • TriggerableJobTest

        public TriggerableJobTest()
    • 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