Inheritance diagram for edu.cmu.hcii.calo.test.ScheduleTest:
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. |
void edu.cmu.hcii.calo.test.ScheduleTest.setUp | ( | ) | throws Exception |
Test setup method.
java.lang.Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.tearDown | ( | ) | throws Exception |
Test teardown method.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testAddItem | ( | ) | throws Exception |
Tests adding items to the manager.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemEndTime | ( | ) | throws Exception |
Tests changing an item's end time.
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.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemName | ( | ) | throws Exception |
Tests changing an item's name.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemProject | ( | ) | throws Exception |
Tests changing an item's project.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testChangeItemStartTime | ( | ) | throws Exception |
Tests changing an item's start time.
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.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testInvalidDuration | ( | ) | throws Exception |
Tests adding an item with a negative duration.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testNullEndTime | ( | ) | throws Exception |
Tests creating an item with a null end time.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testNullStartTime | ( | ) | throws Exception |
Tests creating an item with a null start time.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testRemoveItem | ( | ) | throws Exception |
Tests removing items from the manager.
Exception |
void edu.cmu.hcii.calo.test.ScheduleTest.testUnmanaged | ( | ) | throws Exception |
Tests changing unmanaged schedule items.
Exception |
ScheduleItem edu.cmu.hcii.calo.test.ScheduleTest.makeSampleScheduleItem | ( | ) | [private] |
Makes a sample ScheduleItem and returns it.
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.