test.compliance.core.notification
Class NotificationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.compliance.core.notification.NotificationTest
All Implemented Interfaces:
junit.framework.Test

public class NotificationTest
extends junit.framework.TestCase

Author:
Tom Elrod

Constructor Summary
NotificationTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testNotification()
           
 void testNotificationWithBadListener()
          Test the remoting of JMX Notifications with a valid listener and a bad listener that attempts to hang the service by sleeping in the notification callback.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationTest

public NotificationTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testNotification

public void testNotification()
                      throws Exception
Throws:
Exception

testNotificationWithBadListener

public void testNotificationWithBadListener()
                                     throws Exception
Test the remoting of JMX Notifications with a valid listener and a bad listener that attempts to hang the service by sleeping in the notification callback.

Throws:
Exception


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.