KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jzonic > jlo > AllTests


1 /*
2  * Created on 24.07.2003
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package org.jzonic.jlo;
8
9 import junit.framework.Test;
10 import junit.framework.TestSuite;
11 import org.jzonic.jlo.formatter.DefaultFormatterTest;
12 import org.jzonic.jlo.formatter.SimpleFormatterTest;
13 import org.jzonic.jlo.formatter.DefinedFormatterTest;
14 import org.jzonic.jlo.handler.RollingDateFileHandlerTest;
15 import org.jzonic.jlo.reader.XMLFileReaderTest;
16
17 /**
18  * @author terry
19  *
20  * To change the template for this generated type comment go to
21  * Window>Preferences>Java>Code Generation>Code and Comments
22  */

23 public class AllTests {
24     
25     public AllTests(String JavaDoc name) {
26     }
27     
28     public static void main(String JavaDoc[] args) {
29         junit.textui.TestRunner.run(AllTests.suite());
30     }
31     
32     public static Test suite() {
33         TestSuite suite = new TestSuite("Test for org.jzonic.jlo");
34         //$JUnit-BEGIN$
35
suite.addTest(new TestSuite(LogConfigurationTest.class));
36         suite.addTest(new TestSuite(LogManagerTest.class));
37         suite.addTest(new TestSuite(LoggerTest.class));
38         suite.addTest(new TestSuite(LoggingTest.class));
39         suite.addTest(new TestSuite(TargetTest.class));
40         suite.addTest(new TestSuite(DefaultFormatterTest.class));
41         suite.addTest(new TestSuite(SimpleFormatterTest.class));
42         suite.addTest(new TestSuite(DefinedFormatterTest.class));
43         suite.addTest(new TestSuite(XMLFileReaderTest.class));
44         suite.addTest(new TestSuite(VariableManagerTest.class));
45         suite.addTest(new TestSuite(CompleteLoggerTest.class));
46         suite.addTest(new TestSuite(TestConfigLoggerTest.class));
47         suite.addTest(new TestSuite(LogPipeTest.class));
48         suite.addTest(new TestSuite(RollingDateFileHandlerTest.class));
49         //$JUnit-END$
50
return suite;
51     }
52 }
53
Popular Tags