Commit graph

1736 commits

Author SHA1 Message Date
Paul Beckingham
d4b450bc53 Test: Added Lexer::dequote tests 2015-07-28 19:33:58 -04:00
Paul Beckingham
387c981b6d Test: Fixed error message 2015-07-28 16:57:40 -04:00
Paul Beckingham
1b764e1641 Test: Reverted change, because deletion propagates, and that's okay 2015-07-28 16:54:10 -04:00
Renato Alves
2ef6248f53 Test: Reorganize and cleanup bulk.t tests 2015-07-28 20:30:00 +01:00
Renato Alves
2f15bb8fa5 Test: Revert recurrence.t test as per comment
The comment mentions one behaviour but the test was performing another.
It was also failing for a different reason, which is filters with no
matches always exit with non-zero. If the correct behaviour is indeed
expiring all recurring tasks, the test must use runError instead.

Also added a TODO for easier finding.
2015-07-28 20:01:39 +01:00
Renato Alves
3908c29a21 Test: Add confirmation test on recurrence.t
I'm a little unsure about the correct behaviour here.
I would expect both features to depend on rc.recurrence.confirmation and
not rc.confirmation. Yet when rc.confirmation=on no prompt is shown
about recurring parents.
2015-07-28 19:59:19 +01:00
Renato Alves
0f8c995934 Test: Correct output message of an undo test 2015-07-28 19:57:18 +01:00
Renato Alves
64e7939122 Test: Add another test for truncated STDIN 2015-07-28 19:57:18 +01:00
Renato Alves
fe23510c51 Test: Drop default confirmation:off and correct tests accordingly 2015-07-28 19:57:18 +01:00
Renato Alves
1ad8aa9aec Test: Add unexpected successes to problems script 2015-07-28 16:57:51 +01:00
Paul Beckingham
7956fbe9c0 Test: Added test of initial .taskrc generation 2015-07-28 10:03:10 -04:00
Paul Beckingham
e6a4b50da1 Test: Fixed mistake where the 'annual' variant was not run 2015-07-28 00:22:41 -04:00
Paul Beckingham
e1a102d717 Test: Corrected UDA tests 2015-07-28 00:08:49 -04:00
Paul Beckingham
e69a44e788 Test: Removed 'json.array:off' 2015-07-27 23:48:40 -04:00
Paul Beckingham
2961c3ee85 Test: Added free-form JSON test 2015-07-27 22:57:29 -04:00
Paul Beckingham
44fc565f6d Test: Updated test to have ISO8601 duration value 2015-07-27 20:48:56 -04:00
Renato Alves
8c36db1272 Test: Remove Perl from conversion script 2015-07-27 23:48:37 +01:00
Renato Alves
2a4674eb3b Test: Convert bash_completion.t to Python
Last Perl test converted.
Celebration dance: ~o~ \o\ \o| |o| |o/ /o/ ~o~
2015-07-27 23:46:20 +01:00
Renato Alves
a5b8936f7a Test: Simplify path construction of calc binary 2015-07-27 21:33:14 +01:00
Renato Alves
1b8e38fb7e Test: Convert feature.559.t to Python 2015-07-27 19:42:38 +01:00
Paul Beckingham
d103862bff Test: ID range support was dropped some time ago for dependencies
- 'task <id> modify depends:1-10' has not worked for a while. Not sure
  it needs to be added.
2015-07-27 02:24:45 -04:00
Paul Beckingham
cd1bd1eec9 Test: Reduced performance sensitivity 2015-07-27 02:15:24 -04:00
Paul Beckingham
1021bb530a Test: 'a360fc44-315c-4366-b70c-ea7e7520b749.foo.bar' is not a DOM ref because '.foo.bar' isn't 2015-07-27 01:54:38 -04:00
Paul Beckingham
99a53edca0 Lexer: ::isLiteral now stops at EOS 2015-07-27 00:57:30 -04:00
Paul Beckingham
f2fe397048 Test: Removed time-sensitive tests
- Removed assumptions that 'due:eow' matched +MONTH.
- Removed assumptions that 'due:eom' didn't match +WEEK.
2015-07-27 00:38:24 -04:00
Paul Beckingham
0c7e731b0d Lexer: Integrated ::commonLength
- Uses std::string::size_type for all string lengths, offsets.
- Rewrote ::isLiteral to be simpler.
- Added support for abbreviated DOM refs.
- Obeys rc.abbreviation.minimum, indirectly.
- Added tests.
2015-07-27 00:31:15 -04:00
Paul Beckingham
8406dd4c6f Documentation: Updated README 2015-07-26 17:12:24 -04:00
Paul Beckingham
466d1ddb69 Test: Cleaned up lexer.t.cpp
- Added more DOM types for testing.
- Added attribute/type mapping to give Lexer a chance to find DOM refs.
- Recategorized DOM-like token to Lexer::Type::identifier, because now DOM
  parsing is more precise.
