org.logicalcobwebs.proxool
Class ProxyConnectionTest

java.lang.Object
  extended by TestCase
      extended by org.logicalcobwebs.proxool.AbstractProxoolTest
          extended by org.logicalcobwebs.proxool.ProxyConnectionTest

public class ProxyConnectionTest
extends AbstractProxoolTest

Test whether ProxyConnection works

Since:
Proxool 0.8
Version:
$Revision: 1.5 $, $Date: 2003/03/04 10:24:40 $
Author:
bill, $Author: billhorsman $ (current maintainer)

Field Summary
private static Log LOG
           
 
Constructor Summary
ProxyConnectionTest(java.lang.String alias)
           
 
Method Summary
 void testCloseStatement()
          Tests whether a statement gets closed automatically by the Connection.
 
Methods inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Log LOG
Constructor Detail

ProxyConnectionTest

public ProxyConnectionTest(java.lang.String alias)
Method Detail

testCloseStatement

public void testCloseStatement()
                        throws java.lang.Exception
Tests whether a statement gets closed automatically by the Connection. I can't think of a way of asserting this but you should see a line in the log saying it was closed.

Throws:
java.lang.Exception