Package org.apache.fulcrum.quartz
Class DefaultQuartzSchedulerImplTest
- java.lang.Object
-
- org.apache.fulcrum.testcontainer.BaseUnit5Test
-
- org.apache.fulcrum.quartz.BaseQuartzTestCase
-
- org.apache.fulcrum.quartz.DefaultQuartzSchedulerImplTest
-
public class DefaultQuartzSchedulerImplTest extends BaseQuartzTestCase
- Author:
- Leandro Rodrigo Saad Cruz, Eric Pugh
-
-
Constructor Summary
Constructors Constructor Description DefaultQuartzSchedulerImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAddRemoveTrigger()The following test has been updated for Quartz 2.3.0 Adding/removing a scheduled jobvoidtestGetJobs()Get all scheduled jobs for "TURBINE" to make sure that the registration worked.voidtestGetTriggersOfJob()Make sure the "notSoSimpleJob" is triggered by the CronTrigger.voidtestJobDetailMap()Get the job details and job data map of an existing job to make sure that the XStream configuration works.voidtestJobExecution()Make sure that our two registered jobs are executed after one second.voidtestService()Make sure that the Quartz scheduler is up and running-
Methods inherited from class org.apache.fulcrum.quartz.BaseQuartzTestCase
setUp, tearDown
-
-
-
-
Constructor Detail
-
DefaultQuartzSchedulerImplTest
public DefaultQuartzSchedulerImplTest()
-
-
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
-
testGetTriggersOfJob
@Test public void testGetTriggersOfJob() throws Exception
Make sure the "notSoSimpleJob" is triggered by the CronTrigger.- 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
-
-