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: TestRifeTests.java 3728 2007-05-01 16:07:54Z gbevin $
07: */
08: package com.uwyn.rife;
09:
10: import com.uwyn.rife.config.RifeConfig;
11: import com.uwyn.rife.rep.Rep;
12: import java.util.logging.Level;
13: import java.util.logging.Logger;
14: import junit.framework.Test;
15: import junit.framework.TestSuite;
16:
17: public class TestRifeTests extends TestSuite {
18: public static Test suite() {
19: TestSuite suite = new TestSuite("Uwyn RIFE tests");
20:
21: Rep.initialize("rep/unittests_participants.xml");
22: Logger.getLogger("com.uwyn.rife").setLevel(Level.WARNING);
23: RifeConfig.Engine.setLogEngineExceptions(false);
24:
25: suite
26: .addTest(com.uwyn.rife.authentication.TestSuiteAuthentication
27: .suite());
28: suite.addTest(com.uwyn.rife.cmf.TestSuiteCmf.suite());
29: suite.addTest(com.uwyn.rife.config.TestSuiteConfig.suite());
30: suite
31: .addTest(com.uwyn.rife.continuations.TestSuiteContinuations
32: .suite());
33: suite.addTest(com.uwyn.rife.database.TestSuiteDatabase.suite());
34: suite
35: .addTest(com.uwyn.rife.datastructures.TestSuiteDatastructures
36: .suite());
37: suite.addTest(com.uwyn.rife.engine.TestSuiteEngine.suite());
38: suite.addTest(com.uwyn.rife.feed.TestSuiteFeed.suite());
39: suite.addTest(com.uwyn.rife.ioc.TestSuiteIoc.suite());
40: suite.addTest(com.uwyn.rife.mail.TestSuiteMail.suite());
41: suite.addTest(com.uwyn.rife.resources.TestSuiteResources
42: .suite());
43: suite.addTest(com.uwyn.rife.rep.TestSuiteRep.suite());
44: suite.addTest(com.uwyn.rife.scheduler.TestSuiteScheduler
45: .suite());
46: suite.addTest(com.uwyn.rife.site.TestSuiteSite.suite());
47: suite.addTest(com.uwyn.rife.template.TestSuiteTemplate.suite());
48: suite.addTest(com.uwyn.rife.test.TestSuiteTest.suite());
49: suite.addTest(com.uwyn.rife.tools.TestSuiteTools.suite());
50: // suite.addTest(com.uwyn.rife.gui.TestSuiteGui.suite());
51:
52: return suite;
53: }
54: }
|