Unit Tests

- All unit tests most now clean up a residual undo.data file, so the
  number of tests increased, but with no benefit.
This commit is contained in:
Paul Beckingham
2009-06-28 17:07:25 -04:00
parent 5d8c28f72f
commit dc2bac1b5e
66 changed files with 261 additions and 78 deletions

View File

@@ -53,6 +53,7 @@ int main (int argc, char** argv)
// Remove any residual test file.
unlink ("./pending.data");
unlink ("./completed.data");
unlink ("./undo.data");
// Try reading an empty database.
Filter filter;
@@ -153,6 +154,7 @@ int main (int argc, char** argv)
unlink ("./pending.data");
unlink ("./completed.data");
unlink ("./undo.data");
return 0;
}