org.logicalcobwebs.proxool
Class ConnectionResetterTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.logicalcobwebs.proxool.AbstractProxoolTest
              extended byorg.logicalcobwebs.proxool.ConnectionResetterTest
All Implemented Interfaces:
junit.framework.Test

public class ConnectionResetterTest
extends AbstractProxoolTest

Test whether the ConnectionResetter works.

Since:
Proxool 0.5
Version:
$Revision: 1.14 $, $Date: 2003/03/04 10:58:43 $
Author:
Bill Horsman (bill@logicalcobwebs.co.uk), $Author: billhorsman $ (current maintainer)

Field Summary
private static Log LOG
           
 
Fields inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ConnectionResetterTest(java.lang.String s)
           
 
Method Summary
 void testAutoCommit()
          Test whether autoCommit is correctly reset when a connection is returned to the pool.
 void testReadOnly()
          Test whether autoCommit is correctly reset when a connection is returned to the pool.
 
Methods inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

private static final Log LOG
Constructor Detail

ConnectionResetterTest

public ConnectionResetterTest(java.lang.String s)
See Also:
TestCase.TestCase(java.lang.String)
Method Detail

testAutoCommit

public void testAutoCommit()
                    throws java.lang.Exception
Test whether autoCommit is correctly reset when a connection is returned to the pool.

Throws:
java.lang.Exception

testReadOnly

public void testReadOnly()
                  throws java.lang.Exception
Test whether autoCommit is correctly reset when a connection is returned to the pool.

Throws:
java.lang.Exception