Unit Tests

- All unit tests now clean up the new backlog.data and synch.key files.
This commit is contained in:
Paul Beckingham
2011-08-14 14:09:12 -04:00
parent b0c8cff6a2
commit 49cabc1bfd
150 changed files with 1063 additions and 150 deletions

View File

@@ -28,7 +28,7 @@
use strict;
use warnings;
use Test::More tests => 15;
use Test::More tests => 17;
# Create the rc file.
if (open my $fh, '>', 'undo.rc')
@@ -69,6 +69,12 @@ ok (-r 'undo.data', 'Need to remove undo.data');
unlink 'undo.data';
ok (!-r 'undo.data', 'Removed undo.data');
unlink 'backlog.data';
ok (!-r 'backlog.data', 'Removed backlog.data');
unlink 'synch.key';
ok (!-r 'synch.key', 'Removed synch.key');
unlink 'undo.rc';
ok (!-r 'undo.rc', 'Removed undo.rc');