01: /**
02: * Created by IntelliJ IDEA.
03: * User: Mecky
04: * Date: 21.07.2005
05: * Time: 22:33:47
06: * To change this template use File | Settings | File Templates.
07: */package org.jzonic.jlo.handler;
08:
09: import junit.framework.Test;
10: import junit.framework.TestCase;
11: import junit.framework.TestSuite;
12: import org.jzonic.jlo.Logger;
13: import org.jzonic.jlo.LogManager;
14:
15: public class JDBCHandlerTest extends TestCase {
16:
17: public JDBCHandlerTest(String testName) {
18: super (testName);
19: }
20:
21: public static void main(String[] args) {
22: junit.textui.TestRunner.run(suite());
23: }
24:
25: public static Test suite() {
26: TestSuite suite = new TestSuite(JDBCHandlerTest.class);
27: return suite;
28: }
29:
30: public void testLog() {
31: Logger logger = LogManager.getLogger("org.jzonic.sql", "db");
32: logger.info("Hello wolrd");
33: }
34: }
|