1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.log4j;
18
19 import junit.framework.Test;
20 import junit.framework.TestSuite;
21 import org.apache.log4j.spi.LoggingEventTest;
22
23
24 /***
25 * Suite of log4j class level unit tests.
26 *
27 * @author Curt Arnold
28 */
29 public class CoreTestSuite {
30 /***
31 * Constructs test suite.
32 * @return test suite
33 */
34 public static Test suite() {
35 TestSuite s = new TestSuite();
36 s.addTestSuite(LoggingEventTest.class);
37 s.addTestSuite(org.apache.log4j.LevelTest.class);
38 s.addTestSuite(org.apache.log4j.PriorityTest.class);
39 s.addTestSuite(org.apache.log4j.CategoryTest.class);
40 s.addTestSuite(org.apache.log4j.FileAppenderTest.class);
41 s.addTestSuite(org.apache.log4j.LogManagerTest.class);
42 s.addTestSuite(org.apache.log4j.helpers.LogLogTest.class);
43 s.addTestSuite(org.apache.log4j.LayoutTest.class);
44 s.addTestSuite(org.apache.log4j.helpers.DateLayoutTest.class);
45 s.addTestSuite(org.apache.log4j.TTCCLayoutTest.class);
46 s.addTestSuite(org.apache.log4j.xml.XMLLayoutTest.class);
47 s.addTestSuite(org.apache.log4j.HTMLLayoutTest.class);
48 s.addTestSuite(org.apache.log4j.PatternLayoutTest.class);
49 s.addTestSuite(org.apache.log4j.spi.LoggingEventTest.class);
50 s.addTestSuite(org.apache.log4j.spi.ThrowableInformationTest.class);
51 s.addTestSuite(org.apache.log4j.spi.LocationInfoTest.class);
52 s.addTestSuite(org.apache.log4j.PropertyConfiguratorTest.class);
53 s.addTestSuite(org.apache.log4j.net.SMTPAppenderTest.class);
54 s.addTestSuite(org.apache.log4j.net.TelnetAppenderTest.class);
55 return s;
56 }
57 }