KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > smartlib > pool > core > SmartPoolFactoryTest


1 package org.smartlib.pool.core;
2
3 import java.sql.Connection JavaDoc;
4
5 /**
6  * Created by IntelliJ IDEA.
7  * User: kerneldebugger
8  * Date: Oct 1, 2005
9  * Time: 10:09:59 AM
10  * To change this template use File | Settings | File Templates.
11  */

12 public class SmartPoolFactoryTest extends PoolTestFixture {
13
14     SmartPoolFactory factory;
15
16     protected void setUp() throws Exception JavaDoc {
17         super.setUp();
18         factory = new SmartPoolFactory();
19     }
20
21     protected void tearDown() throws Exception JavaDoc {
22         super.tearDown();
23         SmartPoolFactory.shutDown();
24     }
25
26     public void testBasicFactoryLoading() throws Exception JavaDoc {
27         Connection JavaDoc conn = SmartPoolFactory.getConnection();
28     }
29
30 }
31
Popular Tags