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.configuration;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 tests15 *16 * @version $Revision: 1.7 $, $Date: 2003/03/03 11:12:06 $17 * @author Bill Horsman (bill@logicalcobwebs.co.uk)18 * @author $Author: billhorsman $ (current maintainer)19 * @since Proxool 0.520 */21 public class AllTests {22 23 /**24 * Create a composite test of all Proxool configuration tests.25 *26 * @return a composite test of all Proxool configuration tests.27 */28 public static Test suite() {29 TestSuite suite = new TestSuite();30 suite.addTestSuite(ConfiguratorTest.class);31 suite.addTestSuite(PropertyConfiguratorTest.class);32 suite.addTestSuite(JAXPConfiguratorTest.class);33 suite.addTestSuite(AvalonConfiguratorTest.class);34 35 // create a wrapper for global initialization code.36 TestSetup wrapper = new TestSetup(suite) {37 public void setUp() throws Exception {38 GlobalTest.globalSetup();39 }40 };41 return wrapper;42 }43 44 }45 46 /*47 Revision history:48 $Log: AllTests.java,v $49 Revision 1.7 2003/03/03 11:12:06 billhorsman50 fixed licence51 52 Revision 1.6 2003/02/19 15:14:26 billhorsman53 fixed copyright (copy and paste error,54 not copyright change)55 56 Revision 1.5 2002/12/26 11:35:32 billhorsman57 Added PropertyConfiguratorTest to test suite.58 59 Revision 1.4 2002/12/23 02:40:21 chr3260 Doc.61 62 Revision 1.3 2002/12/18 03:13:51 chr3263 Doc.64 65 Revision 1.2 2002/12/16 17:35:43 chr3266 Removed redundant imports.67 68 Revision 1.1 2002/12/16 17:06:26 billhorsman69 new test structure70 71 Revision 1.7 2002/12/15 19:16:58 chr3272 Added JAXPConfigurator test.73 74 Revision 1.6 2002/11/07 18:53:41 billhorsman75 slight improvement to setup76 77 Revision 1.5 2002/11/02 11:37:48 billhorsman78 New tests79 80 Revision 1.4 2002/10/28 21:37:54 billhorsman81 now allows for non-existent log4jPath82 83 Revision 1.3 2002/10/27 13:05:02 billhorsman84 checkstyle85 86 Revision 1.2 2002/10/27 12:03:33 billhorsman87 clear up of tests88 89 Revision 1.1 2002/10/25 10:41:07 billhorsman90 draft changes to test globalSetup91 92 */93