edu.cmu.hcii.calo.test.NotificationTest Class Reference

Inherits edu.cmu.hcii.calo.test.MessagePassingTestHarness.

Inheritance diagram for edu.cmu.hcii.calo.test.NotificationTest:

Inheritance graph
[legend]
Collaboration diagram for edu.cmu.hcii.calo.test.NotificationTest:

Collaboration graph
[legend]
List of all members.

Detailed Description

Tests that we match specification with our Notification Manager.

Author:
Will Haines


Public Member Functions

void setUp () throws Exception
 Test setup method.
void tearDown () throws Exception
 Test teardown method.
void testAddNotification () throws Exception
 Tests adding Notifications.
void testChangeNotificationPriority () throws Exception
 Tests changing a Notification's priority.
void testChangeNotificationText () throws Exception
 Tests changing a Notification's associated text.
void testRemoveNotification () throws Exception
 Tests removing Notifications.
void testUnmanagedNotification () throws Exception
 Tests playing around with Notifications that aren't in the NotificationManager.

Private Member Functions

Notification quickAddNotification ()
 Convenience method to quickly add a new Notification to the manager and then clear out all our semaphores so we have a clean slate to check for new Message instances coming in after that.


Member Function Documentation

void edu.cmu.hcii.calo.test.NotificationTest.setUp (  )  throws Exception

Test setup method.

Exceptions:
java.lang.Exception 

void edu.cmu.hcii.calo.test.NotificationTest.tearDown (  )  throws Exception

Test teardown method.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.NotificationTest.testAddNotification (  )  throws Exception

Tests adding Notifications.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.NotificationTest.testChangeNotificationPriority (  )  throws Exception

Tests changing a Notification's priority.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.NotificationTest.testChangeNotificationText (  )  throws Exception

Tests changing a Notification's associated text.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.NotificationTest.testRemoveNotification (  )  throws Exception

Tests removing Notifications.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.NotificationTest.testUnmanagedNotification (  )  throws Exception

Tests playing around with Notifications that aren't in the NotificationManager.

Exceptions:
Exception 

Notification edu.cmu.hcii.calo.test.NotificationTest.quickAddNotification (  )  [private]

Convenience method to quickly add a new Notification to the manager and then clear out all our semaphores so we have a clean slate to check for new Message instances coming in after that.

Returns:
the Notification that was created and added.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:18 2007 for CALO by  doxygen 1.5.2