mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Removed obsolete references to 'synch.key'.
This commit is contained in:
parent
6514bdfc4d
commit
744f0f55ac
8 changed files with 10 additions and 14 deletions
|
@ -33,9 +33,12 @@
|
|||
- TW-271 Parser still looks for task id even when -- is used (thanks to Jim B).
|
||||
- TW-277 Complex filters can skip infix term expansion.
|
||||
- TW-278 Cygwin throws warnings building mk_wcwidth() in wcwidth6.c.
|
||||
- TW-279 ".monthly" unexpectedly appended to task annotation (thanks to Florian
|
||||
Hollerweger).
|
||||
- TW-285 DUETODAY doesn't give any output (thanks to Jostein Berntsen).
|
||||
- TW-306 Wrong date format in burndown view (thanks to Michele Santullo).
|
||||
- TW-752 task ID no longer defaults to info (thanks to Christopher Roberts).
|
||||
- TW-1243 Automatically insert ( ) around user-supplied filter, if any.
|
||||
- TW-1254 Calc command can segfault on negative numbers (thanks to Renato
|
||||
Alves).
|
||||
- TW-1255 New testing framework (thanks to Renato Alves).
|
||||
|
|
|
@ -69,12 +69,11 @@ $output = qx{../src/task rc:$rc bar rc.report.bar.sort=foo+ 2>&1};
|
|||
like ($output, qr/1.+2.+3.+4/ms, "$ut: Default ascending sort correct");
|
||||
|
||||
## Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key), $rc;
|
||||
unlink qw(pending.data completed.data undo.data backlog.data), $rc;
|
||||
ok (! -r 'pending.data' &&
|
||||
! -r 'completed.data' &&
|
||||
! -r 'undo.data' &&
|
||||
! -r 'backlog.data' &&
|
||||
! -r 'synch.key' &&
|
||||
! -r $rc, "$ut: Cleanup");
|
||||
|
||||
exit 0;
|
||||
|
|
|
@ -52,12 +52,11 @@ $output = qx{../src/task all status:completed rc:bug.rc 2>&1};
|
|||
like ($output, qr/ToBeCompleted/, 'status:completed returns completed tasks');
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc);
|
||||
unlink qw(pending.data completed.data undo.data backlog.data bug.rc);
|
||||
ok (! -r 'pending.data' &&
|
||||
! -r 'completed.data' &&
|
||||
! -r 'undo.data' &&
|
||||
! -r 'backlog.data' &&
|
||||
! -r 'synch.key' &&
|
||||
! -r 'bug.rc', 'Cleanup');
|
||||
|
||||
exit 0;
|
||||
|
|
|
@ -54,12 +54,11 @@ unlike ($output, qr/ \033\[32m .* one .* \033\[0m /x, 'No color.uda');
|
|||
like ($output, qr/ \033\[31m .* two .* \033\[0m /x, 'Found color.uda');
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc);
|
||||
unlink qw(pending.data completed.data undo.data backlog.data color.rc);
|
||||
ok (! -r 'pending.data' &&
|
||||
! -r 'completed.data' &&
|
||||
! -r 'undo.data' &&
|
||||
! -r 'backlog.data' &&
|
||||
! -r 'synch.key' &&
|
||||
! -r 'color.rc', 'Cleanup');
|
||||
|
||||
exit 0;
|
||||
|
|
|
@ -55,12 +55,11 @@ unlike ($output, qr/uuid/, 'columns - did not find \'escr\' in uuid');
|
|||
unlike ($output, qr/project/, 'columns - did not find \'escr\' in project');
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc);
|
||||
unlink qw(pending.data completed.data undo.data backlog.data bug.rc);
|
||||
ok (! -r 'pending.data' &&
|
||||
! -r 'completed.data' &&
|
||||
! -r 'undo.data' &&
|
||||
! -r 'backlog.data' &&
|
||||
! -r 'synch.key' &&
|
||||
! -r 'bug.rc', 'Cleanup');
|
||||
|
||||
exit 0;
|
||||
|
|
|
@ -59,12 +59,11 @@ $output = qx{../src/task test rc.print.empty.columns:yes rc:bug.rc 2>&1};
|
|||
like ($output, qr/Project/, 'non-empty \'project\' column is printed if rc.print.empty.columns:yes');
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc);
|
||||
unlink qw(pending.data completed.data undo.data backlog.data bug.rc);
|
||||
ok (! -r 'pending.data' &&
|
||||
! -r 'completed.data' &&
|
||||
! -r 'undo.data' &&
|
||||
! -r 'backlog.data' &&
|
||||
! -r 'synch.key' &&
|
||||
! -r 'bug.rc', 'Cleanup');
|
||||
|
||||
exit 0;
|
||||
|
|
|
@ -51,12 +51,11 @@ my $output = qx{../src/task rc:bug.rc show report.next.columns 2>&1};
|
|||
unlike ($output, qr/-/, 'split on comma for comma-separated lists');
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc);
|
||||
unlink qw(pending.data completed.data undo.data backlog.data bug.rc);
|
||||
ok (! -r 'pending.data' &&
|
||||
! -r 'completed.data' &&
|
||||
! -r 'undo.data' &&
|
||||
! -r 'backlog.data' &&
|
||||
! -r 'synch.key' &&
|
||||
! -r 'bug.rc', 'Cleanup');
|
||||
|
||||
exit 0;
|
||||
|
|
|
@ -57,12 +57,11 @@ my $output = qx{../src/task rc:$rc ls 2>&1};
|
|||
like ($output, qr/sample/ms, "$ut: sample task found");
|
||||
|
||||
## Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key), $rc;
|
||||
unlink qw(pending.data completed.data undo.data backlog.data), $rc;
|
||||
ok (! -r 'pending.data' &&
|
||||
! -r 'completed.data' &&
|
||||
! -r 'undo.data' &&
|
||||
! -r 'backlog.data' &&
|
||||
! -r 'synch.key' &&
|
||||
! -r $rc, "$ut: Cleanup");
|
||||
|
||||
exit 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue