Class QuartzSchedulerServiceTest
- java.lang.Object
-
- org.apache.turbine.test.BaseTestCase
-
- org.apache.turbine.services.schedule.QuartzSchedulerServiceTest
-
public class QuartzSchedulerServiceTest extends BaseTestCase
Unit testing for the quartz implementation of the scheduler service.- Author:
- Thomas Vandahl
-
-
Field Summary
-
Fields inherited from class org.apache.turbine.test.BaseTestCase
attributes, maxInactiveInterval
-
-
Constructor Summary
Constructors Constructor Description QuartzSchedulerServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testAddRemoveJob()
Tests the ability to add and remove a job.void
testEnableDisable()
Tests the ability to enable and disable the service.void
testGetJob()
Tests the ability to retrieve the job added during initialization.void
testRunningJob()
Test to make sure a job actually runs.-
Methods inherited from class org.apache.turbine.test.BaseTestCase
baseInit, getMockRequest, getPipelineData, getRunData
-
-
-
-
Constructor Detail
-
QuartzSchedulerServiceTest
public QuartzSchedulerServiceTest()
-
-
Method Detail
-
testEnableDisable
public void testEnableDisable()
Tests the ability to enable and disable the service.
-
testAddRemoveJob
public void testAddRemoveJob()
Tests the ability to add and remove a job. A list of jobs will be obtained from the service to determine if the operation were successful.
-
testGetJob
public void testGetJob()
Tests the ability to retrieve the job added during initialization.
-
testRunningJob
public void testRunningJob()
Test to make sure a job actually runs.
-
-