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.util;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 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.720 */21 public class AllTests {22 23 /**24 * Create a composite test of all util package tests25 * @return test suite26 */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 billhorsman46 fixed licence47 48 Revision 1.3 2003/02/19 23:49:16 billhorsman49 fixed doc50 51 Revision 1.2 2003/02/19 15:14:32 billhorsman52 fixed copyright (copy and paste error,53 not copyright change)54 55 */56