1 /*2 * This software is released under a licence similar to the Apache Software Licence.3 * See org.logicalcobwebs.proxool.package.html for details.4 * The latest version is available at http://proxool.sourceforge.net5 */6 package org.logicalcobwebs.proxool.admin;7 8 import junit.extensions.TestSetup;9 import junit.framework.Test;10 import junit.framework.TestSuite;11 import org.logicalcobwebs.proxool.GlobalTest;12 13 /**14 * Run all in admin package tests15 *16 * @version $Revision: 1.5 $, $Date: 2003/03/07 16:35:09 $17 * @author Bill Horsman (bill@logicalcobwebs.co.uk)18 * @author $Author: billhorsman $ (current maintainer)19 * @since Proxool 0.720 */21 public class AllTests {22 23 /**24 * Create a composite test of all admin package tests25 * @return test suite26 */27 public static Test suite() {28 TestSuite suite = new TestSuite();29 suite.addTestSuite(StatisticsListenerTest.class);30 suite.addTestSuite(StatisticsTest.class);31 suite.addTestSuite(SnapshotTest.class);32 33 // create a wrapper for global initialization code.34 TestSetup wrapper = new TestSetup(suite) {35 public void setUp() throws Exception {36 GlobalTest.globalSetup();37 }38 };39 return wrapper;40 }41 42 }43 44 /*45 Revision history:46 $Log: AllTests.java,v $47 Revision 1.5 2003/03/07 16:35:09 billhorsman48 moved jmx stuff into sandbox until it is tested49 50 Revision 1.4 2003/03/03 11:12:05 billhorsman51 fixed licence52 53 Revision 1.3 2003/02/26 19:03:08 chr3254 Added suite for JMX tests.55 56 Revision 1.2 2003/02/26 11:53:17 billhorsman57 added StatisticsTest and SnapshotTest58 59 Revision 1.1 2003/02/20 00:33:15 billhorsman60 renamed monitor package -> admin61 62 Revision 1.3 2003/02/19 23:36:50 billhorsman63 renamed monitor package to admin64 65 Revision 1.2 2003/02/19 15:14:28 billhorsman66 fixed copyright (copy and paste error,67 not copyright change)68 69 Revision 1.1 2003/02/07 15:10:36 billhorsman70 new admin tests71 72 73 */74