Unit Tests

- Cleaned up message that is generated when a recurring task is past
  its until: date and all child tasks have been dismissed, as the
  parent task is deleted.
- Added unit tests recur.until.t to prove that the above is working.
This commit is contained in:
Paul Beckingham 2010-09-12 11:43:46 -04:00
parent b1933c5d25
commit 9aedaba7f2
2 changed files with 70 additions and 3 deletions

View file

@ -72,9 +72,7 @@ void handleRecurrence ()
std::vector <Date> due;
if (!generateDueDates (*t, due))
{
std::cout << "Task "
<< t->get ("uuid")
<< " ("
std::cout << "Task ("
<< trim (t->get ("description"))
<< ") has past its 'until' date, and has been deleted."
<< std::endl;