org.logicalcobwebs.proxool
Class KillTest

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

public class KillTest
extends AbstractProxoolTest

Tests whether we can kill connections when we want to

Since:
Proxool 0.9
Version:
$Revision: 1.1 $, $Date: 2004/03/23 21:14:24 $
Author:
Bill Horsman, $Author: billhorsman $ (current maintainer)

Field Summary
private static boolean DETAILED
           
private static boolean MERCIFUL
           
private static boolean MERCILESS
           
 
Constructor Summary
KillTest(java.lang.String alias)
           
 
Method Summary
 void testKillAllMercifully()
           
 void testKillAllMercilessly()
           
 void testKillOneByConnection()
           
 void testKillOneById()
           
 
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

MERCIFUL

private static final boolean MERCIFUL
See Also:
Constant Field Values

MERCILESS

private static final boolean MERCILESS
See Also:
Constant Field Values

DETAILED

private static final boolean DETAILED
See Also:
Constant Field Values
Constructor Detail

KillTest

public KillTest(java.lang.String alias)
See Also:
AbstractProxoolTest
Method Detail

testKillAllMercifully

public void testKillAllMercifully()
                           throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
ProxoolFacade.killAllConnections(java.lang.String, java.lang.String, boolean)

testKillAllMercilessly

public void testKillAllMercilessly()
                            throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
ProxoolFacade.killAllConnections(java.lang.String, java.lang.String, boolean)

testKillOneById

public void testKillOneById()
                     throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
ProxoolFacade.killConnecton(java.lang.String, long, boolean)

testKillOneByConnection

public void testKillOneByConnection()
                             throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
ProxoolFacade.killConnecton(java.lang.String, long, boolean)