KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > logicalcobwebs > logging > AllTests


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.net
5  */

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 tests
15  *
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.5
20  */

21 public class AllTests {
22
23     /**
24      * Run all tests
25      *
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 JavaDoc {
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 billhorsman
48  Fixed up test suites
49
50  Revision 1.22 2003/09/28 09:38:39 billhorsman
51  New unit test for Hibernate.
52
53  Revision 1.21 2003/04/27 22:11:34 billhorsman
54  temporary removal of PerformanceTest
55
56  Revision 1.20 2003/04/27 15:46:11 billhorsman
57  moved DataSourceTest to sandbox
58
59  Revision 1.19 2003/04/19 13:01:01 billhorsman
60  improve tests
61
62  Revision 1.18 2003/03/11 14:58:30 billhorsman
63  put PerformanceTest back in the global test
64
65  Revision 1.17 2003/03/03 11:12:03 billhorsman
66  fixed licence
67
68  Revision 1.16 2003/02/27 18:01:46 billhorsman
69  completely rethought the test structure. it's now
70  more obvious. no new tests yet though.
71
72  Revision 1.15 2003/02/19 23:25:28 billhorsman
73  new StateListenerTest
74
75  Revision 1.14 2003/02/19 15:14:22 billhorsman
76  fixed copyright (copy and paste error,
77  not copyright change)
78
79  Revision 1.13 2003/02/19 13:47:32 chr32
80  Added configuration listener test.
81
82  Revision 1.12 2003/02/18 16:51:19 chr32
83  Added tests for ConnectionListeners.
84
85  Revision 1.11 2003/02/06 17:41:02 billhorsman
86  now uses imported logging
87
88  Revision 1.10 2003/01/23 11:13:57 billhorsman
89  remove PerformanceTest from suite
90
91  Revision 1.9 2002/12/16 17:35:42 chr32
92  Removed redundant imports.
93
94  Revision 1.8 2002/12/16 17:06:10 billhorsman
95  new test structure
96
97  Revision 1.7 2002/12/15 19:16:58 chr32
98  Added JAXPConfigurator test.
99
100  Revision 1.6 2002/11/07 18:53:41 billhorsman
101  slight improvement to setup
102
103  Revision 1.5 2002/11/02 11:37:48 billhorsman
104  New tests
105
106  Revision 1.4 2002/10/28 21:37:54 billhorsman
107  now allows for non-existent log4jPath
108
109  Revision 1.3 2002/10/27 13:05:02 billhorsman
110  checkstyle
111
112  Revision 1.2 2002/10/27 12:03:33 billhorsman
113  clear up of tests
114
115  Revision 1.1 2002/10/25 10:41:07 billhorsman
116  draft changes to test globalSetup
117
118 */

119
Popular Tags