Commit graph

1001 commits

Author SHA1 Message Date
Richard Boß
086a3b0d11 Unit Tests
- Added unit tests for tw-1430.t.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-10-13 18:28:06 -04:00
Paul Beckingham
a5563ba135 TW-1424
- TW-1424 Using a date of '1824days' (in the future) fails (thanks to Black Ops
          Testing).
2014-10-13 00:39:17 -04:00
Paul Beckingham
ca14657f0c TW-1428
- Minor tweaks.
2014-10-12 23:48:55 -04:00
Johannes Schlatow
2c7013cc1c Color
- Supports 'color.uda.<name>.<value>' (TW-1428)
2014-10-12 23:44:43 -04:00
Johannes Schlatow
aa89422b6f Test
- Add test case for TW-1414
2014-10-12 23:30:59 -04:00
Paul Beckingham
9325098b5c Unit Tests
- Commented out the bare word tests. Bare word searching is deprecated and these
  failures are the reason why. Retaining the tests for possible later rescue.
- Modified remaining tests because there is a difference in adding 'foo-' and
  searching for 'foo\\-'.
2014-10-11 11:29:23 -04:00
Renato Alves
53fd37cae2 Unittest - Also propagate the correct exit code 2014-10-10 16:42:41 +01:00
Renato Alves
40a95e1196 Unittest - Fix case where exit code was incorrectly registered 2014-10-10 16:19:39 +01:00
Renato Alves
a7e2dfcbcc Unittest - Include additional test cases mentioned in the bugtracker 2014-10-10 12:13:20 +01:00
Renato Alves
dffd4c0477 Unittest - Remove redundant checks
self.t == self.runSuccess -> fails if exit code is != 0
2014-10-09 13:17:12 +01:00
Renato Alves
27f21d375b Unittest - Clarify documentation of runSuccess/runError 2014-10-09 13:16:47 +01:00
Renato Alves
72823a453f Unittest - Helpers to manage hook scripts during tests 2014-10-08 20:29:56 +01:00
Paul Beckingham
015575295c Unit Tests
- Corrected test description in for 1110.
2014-10-04 18:25:55 -04:00
Paul Beckingham
47cfe515e6 Unit Tests
- Fixed cal.t test that fails when EOY is within 3 months.
2014-10-01 18:30:36 -04:00
Paul Beckingham
071cf55c00 Unit Tests
- Added a default 'hooks=off' to the basetest class, after it was discovered
  that the scan for runnable hooks takes non-trivial time.
2014-09-27 16:49:06 -04:00
Paul Beckingham
c81ae48590 Unit Tests
- Added diag.t, which simply runs the 'diagnostics' command and captures output.
  The output will be gathered and stored by Flod, which means we can monitor the
  platform characteristics.
2014-09-27 11:55:30 -04:00
Paul Beckingham
a3d53b401f Unit Tests
- Renamed bug.1418.t to tw-1418.t, the new convention.
2014-09-27 10:41:18 -04:00
Ralph Bean
d2222a4082 Unit Tests
- Added a set of failing tests for the 'filters in operators' bug:
  https://bug.tasktools.org/browse/TW-1418
2014-09-27 10:39:26 -04:00
Paul Beckingham
10fa21851b Unit Tests
- Corrected t.t test that assumed ff3 was still supported.
2014-09-14 12:29:34 -04:00
Paul Beckingham
2f03fc5d56 Unit Tests
- Added partial match tests for dates.
2014-09-09 22:19:26 -04:00
Paul Beckingham
a51dffc7e1 Unit Tests
- Corrected potential for 'modified' to show up in the report, in the
  infrequent case where the modification date was >= 1second ago.
2014-09-08 01:54:37 -04:00
Paul Beckingham
ce797c1e6e Unit Tests
- Upgraded to the new template.
2014-09-08 01:52:43 -04:00
Paul Beckingham
150f72eed4 Shadow Files
- Removed the shadow file feature, which has caused much suffering since version
  1.4.3.
2014-09-08 01:09:24 -04:00
Paul Beckingham
6d36e7cd5b Unit Test
- Removed shadow.t tests ahead of removing the shadow feature, because it is
  broken already due to the removal of auto_commit. The feature will live on
  as an example hook script, using the same configuration variables perhaps.
