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

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

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

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Tests the TaskManager.

Author:
Brian Ellis (with a little help from Will)


Public Member Functions

void setUp () throws Exception
 Test setup method.
void tearDown () throws Exception
 Test teardown method.
void testAddNotification () throws Exception
 Tests adding notifications, which should throw a class cast exception.
void testAddSubtask () throws Exception
 Tests adding a Task to a TaskGroup.
void testAddTask () throws Exception
 Tests adding Tasks.
void testChangeSubtaskPriority () throws Exception
 Tests changing a TaskGroup's subtask's priority.
void testChangeTaskComplete () throws Exception
 Tests changing a Task's completeness.
void testChangeTaskDueDate () throws Exception
 Tests changing a Task's due date.
void testChangeTaskPending () throws Exception
 Tests changing a Task's pending state.
void testChangeTaskPriority () throws Exception
 Tests changing a Task's priority.
void testChangeTaskProject () throws Exception
 Tests changing a Task's project.
void testChangeTaskStarred () throws Exception
 Tests changing a Task's starredness.
void testRemoveTask () throws Exception
 Tests removing Tasks.
void testUnmanagedTask () throws Exception
 Tests playing around with Tasks that aren't in the TaskManager.

Private Member Functions

Task quickAddTask ()
 Convenience method to quickly add a new Task 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.TaskTest.setUp (  )  throws Exception

Test setup method.

Exceptions:
java.lang.Exception 

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

Test teardown method.

Exceptions:
Exception 

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

Tests adding notifications, which should throw a class cast exception.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testAddSubtask (  )  throws Exception

Tests adding a Task to a TaskGroup.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testAddTask (  )  throws Exception

Tests adding Tasks.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testChangeSubtaskPriority (  )  throws Exception

Tests changing a TaskGroup's subtask's priority.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testChangeTaskComplete (  )  throws Exception

Tests changing a Task's completeness.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testChangeTaskDueDate (  )  throws Exception

Tests changing a Task's due date.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testChangeTaskPending (  )  throws Exception

Tests changing a Task's pending state.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testChangeTaskPriority (  )  throws Exception

Tests changing a Task's priority.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testChangeTaskProject (  )  throws Exception

Tests changing a Task's project.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testChangeTaskStarred (  )  throws Exception

Tests changing a Task's starredness.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testRemoveTask (  )  throws Exception

Tests removing Tasks.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.TaskTest.testUnmanagedTask (  )  throws Exception

Tests playing around with Tasks that aren't in the TaskManager.

Exceptions:
Exception 

Task edu.cmu.hcii.calo.test.TaskTest.quickAddTask (  )  [private]

Convenience method to quickly add a new Task 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 Task that was created and added.


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