Commit graph

2210 commits

Author SHA1 Message Date
Paul Beckingham
76db26e3d7 Test: Added more ISO8601d tests 2015-09-26 21:47:23 -04:00
Paul Beckingham
843e49e2bc Test: Added more ISO8601d tests 2015-09-26 21:43:58 -04:00
Paul Beckingham
2b31994ce0 Test: Added more ISO601d tests 2015-09-26 21:41:50 -04:00
Paul Beckingham
ff320345e9 ISO8601: Added ::monthOfYear and tests 2015-09-26 14:47:08 -04:00
Paul Beckingham
f26cff9a4a ISO8601d: Added :dayName methods and tests 2015-09-26 14:32:14 -04:00
Paul Beckingham
0d6788635e ISO8601d: Added ::monthName and tests 2015-09-26 14:02:26 -04:00
Paul Beckingham
965415d7a4 ISO8601d: Added ::daysInYear and tests 2015-09-26 13:57:10 -04:00
Paul Beckingham
d8eb0ac0da ISO8601d: Added ::daysInMonth and tests 2015-09-26 13:52:43 -04:00
Paul Beckingham
6f5d07dcd4 ISO8601d: Added ::leapYear and tests 2015-09-26 13:47:27 -04:00
Paul Beckingham
f615db8a4c ISO8601d: Added ::length and tests 2015-09-26 13:38:32 -04:00
Paul Beckingham
9962c14de2 Test: Added test for ISO8601d::dayOfWeek 2015-09-26 13:33:41 -04:00
Paul Beckingham
71e2f1bf2f Date: Removed unused ::easter method
- It is duplicated in Dates.cpp.
2015-09-26 13:19:20 -04:00
Paul Beckingham
eeb592d032 ISO8601d: Renamed ::_value to ::_date 2015-09-26 12:26:09 -04:00
Paul Beckingham
bb53ae17ae ISO8601p: Renamed ::_value to ::_period 2015-09-26 12:17:57 -04:00
Paul Beckingham
5325efbd07 TW-1700: modify tags behavior changed
- Thanks to David Badura.
2015-09-21 07:28:26 -04:00
Paul Beckingham
6c90875da4 Test: Fixed test broken by change in verbose default 2015-09-20 19:20:48 -04:00
Paul Beckingham
f97e68f1d6 Build: Ensured 'run_all' is present in the test dir
- Thanks to Gordon Ball.
2015-09-19 12:48:32 -04:00
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