2015-07-26 16:21:10 -04:00
Daniel Shahaf
c78fc47402 zcmdcat: zsh completion: group commands by category 2015-07-26 14:01:59 -04:00
Paul Beckingham
18295a3b32 Test: Added Lexer::isLiteral and Lexer::isOneOf tests 2015-07-26 10:56:18 -04:00
Paul Beckingham
f910ce39de Test: Added TODO notes for further test scenarios 2015-07-25 17:55:39 -04:00
Paul Beckingham
3fd8545d43 Test: Propagated typo fix to tests 2015-07-25 14:07:14 -04:00
Paul Beckingham
1dc1cf0cb7 Test: Added explanation 2015-07-25 14:06:32 -04:00
Paul Beckingham
77190eda6c Test: Added space separator for DOM output
- When using multiple arguments (task _get 1.due 2.due), the results are
  separated by a space, even if the values are blank. The consistency of this
  is good, but the test ignored it.
2015-07-25 14:05:12 -04:00
Paul Beckingham
804c3526ba Test: Accepted the de facto behavior is better than the intended behavior
- Adding an 'until' date to a recurring task is propagated to the task instances
  and they expire at the same time. It was assumed otherwise, but the working
  behavior is better.
2015-07-25 14:00:27 -04:00
Paul Beckingham
42d5ebfd4b Test: Reduced sensitivity of test
- Some virtual tags appear only when a task is due in the same MONTH, so it is
  easy to imagine on July 31st testing 'due:tomorrow' and it being a different
  month.
2015-07-25 13:59:08 -04:00
Paul Beckingham
99e0953489 TW-1641: 'edit' should process or reject <mods> arguments
- Thanks to Daniel Shahaf.
2015-07-25 09:39:13 -04:00
Paul Beckingham
3df84516d2 RX: Was missing REG_ENHANCED, which omits \d support 2015-07-25 00:43:48 -04:00
Paul Beckingham
41a76c6798 Tags: New 'UDA' and 'ORPHAN' virtual tags. 2015-07-24 23:46:24 -04:00
Paul Beckingham
0f72d3d502 TW-1640: '_get <id>.start' for an inactive tasks returns a date formatted from epoch 0. 2015-07-24 22:47:50 -04:00
Paul Beckingham
ebbd20b719 Test: Extended dom tests 2015-07-24 18:50:21 -04:00
Paul Beckingham
61a9eec512 Documentation: Updated for 2.4.5/2.5.0 2015-07-24 18:49:21 -04:00
Paul Beckingham
564a84d603 Test: Merged tw-285.t into tag.t 2015-07-24 17:38:15 -04:00
Paul Beckingham
7357d1003d Test: Converted to Python, enabled 2015-07-24 17:12:37 -04:00
Paul Beckingham
4eeea35c7e Test: Removed obsolete tests
- Addtionally removed rc creation test, which did almost nothing
2015-07-24 17:04:15 -04:00
Paul Beckingham
29b18c216c Test: Converted to Python 2015-07-24 17:01:57 -04:00
Renato Alves
68debe2561 Test: Mark known failure as expectedFailure and add note 2015-07-24 17:24:06 +01:00
Renato Alves
846e09cfc3 Test: Convert bug.955.t and merge with recurrence.t 2015-07-24 16:09:42 +01:00
Renato Alves
92b71a76fc Test: Fix flapping test
Every now and then "Age" would show up breaking the column matching
2015-07-24 15:51:47 +01:00
Renato Alves
9d09d35c59 Test: Convert bug.calc.t to Python 2015-07-24 15:33:26 +01:00