org.jboss.test.jmx.compliance.notification
Class NotificationBroadcasterSupportTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.test.jmx.compliance.notification.NotificationBroadcasterSupportTestCase
All Implemented Interfaces:
junit.framework.Test

public class NotificationBroadcasterSupportTestCase
extends junit.framework.TestCase

Notification Broadcaster Support tests.

Author:
Adrian Brock.

Constructor Summary
NotificationBroadcasterSupportTestCase(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 junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationBroadcasterSupportTestCase

public NotificationBroadcasterSupportTestCase(String s)
Construct the test

Method Detail

testAddNotificationListener

public void testAddNotificationListener()
                                 throws Exception
Throws:
Exception

testAddNotificationListenerErrors

public void testAddNotificationListenerErrors()
                                       throws Exception
Throws:
Exception

testNotificationWithNoListeners

public void testNotificationWithNoListeners()
                                     throws Exception
Throws:
Exception

testSimpleNotification

public void testSimpleNotification()
                            throws Exception
Throws:
Exception

testSimpleFilteredNotification

public void testSimpleFilteredNotification()
                                    throws Exception
Throws:
Exception

testSimpleFilteredOutNotification

public void testSimpleFilteredOutNotification()
                                       throws Exception
Throws:
Exception

testSimpleNotificationWithHandback

public void testSimpleNotificationWithHandback()
                                        throws Exception
Throws:
Exception

testTwoNotifications

public void testTwoNotifications()
                          throws Exception
Throws:
Exception

testTwoNotificationsWithDifferentTypes

public void testTwoNotificationsWithDifferentTypes()
                                            throws Exception
Throws:
Exception

testTwoNotificationsWithDifferentTypesOneFilteredOut

public void testTwoNotificationsWithDifferentTypesOneFilteredOut()
                                                          throws Exception
Throws:
Exception

testTwoListeners

public void testTwoListeners()
                      throws Exception
Throws:
Exception

testOneListenerRegisteredTwice

public void testOneListenerRegisteredTwice()
                                    throws Exception
Throws:
Exception

testOneListenerRegisteredTwiceOneFilteredOut

public void testOneListenerRegisteredTwiceOneFilteredOut()
                                                  throws Exception
Throws:
Exception

testOneListenerRegisteredWithDifferentHandbacks

public void testOneListenerRegisteredWithDifferentHandbacks()
                                                     throws Exception
Throws:
Exception

testOneListenerRegisteredWithDifferentHandbacksOneFilteredOut

public void testOneListenerRegisteredWithDifferentHandbacksOneFilteredOut()
                                                                   throws Exception
Throws:
Exception

testOneListenerRegisteredWithTwoBroadcasters

public void testOneListenerRegisteredWithTwoBroadcasters()
                                                  throws Exception
Throws:
Exception

testRemoveListener

public void testRemoveListener()
                        throws Exception
Throws:
Exception

testRegisteredTwiceRemoveListener

public void testRegisteredTwiceRemoveListener()
                                       throws Exception
Throws:
Exception

testRegisteredWithFilterRemoveListener

public void testRegisteredWithFilterRemoveListener()
                                            throws Exception
Throws:
Exception

testRegisteredWithHandbackRemoveListener

public void testRegisteredWithHandbackRemoveListener()
                                              throws Exception
Throws:
Exception

testRegisteredWithFilterHandbackRemoveListener

public void testRegisteredWithFilterHandbackRemoveListener()
                                                    throws Exception
Throws:
Exception

testRegisterRemoveListenerRegister

public void testRegisterRemoveListenerRegister()
                                        throws Exception
Throws:
Exception

testRemoveListenerErrors

public void testRemoveListenerErrors()
                              throws Exception
Throws:
Exception

testRemoveTripletListenerOnly

public void testRemoveTripletListenerOnly()
                                   throws Exception
Throws:
Exception

testRemoveTripletListenerFilter

public void testRemoveTripletListenerFilter()
                                     throws Exception
Throws:
Exception

testRemoveTripletListenerHandback

public void testRemoveTripletListenerHandback()
                                       throws Exception
Throws:
Exception

testRemoveTripletListenerFilterHandback

public void testRemoveTripletListenerFilterHandback()
                                             throws Exception
Throws:
Exception

testRegisterTwiceRemoveOnceTriplet

public void testRegisterTwiceRemoveOnceTriplet()
                                        throws Exception
Throws:
Exception

testRegisterTwiceRemoveTwiceTriplet

public void testRegisterTwiceRemoveTwiceTriplet()
                                         throws Exception
Throws:
Exception

testRegisterTwoRemoveOneTripletListener

public void testRegisterTwoRemoveOneTripletListener()
                                             throws Exception
Throws:
Exception

testRegisterTwoRemoveOneTripletListenerFilter

public void testRegisterTwoRemoveOneTripletListenerFilter()
                                                   throws Exception
Throws:
Exception

testRegisterTwoRemoveOneTripletListenerHandback

public void testRegisterTwoRemoveOneTripletListenerHandback()
                                                     throws Exception
Throws:
Exception

testRegisterTwoRemoveOneTripletListenerFilterHandback

public void testRegisterTwoRemoveOneTripletListenerFilterHandback()
                                                           throws Exception
Throws:
Exception

testRemoveTripletErrors

public void testRemoveTripletErrors()
                             throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.