Package org.jzonic.jlo.handler

Source Code of org.jzonic.jlo.handler.JDBCHandlerTest

/**
* Created by IntelliJ IDEA.
* User: Mecky
* Date: 21.07.2005
* Time: 22:33:47
* To change this template use File | Settings | File Templates.
*/
package org.jzonic.jlo.handler;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.jzonic.jlo.Logger;
import org.jzonic.jlo.LogManager;

public class JDBCHandlerTest extends TestCase {

    public JDBCHandlerTest(String testName) {
        super(testName);
    }

    public static void main(String[] args) {
        junit.textui.TestRunner.run(suite());
    }

    public static Test suite() {
        TestSuite suite = new TestSuite(JDBCHandlerTest.class);
        return suite;
    }

    public void testLog() {
        Logger logger = LogManager.getLogger("org.jzonic.sql","db");
        logger.info("Hello wolrd");
    }
}
TOP

Related Classes of org.jzonic.jlo.handler.JDBCHandlerTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.