test.compliance.notification
Class NotificationBroadcasterSupportTestCase

java.lang.Object
  extended byTestCase
      extended bytest.compliance.notification.NotificationBroadcasterSupportTestCase

public class NotificationBroadcasterSupportTestCase
extends TestCase

Notification Broadcaster Support tests.

See Also:
Serialized Form

Constructor Summary
NotificationBroadcasterSupportTestCase(java.lang.String s)
          Construct the test
 
Method Summary
 void testAddNotificationListener()
           
 void testAddNotificationListenerErrors()
           
 void testNotificationWithNoListeners()
           
 void testOneListenerRegisteredTwice()
           
 void testOneListenerRegisteredTwiceOneFilteredOut()
           
 void testOneListenerRegisteredWithDifferentHandbacks()
           
 void testOneListenerRegisteredWithDifferentHandbacksOneFilteredOut()
           
 void testOneListenerRegisteredWithTwoBroadcasters()
           
 void testRegisteredTwiceRemoveListener()
           
 void testRegisteredWithFilterHandbackRemoveListener()
           
 void testRegisteredWithFilterRemoveListener()
           
 void testRegisteredWithHandbackRemoveListener()
           
 void testRegisterRemoveListenerRegister()
           
 void testRegisterTwiceRemoveOnceTriplet()
           
 void testRegisterTwiceRemoveTwiceTriplet()
           
 void testRegisterTwoRemoveOneTripletListener()
           
 void testRegisterTwoRemoveOneTripletListenerFilter()
           
 void testRegisterTwoRemoveOneTripletListenerFilterHandback()
           
 void testRegisterTwoRemoveOneTripletListenerHandback()
           
 void testRemoveListener()
           
 void testRemoveListenerErrors()
           
 void testRemoveTripletErrors()
           
 void testRemoveTripletListenerFilter()
           
 void testRemoveTripletListenerFilterHandback()
           
 void testRemoveTripletListenerHandback()
           
 void testRemoveTripletListenerOnly()
           
 void testSimpleFilteredNotification()
           
 void testSimpleFilteredOutNotification()
           
 void testSimpleNotification()
           
 void testSimpleNotificationWithHandback()
           
 void testTwoListeners()
           
 void testTwoNotifications()
           
 void testTwoNotificationsWithDifferentTypes()
           
 void testTwoNotificationsWithDifferentTypesOneFilteredOut()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationBroadcasterSupportTestCase

public NotificationBroadcasterSupportTestCase(java.lang.String s)
Construct the test

Method Detail

testAddNotificationListener

public void testAddNotificationListener()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testAddNotificationListenerErrors

public void testAddNotificationListenerErrors()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testNotificationWithNoListeners

public void testNotificationWithNoListeners()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleNotification

public void testSimpleNotification()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleFilteredNotification

public void testSimpleFilteredNotification()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleFilteredOutNotification

public void testSimpleFilteredOutNotification()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleNotificationWithHandback

public void testSimpleNotificationWithHandback()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testTwoNotifications

public void testTwoNotifications()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testTwoNotificationsWithDifferentTypes

public void testTwoNotificationsWithDifferentTypes()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testTwoNotificationsWithDifferentTypesOneFilteredOut

public void testTwoNotificationsWithDifferentTypesOneFilteredOut()
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

testTwoListeners

public void testTwoListeners()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testOneListenerRegisteredTwice

public void testOneListenerRegisteredTwice()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testOneListenerRegisteredTwiceOneFilteredOut

public void testOneListenerRegisteredTwiceOneFilteredOut()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testOneListenerRegisteredWithDifferentHandbacks

public void testOneListenerRegisteredWithDifferentHandbacks()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testOneListenerRegisteredWithDifferentHandbacksOneFilteredOut

public void testOneListenerRegisteredWithDifferentHandbacksOneFilteredOut()
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testOneListenerRegisteredWithTwoBroadcasters

public void testOneListenerRegisteredWithTwoBroadcasters()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveListener

public void testRemoveListener()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testRegisteredTwiceRemoveListener

public void testRegisteredTwiceRemoveListener()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testRegisteredWithFilterRemoveListener

public void testRegisteredWithFilterRemoveListener()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testRegisteredWithHandbackRemoveListener

public void testRegisteredWithHandbackRemoveListener()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testRegisteredWithFilterHandbackRemoveListener

public void testRegisteredWithFilterHandbackRemoveListener()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testRegisterRemoveListenerRegister

public void testRegisterRemoveListenerRegister()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveListenerErrors

public void testRemoveListenerErrors()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveTripletListenerOnly

public void testRemoveTripletListenerOnly()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveTripletListenerFilter

public void testRemoveTripletListenerFilter()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveTripletListenerHandback

public void testRemoveTripletListenerHandback()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveTripletListenerFilterHandback

public void testRemoveTripletListenerFilterHandback()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testRegisterTwiceRemoveOnceTriplet

public void testRegisterTwiceRemoveOnceTriplet()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testRegisterTwiceRemoveTwiceTriplet

public void testRegisterTwiceRemoveTwiceTriplet()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testRegisterTwoRemoveOneTripletListener

public void testRegisterTwoRemoveOneTripletListener()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testRegisterTwoRemoveOneTripletListenerFilter

public void testRegisterTwoRemoveOneTripletListenerFilter()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testRegisterTwoRemoveOneTripletListenerHandback

public void testRegisterTwoRemoveOneTripletListenerHandback()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testRegisterTwoRemoveOneTripletListenerFilterHandback

public void testRegisterTwoRemoveOneTripletListenerFilterHandback()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveTripletErrors

public void testRemoveTripletErrors()
                             throws java.lang.Exception
Throws:
java.lang.Exception