org.logicalcobwebs.proxool.util
Class ListenerContainerTest

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

public class ListenerContainerTest
extends AbstractProxoolTest

Test AbstractListenerContainer.

Since:
Proxool 0.7
Version:
$Revision: 1.5 $, $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
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 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

ListenerContainerTest

public ListenerContainerTest(java.lang.String name)
See Also:
TestCase.TestCase(java.lang.String)
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.