test.compliance.varia
Class NotificationFilterSupportTestCase

java.lang.Object
  extended byTestCase
      extended bytest.compliance.varia.NotificationFilterSupportTestCase

public class NotificationFilterSupportTestCase
extends TestCase

Notification Filter Support tests.

Test it to death.

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

See Also:
Serialized Form

Constructor Summary
NotificationFilterSupportTestCase(java.lang.String s)
          Construct the test
 
Method Summary
 void testDefault()
          By default all types are disabled.
 void testDisableAllTypes()
          Enable some types then disable everyting.
 void testDisableType()
          Enable some types the disable one of them.
 void testEnableType()
          Enable a single type, all others should be disabled.
 void testGetEnabledTypes()
          Test the get enabled types.
 void testPrefix()
          Enable a prefix that matched multiple types.
 void testSerialization()
          Test serialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationFilterSupportTestCase

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

Method Detail

testDefault

public void testDefault()
By default all types are disabled.


testEnableType

public void testEnableType()
Enable a single type, all others should be disabled.


testDisableAllTypes

public void testDisableAllTypes()
Enable some types then disable everyting.


testDisableType

public void testDisableType()
Enable some types the disable one of them.


testPrefix

public void testPrefix()
Enable a prefix that matched multiple types.


testGetEnabledTypes

public void testGetEnabledTypes()
Test the get enabled types.


testSerialization

public void testSerialization()
Test serialization.