KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > cache > AllTests


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10
11 package org.mmbase.cache;
12
13 import org.mmbase.tests.*;
14
15 import junit.framework.*;
16
17 /**
18  * TestSuite that runs all the release strategy tests.
19  *
20  * @author Ernst Bunders
21  * @version $Id: AllTests.java,v 1.3 2006/04/24 13:54:48 michiel Exp $
22  */

23
24 public class AllTests {
25
26     public static void main(String JavaDoc[] args) {
27         try {
28             junit.textui.TestRunner.run(suite());
29         } catch (Exception JavaDoc e) {
30             System.out.println(e);
31         }
32     }
33
34
35     public static Test suite() throws Exception JavaDoc {
36         //MMBaseTest.startMMBase();
37
// Create the test suite
38
TestSuite suite= new TestSuite("Strategy Tests");
39         suite.addTestSuite(ConstraintMatcherTest.class);
40         suite.addTestSuite(ReleaseStrategyTest.class);
41         return suite;
42     }
43
44 }
45
Popular Tags