KickJava   Java API By Example, From Geeks To Geeks.

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


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 org.logicalcobwebs.proxool.AbstractProxoolTest;
9
10 /**
11  * Test {@link org.logicalcobwebs.logging.impl.Jdk14Logger}
12  *
13  * @version $Revision: 1.3 $, $Date: 2003/11/04 13:54:02 $
14  * @author billhorsman
15  * @author $Author: billhorsman $ (current maintainer)
16  * @since Proxool 0.8
17  */

18 public class Jdk14LoggerTest extends AbstractProxoolTest {
19
20     private static final Log LOG = LogFactory.getLog(Jdk14LoggerTest.class);
21
22     public Jdk14LoggerTest(String JavaDoc alias) {
23         super(alias);
24     }
25
26     /**
27      * Override {@link AbstractProxoolTest#setUp} because we don't want to
28      * configure logging.
29      * @throws Exception if anything goes wrong (it can't, we don't do anything)
30      */

31     protected void setUp() throws Exception JavaDoc {
32         // Don't setup logging. Just use the default JDK14Logger
33
}
34
35     /**
36      * Override {@link AbstractProxoolTest#tearDown} because it does things that rely
37      * on {@link AbstractProxoolTest#setUp} having run
38      * @throws Exception if anything goes wrong (it can't, we don't do anything)
39      */

40     protected void tearDown() throws Exception JavaDoc {
41         // Don't do anything
42
}
43
44     public void testJdk14Logger() {
45         LOG.info("Does this log correctly?");
46     }
47
48 }
49
Popular Tags