org.logicalcobwebs.proxool
Class PrototyperTest

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

public class PrototyperTest
extends AbstractProxoolTest

Test the prototyper in ConnectionPool

Since:
Proxool 0.8
Version:
$Revision: 1.10 $, $Date: 2004/05/26 17:19:09 $
Author:
bill, $Author: brenuart $ (current maintainer)

Field Summary
private static Log LOG
           
 
Constructor Summary
PrototyperTest(java.lang.String alias)
           
 
Method Summary
 void testMinimumConnectionCount()
          Test that the minimum number of connections is maintained
 void testPrototypeCount()
          Test that spare connections are made as we run out of them
 
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

PrototyperTest

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

testPrototypeCount

public void testPrototypeCount()
                        throws java.lang.Exception
Test that spare connections are made as we run out of them

Throws:
java.lang.Exception

testMinimumConnectionCount

public void testMinimumConnectionCount()
                                throws java.lang.Exception
Test that the minimum number of connections is maintained

Throws:
java.lang.Exception