Commit graph

1843 commits

Author SHA1 Message Date
Paul Beckingham
66676539ce Test: Allow .exe in file test names 2015-09-15 22:07:18 -04:00
Paul Beckingham
aea4e8cb11 Docs: Removed false statement from doc 2015-09-15 17:02:59 -04:00
Tomas Babej
ec4a7abb06 tests: Add test for default sorting of UDA strings 2015-09-13 10:52:23 -04:00
Tomas Babej
cfb827770f tests: Add test for TW-1656 2015-09-11 11:47:52 -04:00
Wilhelm Schuermann
791bd1b82a Test: Simplify tw-1688.t
- bash_tap tests are executed in a temporary folder.  Any data written
  to the current directory will therefore be cleaned up without the
  need for manually dealing with cleanup.
- $TASKDATA is set to this directory as well, so all Taskwarrior data
  files are directly accessible.
2015-09-11 17:22:00 +02:00
Tomas Babej
f22322bc18 problems: Return non-zero code when some tests fail 2015-09-11 07:50:37 -04:00
Paul Beckingham
cd736a0d70 TW-1688: task fails to import
- Thanks to Rainer Müller.
2015-09-11 07:49:29 -04:00
Paul Beckingham
3c54c78e3a Sorting: All dates now sort the same as 'due' dates 2015-09-08 17:57:25 -04:00
Paul Beckingham
75152d913e Test: Version test didn't know about betas 2015-09-07 17:15:42 -04:00
Paul Beckingham
91c05ea157 Test: Fixed broken test 2015-09-07 16:06:39 -04:00
Paul Beckingham
d87a753de1 Docs: Updated man page regarding 'debug.parser' values
- Modified tests that use the above.
2015-09-07 12:33:53 -04:00
Paul Beckingham
433d3dedca Test: Corrected system name for FreeBSD 2015-09-07 12:09:41 -04:00
Paul Beckingham
10944a23e1 Test: Added combination of skipIf and expectedFail 2015-09-07 12:04:14 -04:00
Paul Beckingham
557a8d357c Test: Marked color merge tests as expected failures
- This is a bug in Color.cpp, not in the color.rules.t script, and the symptoms
  of this bug are 256-color usage when 16-colors are expected. The Color::blend
  method auto-upgradeѕ from 16 to 256, and may be the culprit. This bug is not
  important enough to fix now.
2015-09-07 11:05:00 -04:00
Paul Beckingham
0a75c526a9 Test: Removed obsolete 'edit' test 2015-09-07 10:48:21 -04:00
Paul Beckingham
89df8e5c8a Test: Corrected test, which assumed zero-based annotation indexing 2015-09-06 16:49:29 -04:00
Paul Beckingham
ff965c95d3 TW-1687: task add due:som appears to be interpreted as 'someday'
- Thanks to Alan Young.
2015-09-06 15:48:05 -04:00
Paul Beckingham
b7c7d782e0 Test: Modified error message expectation 2015-09-06 14:59:43 -04:00
Paul Beckingham
fdcc7b3d0f Test: Modified timeout values
- Removed timeout for bulk.t, context.t
- Increased timeout for delete.t
2015-09-06 13:09:11 -04:00
Paul Beckingham
499b2256fc Test: Fixed test to contain expected colors
- Problem was that Linux has been upgrading 16-color output, and the test was
  based on observed output, which looks correct, but actually isn't.
  We may end up marking these tests as expeected to fail, because they are not
  important.
2015-09-06 12:31:50 -04:00
Paul Beckingham
3765aacc73 Tests: Fixed test that will no longer compile 2015-09-05 17:23:48 -04:00
Tomas Babej
a49f5bb23c tests: Bring tw-1452 and tw-1481 back to life
TW-1481 is not yet fixed though, so mark it as expectedFail.
2015-09-05 14:34:29 -04:00
Tomas Babej
ae1405a7be tests: Modernize tw-1452 and tw-1481 tests 2015-09-05 14:34:21 -04:00
Tomas Babej
21617bf55e tests: Add tests for referencing DOM values in filter expressions 2015-09-05 14:33:58 -04:00
Tomas Babej
619c5d5533 tests: Add tests for accessing UDA attribute values using DOM 2015-09-05 14:33:39 -04:00
Tomas Babej
76000d7515 tests: Add tests for references to DOM values on addition 2015-09-05 14:33:20 -04:00
Tomas Babej
9fe7993d96 tests: Add export_one and latest helpers to the Task test interface
- The 'export_one' method will export one task matching a filter,
  raising error if not exactly one task was matched.

