Class DefaultQuartzSchedulerImplTest

    • Field Summary

      • Fields inherited from class org.apache.fulcrum.testcontainer.BaseUnit5Test

        attributes, COMPONENT_APP_ROOT, CONTAINER_ECM, CONTAINER_YAAFI, defaultLogLevel, maxInactiveInterval
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testAddRemoveTrigger()
      The following test has been updated for Quartz 2.3.0 Adding/removing a scheduled job
      void testGetJobs()
      Get all scheduled jobs for "TURBINE" to make sure that the registration worked.
      void testGetTriggersOfJob()
      Make sure the "notSoSimpleJob" is triggered by the CronTrigger.
      void testJobDetailMap()
      Get the job details and job data map of an existing job to make sure that the XStream configuration works.
      void testJobExecution()
      Make sure that our two registered jobs are executed after one second.
      void testService()
      Make sure that the Quartz scheduler is up and running
      • Methods inherited from class org.apache.fulcrum.testcontainer.BaseUnit5Test

        getConfigurationFileName, getContainerType, getMockRequest, getParameterFileName, getRoleFileName, lookup, release, setConfigurationFileName, setContainerType, setLogLevel, setRoleFileName
    • Method Detail

      • testService

        @Test
        public void testService()
                         throws Exception
        Make sure that the Quartz scheduler is up and running
        Throws:
        Exception - generic exception
      • testAddRemoveTrigger

        @Test
        public void testAddRemoveTrigger()
                                  throws Exception
        The following test has been updated for Quartz 2.3.0 Adding/removing a scheduled job
        Throws:
        Exception - generic exception
      • testGetJobs

        @Test
        public void testGetJobs()
                         throws Exception
        Get all scheduled jobs for "TURBINE" to make sure that the registration worked.
        Throws:
        Exception - generic exception
      • testJobDetailMap

        @Test
        public void testJobDetailMap()
                              throws Exception
        Get the job details and job data map of an existing job to make sure that the XStream configuration works.
        Throws:
        Exception - generic exception
      • testJobExecution

        @Test
        public void testJobExecution()
                              throws Exception
        Make sure that our two registered jobs are executed after one second.
        Throws:
        Exception - generic exception