org.logicalcobwebs.proxool.admin
Class SnapshotTest

java.lang.Object
  extended by TestCase
      extended by org.logicalcobwebs.proxool.AbstractProxoolTest
          extended by org.logicalcobwebs.proxool.admin.SnapshotTest

public class SnapshotTest
extends AbstractProxoolTest

Test SnapshotIF

Since:
Proxool 0.7
Version:
$Revision: 1.13 $, $Date: 2005/10/07 08:13:46 $
Author:
Bill Horsman (bill@logicalcobwebs.co.uk), $Author: billhorsman $ (current maintainer)

Field Summary
private static Log LOG
           
 
Constructor Summary
SnapshotTest(java.lang.String s)
           
 
Method Summary
private  int getCount(ConnectionInfoIF[] connectionInfos, int status)
           
 void testSnapshot()
          Test whether the statistics we get back are roughly right.
 
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

SnapshotTest

public SnapshotTest(java.lang.String s)
See Also:
junit.framework.TestCase#TestCase
Method Detail

testSnapshot

public void testSnapshot()
                  throws java.lang.Exception
Test whether the statistics we get back are roughly right.

Throws:
java.lang.Exception

getCount

private int getCount(ConnectionInfoIF[] connectionInfos,
                     int status)