test.compliance.relation
Class MBeanServerNotificationFilterTestCase

java.lang.Object
  extended byTestCase
      extended bytest.compliance.relation.MBeanServerNotificationFilterTestCase

public class MBeanServerNotificationFilterTestCase
extends TestCase

MBean Server Notification Filter tests.

Test it to death.

NOTE: The tests use String literals to ensure the comparisons are not performed on object references.

WARNING!! WARNING!! The spec says the MBeanServerNotificationFilter accepts everything by default. The RI does exactly the opposite.

See Also:
Serialized Form

Constructor Summary
MBeanServerNotificationFilterTestCase(java.lang.String s)
          Construct the test
 
Method Summary
 void testDefault()
          By default all names are enabled.
 void testDisableAll()
          Disable all
 void testDisableOne()
          Disable one
 void testEnableAll()
          Enable all
 void testEnableOne()
          Enable one
 void testGetters()
          Test getters
 void testSerialization()
          Test serialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerNotificationFilterTestCase

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

Method Detail

testDefault

public void testDefault()
By default all names are enabled.


testEnableAll

public void testEnableAll()
Enable all


testEnableOne

public void testEnableOne()
Enable one


testDisableAll

public void testDisableAll()
Disable all


testDisableOne

public void testDisableOne()
Disable one


testGetters

public void testGetters()
Test getters


testSerialization

public void testSerialization()
Test serialization.