org.logicalcobwebs.proxool.util
Class ListenerContainerTest

java.lang.Object
  extended by TestCase
      extended by org.logicalcobwebs.proxool.AbstractProxoolTest
          extended by org.logicalcobwebs.proxool.util.ListenerContainerTest

public class ListenerContainerTest
extends AbstractProxoolTest

Test AbstractListenerContainer.

Since:
Proxool 0.7
Version:
$Revision: 1.6 $, $Date: 2004/03/16 08:48:32 $
Author:
Christian Nedregaard (christian_nedregaard@email.com), $Author: brenuart $ (current maintainer)

Constructor Summary
ListenerContainerTest(java.lang.String name)
           
 
Method Summary
 void testAdd()
          Test that added listeners get notified.
 void testRemove()
          Test that removed listeners are not notified, and that the remove method returns false when trying to removed an unregistered listener.
 
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

ListenerContainerTest

public ListenerContainerTest(java.lang.String name)
See Also:
junit.framework.TestCase#TestCase
Method Detail

testAdd

public void testAdd()
Test that added listeners get notified.


testRemove

public void testRemove()
Test that removed listeners are not notified, and that the remove method returns false when trying to removed an unregistered listener.