org.logicalcobwebs.proxool
Class PrototyperTest

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

public class PrototyperTest
extends AbstractProxoolTest

Test the prototyper in ConnectionPool

Since:
Proxool 0.8
Version:
$Revision: 1.9 $, $Date: 2003/03/10 15:31:26 $
Author:
bill, $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
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 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

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