smartpoolfactorytest.java

来自「Contents * Introduction * Installa」· Java 代码 · 共 31 行

JAVA
31
字号
package org.smartlib.pool.core;

import java.sql.Connection;

/**
 * Created by IntelliJ IDEA.
 * User: kerneldebugger
 * Date: Oct 1, 2005
 * Time: 10:09:59 AM
 * To change this template use File | Settings | File Templates.
 */
public class SmartPoolFactoryTest extends PoolTestFixture {

    SmartPoolFactory factory;

    protected void setUp() throws Exception {
        super.setUp();
        factory = new SmartPoolFactory();
    }

    protected void tearDown() throws Exception {
        super.tearDown();
        SmartPoolFactory.shutDown();
    }

    public void testBasicFactoryLoading() throws Exception {
        Connection conn = SmartPoolFactory.getConnection();
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?