2014-09-08 00:33:47 -04:00
Paul Beckingham
fe549094e3 Task
- Added 'modified' attribute in ::validate, if not already present. This is not
  strictly necessary, but it is good to be explicit.
2014-09-07 23:24:07 -04:00
Paul Beckingham
e15907f3f1 Code Cleanup
- Removed unused uti.cpp indentTree function.
2014-09-07 17:32:46 -04:00
Paul Beckingham
66bb5b3906 Code Cleanup
- Removed unused util.cpp encode and decode functions.
2014-09-07 17:25:47 -04:00
Paul Beckingham
bffc7a2ac8 Code Cleanup
- Removed unused util.cpp combine function.
2014-09-07 17:14:03 -04:00
Paul Beckingham
8a31ccabdc Code Cleanup
- Removed unused util.cpp delay function.
2014-09-07 16:48:42 -04:00
Paul Beckingham
be104ee7c4 Code Cleanup
- Removed unused util.cpp confirm3 function.
2014-09-07 16:46:20 -04:00
Paul Beckingham
f17c59b1f6 Code Cleanup
- Removed unused text.cpp split_minimal function.
2014-09-07 16:27:46 -04:00
Paul Beckingham
8a904fc287 Code Cleanup
- Removed unused text.cpp noVerticalSpace function.
2014-09-07 16:21:32 -04:00
Paul Beckingham
3f07173a03 Code Cleanup
- Removed unused text.cpp isWordEnd function.
2014-09-07 16:15:32 -04:00
Paul Beckingham
7890cf0ab7 Code Cleanup
- Removed unused text.cpp isWordStart function.
2014-09-07 16:12:06 -04:00
Paul Beckingham
2f815a4c6a Unit Tests
- Added test to make sure that rc.default.command is used.
- Added test to make sure that the 'information' command is used when there are
  ID/UUID args but no command.
2014-09-07 14:52:57 -04:00
Paul Beckingham
9ddf447321 Unit Tests
- Added a new set of tests for date math. More of these should be added.
  Some fail and are disabled currently.
2014-09-07 11:22:09 -04:00
Paul Beckingham
aab23692f1 Lexer
- Added a new type Lexer::typeTag.
2014-09-07 01:17:48 -04:00
Paul Beckingham
861cc83e6d TW-241
- TW-241 new column format; recur.short.
- All duration columns now default to compact ISO duration format.
2014-09-06 15:38:25 -04:00
Paul Beckingham
eae0580c29 Unit Tests
- Corrected test given new localized strings.
2014-09-06 14:45:09 -04:00
Paul Beckingham
9b85f8fff2 Unit Tests
- Corrected tests given feedback changes.
2014-09-06 14:38:57 -04:00
Paul Beckingham
0d2f9c6f1c Unit Tests
- Corrected unit tests, given l10n string changes.
- Upgraded to use the new template.
2014-09-06 14:16:22 -04:00
Paul Beckingham
d24d054630 TW-21
- TW-21 do not match a UDA if not followed by colon (thanks to Scott Kostyshak).
2014-08-31 16:56:12 -04:00
Paul Beckingham
819d15b2a1 Unit Tests
- Not enough backslashes in the unit test, and taskwarrior will need to add
  an extra decode on Task::set and Task::addAnnotaiton.
2014-08-31 13:24:38 -04:00
Paul Beckingham
0f3a8073f0 Unit Tests
- Removed unnecessary backslashes in the unit test.  It was confusing and
  testing the wrong thing.
2014-08-31 13:23:40 -04:00
Paul Beckingham
90643635cd Unit Tests
- Removed excessive tests that add nothing.
2014-08-31 13:06:58 -04:00
Paul Beckingham
fe7683db4a Unit Tests
- Removed backslash.t, which duplicates tests in bug.879.t.
2014-08-31 13:03:02 -04:00
Paul Beckingham
3c29e81995 Unit Tests
- Upgraded to use the new template.
2014-08-31 11:57:06 -04:00
Paul Beckingham
c21bacedf6 Unit Tests
- Upgraded to use the new template.
2014-08-31 00:14:49 -04:00
Paul Beckingham
ff8bc79b8f Unit Tests
- Upgraded to use the new template.
2014-08-30 17:41:22 -04:00
Paul Beckingham
51aa9a5e3e Unit Tests
- Corrected test that assumed $rc was more than just basename.
2014-08-30 17:14:16 -04:00