- The 'latest' property will return the task matching the "+LATEST"
  filter.
2015-09-05 14:33:02 -04:00
Tomas Babej
f5b9370623 tests: State explicit filetype for .t python files 2015-09-05 14:22:52 -04:00
Paul Beckingham
ca37fab090 Revert "Test: Corrected import test"
This reverts commit a9b7d1b533.
2015-09-05 14:22:42 -04:00
Wilhelm Schuermann
5cd1649db2 Tests: Add failing on-modify hook
- An on-modify hook that reverts all changes (i.e. returns the original
  task) should result in no changes.  Currently the "modified:"
  attribute gets updated despite no other changes being present.
2015-09-04 21:39:08 +02:00
Tomas Babej
6b83945a21 Urgency: Replace 'next' coefficient with configuration entry 2015-09-04 08:10:36 -04:00
Paul Beckingham
a9b7d1b533 Test: Corrected import test
- Test was comparing two supposedly identical exports, but it is possible,
  and is occasionally true, that the 'entry' and 'modified' dates were not
  identical.
2015-09-04 08:08:31 -04:00
Paul Beckingham
aae29cbcfd Test: Fixed test broken by command category rename. 2015-09-04 07:56:50 -04:00
Tomas Babej
184d736763 tests: Add tests for rule.color.merge 2015-09-03 18:14:09 -04:00
Paul Beckingham
f9572b3d14 Test: Tweaked tw-20 test
- Added 'Harley Pig' to AUTHORS.
- Made test executable.
2015-08-31 18:44:27 -04:00
Harley Pig
e91137c315 Test: TW-20 Check that annotations are not deleted and re-added when not edited 2015-08-31 18:43:22 -04:00
Harley Pig
7d02676f68 Test: Check for correct handling when same task entered twice
Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com>
2015-08-30 20:55:39 +02:00
Wilhelm Schuermann
6e22a1f279 Tests: Use TASKDATA env variable in Bash tests
- Now that bash_tap.sh no longer uses subshells, TASKDATA can and
  and should be used.  This fixes a bug introduced with the switch
  to "eval" where having TASKDATA set while running tests would
  potentially lead to problems.
2015-08-30 18:34:29 +02:00
Paul Beckingham
c61f7e6b8f Footnote: New 'recur' verbosity token 2015-08-23 20:36:06 -04:00
Paul Beckingham
b1839adf97 TW-1664: Notify of waiting→pending promotion
- Thanks to Daniel Shahaf.
2015-08-23 16:59:22 -04:00
Paul Beckingham
b765825cca Test: Added import status validation 2015-08-22 12:36:23 -04:00
Paul Beckingham
908451cbf7 Test: Added more '_unique' tests 2015-08-22 08:51:49 -04:00
Paul Beckingham
703cfdf2d6 Test: Added segfault test
- Thanks to Daniel Shahaf.
2015-08-22 08:16:07 -04:00
Paul Beckingham
358e0cc62d Modifiers: "is" and "isnt" are now exact/inexact operators 2015-08-17 08:09:40 -04:00
Paul Beckingham
8eb321d8f0 Test: Added simple failure in addition to SIGABRT 2015-08-14 11:26:40 -04:00
Paul Beckingham
a5c722361d Test: Added bulk.t diagnostics
- Because running the test on different platforms doesn't show any errors,
  but automated flod testing does.  Mystery...
2015-08-14 11:10:11 -04:00
Paul Beckingham
cdc5b82e3f Test: Added search case sensitivity to test 2015-08-14 10:36:54 -04:00
Paul Beckingham
5a7446bf4f Test: Made test less ambiguous 2015-08-14 09:51:46 -04:00
Paul Beckingham
6724dd3766 Test: Reworked test to avoid faketime and self.t.runError 2015-08-14 09:13:10 -04:00
Paul Beckingham
14a8246e22 Test: Added faketime warning to template 2015-08-14 09:08:58 -04:00