org.logicalcobwebs.proxool
Class UpdateDefinitionTest

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

public class UpdateDefinitionTest
extends AbstractProxoolTest

Test that we can update the definition of a pool

Since:
Proxool 0.8
Version:
$Revision: 1.6 $, $Date: 2003/03/04 12:50:44 $
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
UpdateDefinitionTest(java.lang.String alias)
           
 
Method Summary
 void testChangeUrl()
          Can we change the delegate URL of a pool
 void testUpdate()
          Can we update a pool definition by passing a new Properties object?
 void testUpdateUsingAPI()
          Can we update a pool definition by calling updateConnectionPool?
 
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

UpdateDefinitionTest

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

testChangeUrl

public void testChangeUrl()
                   throws java.lang.Exception
Can we change the delegate URL of a pool

Throws:
java.lang.Exception

testUpdate

public void testUpdate()
                throws java.lang.Exception,
                       java.lang.ClassNotFoundException
Can we update a pool definition by passing a new Properties object?

Throws:
java.lang.Exception
java.lang.ClassNotFoundException

testUpdateUsingAPI

public void testUpdateUsingAPI()
                        throws java.lang.Exception,
                               java.lang.ClassNotFoundException
Can we update a pool definition by calling updateConnectionPool?

Throws:
java.lang.Exception
java.lang.ClassNotFoundException