|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.logicalcobwebs.proxool.AbstractProxoolTest
org.logicalcobwebs.proxool.configuration.AvalonConfiguratorTest
Tests that the AvalonConfgiuration works.
Field Summary | |
private ExcaliburComponentManager |
componentManager
|
Fields inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest |
|
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
AvalonConfiguratorTest(java.lang.String name)
|
Method Summary | |
private void |
initializeAvalon(java.lang.String roleFile,
java.lang.String componentFile)
|
void |
testDisposeOnClose()
Test that a configurator that does not have close-on-dispose="false" closes the pools it has configured when it is disposed. |
void |
testNoNamspaces()
Test that the configuration succeds and that all expected properties has been received by Proxool. |
void |
testNotDisposeOnClose()
Test that a configurator that does have close-on-dispose="false" does not close the pools it has configured when it is disposed. |
void |
testWithNamespaces()
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 |
Field Detail |
private ExcaliburComponentManager componentManager
Constructor Detail |
public AvalonConfiguratorTest(java.lang.String name)
TestCase.TestCase(java.lang.String)
Method Detail |
public void testNoNamspaces() throws java.lang.Exception
org.apache.avalon.framework.component.ComponentException
- if the configuration fails.
java.sql.SQLException
- if ProxoolFacade operation fails.
java.lang.Exception
public void testWithNamespaces() throws java.lang.Exception
java.lang.Exception
- if the test is interrupted.public void testDisposeOnClose() throws java.lang.Exception
java.lang.Exception
- if the test is interrupted.public void testNotDisposeOnClose() throws java.lang.Exception
java.lang.Exception
- if the test is interrupted.private void initializeAvalon(java.lang.String roleFile, java.lang.String componentFile) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |