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.logging;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.1 $, $Date: 2003/10/26 16:23:20 $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 * Run all tests25 *26 * @return a composite test of all Proxool tests.27 */28 public static Test suite() {29 TestSuite suite = new TestSuite();30 suite.addTestSuite(Jdk14LoggerTest.class);31 32 // create a wrapper for global initialization code.33 TestSetup wrapper = new TestSetup(suite) {34 public void setUp() throws Exception {35 GlobalTest.globalSetup();36 }37 };38 39 return wrapper;40 }41 42 }43 44 /*45 Revision history:46 $Log: AllTests.java,v $47 Revision 1.1 2003/10/26 16:23:20 billhorsman48 Fixed up test suites49 50 Revision 1.22 2003/09/28 09:38:39 billhorsman51 New unit test for Hibernate.52 53 Revision 1.21 2003/04/27 22:11:34 billhorsman54 temporary removal of PerformanceTest55 56 Revision 1.20 2003/04/27 15:46:11 billhorsman57 moved DataSourceTest to sandbox58 59 Revision 1.19 2003/04/19 13:01:01 billhorsman60 improve tests61 62 Revision 1.18 2003/03/11 14:58:30 billhorsman63 put PerformanceTest back in the global test64 65 Revision 1.17 2003/03/03 11:12:03 billhorsman66 fixed licence67 68 Revision 1.16 2003/02/27 18:01:46 billhorsman69 completely rethought the test structure. it's now70 more obvious. no new tests yet though.71 72 Revision 1.15 2003/02/19 23:25:28 billhorsman73 new StateListenerTest74 75 Revision 1.14 2003/02/19 15:14:22 billhorsman76 fixed copyright (copy and paste error,77 not copyright change)78 79 Revision 1.13 2003/02/19 13:47:32 chr3280 Added configuration listener test.81 82 Revision 1.12 2003/02/18 16:51:19 chr3283 Added tests for ConnectionListeners.84 85 Revision 1.11 2003/02/06 17:41:02 billhorsman86 now uses imported logging87 88 Revision 1.10 2003/01/23 11:13:57 billhorsman89 remove PerformanceTest from suite90 91 Revision 1.9 2002/12/16 17:35:42 chr3292 Removed redundant imports.93 94 Revision 1.8 2002/12/16 17:06:10 billhorsman95 new test structure96 97 Revision 1.7 2002/12/15 19:16:58 chr3298 Added JAXPConfigurator test.99 100 Revision 1.6 2002/11/07 18:53:41 billhorsman101 slight improvement to setup102 103 Revision 1.5 2002/11/02 11:37:48 billhorsman104 New tests105 106 Revision 1.4 2002/10/28 21:37:54 billhorsman107 now allows for non-existent log4jPath108 109 Revision 1.3 2002/10/27 13:05:02 billhorsman110 checkstyle111 112 Revision 1.2 2002/10/27 12:03:33 billhorsman113 clear up of tests114 115 Revision 1.1 2002/10/25 10:41:07 billhorsman116 draft changes to test globalSetup117 118 */119