Commit graph

1719 commits

Author SHA1 Message Date
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
Renato Alves
3c7187d801 Tests: Create compat.py for Python 3 compatibility
Individual tests are not yet fully compatible with Python 3.
Some still have issues with I/O encoding/decoding. The painful part...
2015-07-24 15:29:41 +01:00
Renato Alves
341b528980 Tests: More Python 3 compatibility changes 2015-07-24 15:29:41 +01:00
Renato Alves
ce4f67e1bd Test: Convert calc.t to Python 2015-07-24 15:29:41 +01:00
Renato Alves
600b3f7656 Test: Remove unused import 2015-07-24 15:29:41 +01:00
Paul Beckingham
773b133562 Test: Converted to Python 2015-07-24 08:57:34 -04:00
Paul Beckingham
f1b06bff93 Test: Converted to Python 2015-07-24 08:20:31 -04:00
Paul Beckingham
8c4188f705 Test: Converted to Python 2015-07-24 00:01:09 -04:00
Paul Beckingham
1f3ffac893 Test: Merged start_NEW.t into start.t 2015-07-23 23:35:56 -04:00
Paul Beckingham
e05b31a89f Test: Converted to Python 2015-07-23 23:14:05 -04:00
Paul Beckingham
a3f4c08659 Test: Converted to Python 2015-07-23 22:51:52 -04:00
Paul Beckingham
3329d5d037 Test: Converted to Python 2015-07-23 22:33:38 -04:00
Paul Beckingham
288b86c3c3 Test: Merged custom.columns.t into columns.t 2015-07-23 21:02:59 -04:00
Paul Beckingham
86171d9fb3 Test: Converted to Python 2015-07-23 20:49:05 -04:00
Paul Beckingham
11e7049d19 Test: Merged bug.uuid.t with uuid.t 2015-07-23 20:29:07 -04:00
Paul Beckingham
09d7cdb7a9 Test: Merged list.all.tags.t into tag.t and converted to Python 2015-07-23 19:29:18 -04:00
Paul Beckingham
45a0cec0ff Test: Removed obsolete tests
- The cal.t tests went to great lengths testing colors applied to days, which
  months were shown, which holidays, and which tasks. These proved to be very
  sensitive to other, non-calendar changes over the years, and the tests are
  now deleted.

  Better tests that are less fragile and more feature-oriented will be created
  to take their place.
2015-07-23 19:20:28 -04:00
Paul Beckingham
fc97513aa4 Test: Converted to Python 2015-07-23 19:09:45 -04:00