| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
org.logicalcobwebs.proxool.AbstractProxoolTest
org.logicalcobwebs.proxool.configuration.JAXPConfiguratorTest
public class JAXPConfiguratorTest
Tests that the JAXPConfgiuration works in various scenarios.
 This is also a test of the XMLConfigurator, as it is delegated to.
| Constructor Summary | |
|---|---|
| JAXPConfiguratorTest(java.lang.String name) | |
| Method Summary | |
|---|---|
| private static java.lang.String | getWorkingDirectoryUrl() | 
|  void | testNoNamspaces()Test that the confguration succeds and that all expected properties has been received by Proxool. | 
|  void | testValidiation()Test that the confguration succeds and that all expected properties has been received by Proxool, and that validiation succceds. | 
|  void | testValidiationFailure()Test that the confguration fails when validiation is turned on and the given xml is not valid. | 
|  void | testWithAlias()Test that we can retrieve a conncetion using the alias after registration | 
|  void | testWithNamspaces()Test that the confguration 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 java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JAXPConfiguratorTest(java.lang.String name)
junit.framework.TestCase#TestCase| Method Detail | 
|---|
public void testNoNamspaces()
                     throws ProxoolException,
                            java.sql.SQLException
ProxoolException - if the configuration fails.
java.sql.SQLException - if ProxoolFacade operation fails.
public void testWithNamspaces()
                       throws ProxoolException,
                              java.sql.SQLException
ProxoolException - if the configuration fails.
java.sql.SQLException - if ProxoolFacade operation fails.
public void testValidiation()
                     throws ProxoolException,
                            java.sql.SQLException,
                            java.io.FileNotFoundException
ProxoolException - if the configuration fails.
java.sql.SQLException - if ProxoolFacade operation fails.
java.io.FileNotFoundException - if the xml file is not found.
public void testWithAlias()
                   throws ProxoolException,
                          java.sql.SQLException,
                          java.io.FileNotFoundException
ProxoolException - if the configuration fails.
java.sql.SQLException - if ProxoolFacade operation fails.
java.io.FileNotFoundException - if the xml file is not found.
public void testValidiationFailure()
                            throws java.sql.SQLException,
                                   java.io.FileNotFoundException,
                                   ProxoolException
java.sql.SQLException - if ProxoolFacade operation fails.
java.io.FileNotFoundException - if the xml file is not found.
ProxoolExceptionprivate static java.lang.String getWorkingDirectoryUrl()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||