org.logicalcobwebs.proxool.configuration
Class PropertyConfiguratorTest

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

public class PropertyConfiguratorTest
extends AbstractProxoolTest

Tests that the PropertyConfigurator works.

Since:
Proxool 0.6
Version:
$Revision: 1.8 $, $Date: 2003/03/04 10:58:45 $
Author:
Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)

Field Summary
 
Fields inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
PropertyConfiguratorTest(java.lang.String name)
           
 
Method Summary
 void testPropertyConfigurator()
          Test that the configuration succeds and that all expected properties has been received by Proxool.
 
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
 

Constructor Detail

PropertyConfiguratorTest

public PropertyConfiguratorTest(java.lang.String name)
See Also:
TestCase.TestCase(java.lang.String)
Method Detail

testPropertyConfigurator

public void testPropertyConfigurator()
                              throws ProxoolException,
                                     java.sql.SQLException
Test that the configuration succeds and that all expected properties has been received by Proxool.

Throws:
ProxoolException - if the configuration fails.
java.sql.SQLException - if ProxoolFacade operation fails.