org.logicalcobwebs.proxool
Class ConfigurationListenerTest

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

public class ConfigurationListenerTest
extends AbstractProxoolTest

Test that registering a ConfigurationListenerIF with the ProxoolFacade works.

Since:
Proxool 0.7
Version:
$Revision: 1.11 $, $Date: 2003/04/27 15:44:19 $
Author:
Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)

Nested Class Summary
(package private)  class ConfigurationListenerTest.MyConfigurationListener
           
 
Field Summary
private static Log LOG
           
 
Fields inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ConfigurationListenerTest(java.lang.String s)
           
 
Method Summary
 void testAddAndRemove()
          Add a listener
 void testConfigurationListeners()
          Do configuration listeners work
 
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

ConfigurationListenerTest

public ConfigurationListenerTest(java.lang.String s)
See Also:
TestCase.TestCase(java.lang.String)
Method Detail

testAddAndRemove

public void testAddAndRemove()
                      throws java.lang.Exception
Add a listener

Throws:
java.lang.Exception - if anything goes wrong

testConfigurationListeners

public void testConfigurationListeners()
                                throws java.lang.Exception
Do configuration listeners work

Throws:
java.lang.Exception - if anything goes wrong