test.compliance.timer
Class TimerNotificationTestCase

java.lang.Object
  extended byTestCase
      extended bytest.compliance.timer.TimerNotificationTestCase
All Implemented Interfaces:
java.util.EventListener, NotificationListener (src)

public class TimerNotificationTestCase
extends TestCase
implements NotificationListener (src)

Timer Notification Tests

See Also:
Serialized Form

Constructor Summary
TimerNotificationTestCase(java.lang.String s)
          Construct the test
 
Method Summary
 void handleNotification(Notification (src)  n, java.lang.Object ignored)
          Handle the notification, just add it to the list
 void testReasonableValues()
          Test a notification gives reasonable values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerNotificationTestCase

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

Method Detail

testReasonableValues

public void testReasonableValues()
Test a notification gives reasonable values


handleNotification

public void handleNotification(Notification (src)  n,
                               java.lang.Object ignored)
Handle the notification, just add it to the list

Specified by:
handleNotification in interface NotificationListener (src)
Parameters:
n - the notification object
ignored - the handback object given to the broadcaster upon listener registration