01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: TestSuiteScheduler.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.scheduler;
09:
10: import com.uwyn.rife.RifeTestSuite;
11: import junit.framework.Test;
12: import junit.framework.TestSuite;
13:
14: public class TestSuiteScheduler extends TestSuite {
15: public static Test suite() {
16: RifeTestSuite suite = new RifeTestSuite(
17: "Scheduler API test suite");
18:
19: suite.addTestSuite(com.uwyn.rife.scheduler.TestFrequency.class);
20: suite.addTestSuite(com.uwyn.rife.scheduler.TestTask.class);
21: suite
22: .addTestSuite(com.uwyn.rife.scheduler.TestTaskoption.class);
23:
24: suite
25: .addTestSuite(com.uwyn.rife.scheduler.taskmanagers.TestMemoryTasks.class);
26: suite
27: .addTestSuite(com.uwyn.rife.scheduler.taskoptionmanagers.TestMemoryTaskoptions.class);
28: suite
29: .addTestSuite(com.uwyn.rife.scheduler.schedulermanagers.TestMemoryScheduler.class);
30: suite
31: .addTestSuite(com.uwyn.rife.scheduler.schedulermanagers.TestXml2MemoryScheduler.class);
32:
33: suite
34: .addDatasourcedTestSuite(com.uwyn.rife.scheduler.schedulermanagers.TestDatabaseSchedulerInstallation.class);
35: suite
36: .addDatasourcedTestSuite(com.uwyn.rife.scheduler.taskmanagers.TestDatabaseTasks.class);
37: suite
38: .addDatasourcedTestSuite(com.uwyn.rife.scheduler.taskoptionmanagers.TestDatabaseTaskoptions.class);
39: suite
40: .addDatasourcedTestSuite(com.uwyn.rife.scheduler.schedulermanagers.TestDatabaseScheduler.class);
41:
42: return suite;
43: }
44: }
|