01: /*
02: * This software is released under a licence similar to the Apache Software Licence.
03: * See org.logicalcobwebs.proxool.package.html for details.
04: * The latest version is available at http://proxool.sourceforge.net
05: */
06: package org.logicalcobwebs.proxool.util;
07:
08: import junit.extensions.TestSetup;
09: import junit.framework.Test;
10: import junit.framework.TestSuite;
11: import org.logicalcobwebs.proxool.GlobalTest;
12:
13: /**
14: * Run all tests in the util package.
15: *
16: * @version $Revision: 1.4 $, $Date: 2003/03/03 11:12:07 $
17: * @author Bill Horsman (bill@logicalcobwebs.co.uk)
18: * @author $Author: billhorsman $ (current maintainer)
19: * @since Proxool 0.7
20: */
21: public class AllTests {
22:
23: /**
24: * Create a composite test of all util package tests
25: * @return test suite
26: */
27: public static Test suite() {
28: TestSuite suite = new TestSuite();
29: suite.addTestSuite(ListenerContainerTest.class);
30:
31: // create a wrapper for global initialization code.
32: TestSetup wrapper = new TestSetup(suite) {
33: public void setUp() throws Exception {
34: GlobalTest.globalSetup();
35: }
36: };
37: return wrapper;
38: }
39:
40: }
41:
42: /*
43: Revision history:
44: $Log: AllTests.java,v $
45: Revision 1.4 2003/03/03 11:12:07 billhorsman
46: fixed licence
47:
48: Revision 1.3 2003/02/19 23:49:16 billhorsman
49: fixed doc
50:
51: Revision 1.2 2003/02/19 15:14:32 billhorsman
52: fixed copyright (copy and paste error,
53: not copyright change)
54:
55: */
|