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

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

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

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Tests the ScheduleManager and its accompanying accoutrement of messages and model objects.

Author:
Brian Ellis


Public Member Functions

void setUp () throws Exception
 Test setup method.
void tearDown () throws Exception
 Test teardown method.
void testAddItem () throws Exception
 Tests adding items to the manager.
void testChangeItemEndTime () throws Exception
 Tests changing an item's end time.
void testChangeItemEndTimeSwap () throws Exception
 Tests changing an item's end time such that it is before the start time.
void testChangeItemName () throws Exception
 Tests changing an item's name.
void testChangeItemProject () throws Exception
 Tests changing an item's project.
void testChangeItemStartTime () throws Exception
 Tests changing an item's start time.
void testChangeItemStartTimeSwap () throws Exception
 Tests changing an item's start time such that it is after the end time.
void testInvalidDuration () throws Exception
 Tests adding an item with a negative duration.
void testNullEndTime () throws Exception
 Tests creating an item with a null end time.
void testNullStartTime () throws Exception
 Tests creating an item with a null start time.
void testRemoveItem () throws Exception
 Tests removing items from the manager.
void testUnmanaged () throws Exception
 Tests changing unmanaged schedule items.

Private Member Functions

ScheduleItem makeSampleScheduleItem ()
 Makes a sample ScheduleItem and returns it.
ScheduleItem quickAddScheduleItem ()
 Makes a sample ScheduleItem, adds it to the manager, clears out all the test flags, and returns the item.


Member Function Documentation

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

Test setup method.

Exceptions:
java.lang.Exception 

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

Test teardown method.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testAddItem (  )  throws Exception

Tests adding items to the manager.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemEndTime (  )  throws Exception

Tests changing an item's end time.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemEndTimeSwap (  )  throws Exception

Tests changing an item's end time such that it is before the start time.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemName (  )  throws Exception

Tests changing an item's name.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemProject (  )  throws Exception

Tests changing an item's project.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemStartTime (  )  throws Exception

Tests changing an item's start time.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemStartTimeSwap (  )  throws Exception

Tests changing an item's start time such that it is after the end time.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testInvalidDuration (  )  throws Exception

Tests adding an item with a negative duration.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testNullEndTime (  )  throws Exception

Tests creating an item with a null end time.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testNullStartTime (  )  throws Exception

Tests creating an item with a null start time.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testRemoveItem (  )  throws Exception

Tests removing items from the manager.

Exceptions:
Exception 

void edu.cmu.hcii.calo.test.ScheduleTest.testUnmanaged (  )  throws Exception

Tests changing unmanaged schedule items.

Exceptions:
Exception 

ScheduleItem edu.cmu.hcii.calo.test.ScheduleTest.makeSampleScheduleItem (  )  [private]

Makes a sample ScheduleItem and returns it.

Returns:
the item

ScheduleItem edu.cmu.hcii.calo.test.ScheduleTest.quickAddScheduleItem (  )  [private]

Makes a sample ScheduleItem, adds it to the manager, clears out all the test flags, and returns the item.

Returns:
the item


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