Commit graph

1307 commits

Author SHA1 Message Date
Paul Beckingham
7293de75b0 TW-1608: The recur/recurring report shows tasks without a recur interval
- Lexer needed additional lookbehind criteria for ::isTag (thanks to Brad
  Collette).
2015-05-09 21:27:48 -04:00
Wilhelm Schuermann
65b6a35ef5 Tests: Make self.t('add proj:"with space" foo') work 2015-05-08 18:19:37 +02:00
Wilhelm Schuermann
69698454c3 Tests: Speed up filter.t
- None of the tests in filter.t write data.  Make use of that by
  setting up task data once for all included tests.
2015-05-07 17:23:14 +02:00
Wilhelm Schuermann
3a7af017f8 Tests: Make "run_all --fast" even faster
- Run isolated tests in the background, bringing the time for running
  "run_all" down to the time it takes to run the old tests.
2015-05-07 11:41:05 +02:00
Wilhelm Schuermann
accd51bc35 Tests: Fix problems with "run_all --fast" on OpenBSD 2015-05-06 22:06:11 +02:00
Wilhelm Schuermann
5fee3ef27c Tests: Clean up after "run_all --fast" 2015-05-06 20:56:35 +02:00
Paul Beckingham
0850e26a3e Tests: Removed annoying comment. 2015-05-06 14:44:35 -04:00
Wilhelm Schuermann
4deb17696e Tests: Parallelize Python tests
- "./run_all --fast" parallelizes all Python tests.  Perl and C++ tests
  are not guaranteed to run in an isolated environment, so run them
  serially instead.
- Adjust some tests in order to recognize them as Python.
2015-05-06 19:17:33 +02:00
Wilhelm Schuermann
7d859d6b6d Tests: Beautify gc.t, add one more GC test 2015-05-05 21:00:39 +02:00
Wilhelm Schuermann
f6e04585ae Tests: Add simpler self.t("add foo +bar") syntax 2015-05-05 20:28:10 +02:00
Renato Alves
1e31df3c7a Tests: bug.368.t > feature.recurrence.t as python 2015-05-05 15:13:01 +01:00
Renato Alves
db04f1b583 Tests: bug.327.t > feature.recurrence.t in python 2015-05-05 15:05:42 +01:00
Wilhelm Schuermann
1c9edcc2ec TW-1610: Add tests
- More GC tests needed, this is just a basic "starter pack" to
  reproduce the problem reported in TW-1610.
2015-05-05 10:10:29 +02:00
Renato Alves
ec9b8c5aa9 Tests: Force protocol to IPv4 on localhost 2015-05-03 15:52:12 +01:00
Paul Beckingham
36e31811b0 TW-1606: scheduled.any filter
- The Lexer::dom type worked embedded, but not isolated (thanks to Peter Rochen).
2015-04-29 18:53:13 -04:00
Renato Alves
fcfc95df86 Tests: Fix framework log collection error 2015-04-27 11:39:34 +01:00
Renato Alves
e60ea2e07a Revert "Tests: Use IP address instead of hostname with taskd"
Going back to using "localhost". Using the IP address causes GNUTLS
handshake errors in GnuTLS <= 3.2.18

This reverts commit 233d97fbff.
2015-04-26 18:13:20 +01:00
Renato Alves
931afb0674 Tests: Documentation on TASK/TASKD_USE_PATH 2015-04-26 17:46:44 +01:00
Renato Alves
7fcb26f363 Tests: Increase timeout to 5 seconds 2015-04-26 15:28:51 +01:00
Renato Alves
233d97fbff Tests: Use IP address instead of hostname with taskd 2015-04-26 00:24:59 +01:00
Renato Alves
64be230639 Tests: Include taskd in USE_PATH warning 2015-04-25 23:59:49 +01:00
Renato Alves
a52bba46f1 Output taskd.log to stdout on taskd failures (not test errors) 2015-04-25 23:51:01 +01:00
Paul Beckingham
b91a4b4982 Tests: Code formatting 2015-04-25 11:55:19 -04:00
Paul Beckingham
e3e72e32f1 Build: More changes to address 32-bit builds 2015-04-18 10:26:37 +01:00
Paul Beckingham
935b2993f3 C++11: Took advantage of N1757. 2015-04-06 15:30:39 -04:00
Renato Alves
afec6d451f Tests: Force stopping taskd on 5mins timeout 2015-04-06 13:46:08 +01:00
Renato Alves
fd17a68930 Tests: expose 'args' passed to hook scripts
- Useful to validate that all the expected arguments were passed with
  correct escaping.
- Update test/template.t with one use-case for 'args'
2015-04-06 13:43:41 +01:00
Renato Alves
09d86eb165 Tests: Better diagnostics on taskd start failure. 2015-04-06 13:08:17 +01:00
Wilhelm Schuermann
8d5a77f490 Tests: Adjust wrapper to make hook env test work 2015-04-06 10:01:09 +02:00
Paul Beckingham
d405a5f3b5 Tests: Changed hook test to use a command that actually produces output 2015-04-05 16:14:20 -04:00
Paul Beckingham
d98b6e5c0b Tests: Converted priority urgency coefficients to UDAs 2015-04-05 14:58:07 -04:00
Paul Beckingham
e8654c49b5 Tests: Modified tests to accomodate new 'prioirity' color rules 2015-04-05 14:05:29 -04:00
Paul Beckingham
c28932ebbe Tests: Removed diag output from test. Still doens't work. 2015-04-05 13:29:00 -04:00
Paul Beckingham
826769bcd9 Tests: Removed unused code 2015-04-05 13:21:20 -04:00
Paul Beckingham
d31227d2e2 Tests: Add testing for hook args. Doesn't work. 2015-04-05 13:04:51 -04:00
Paul Beckingham
5af4579741 Priority: Converted 'priority' attribute to a UDA
- 'priority.long' and 'priority.short' formats now map to 'priority', and
  generate a warning.
- Man page updated.
- Converted priority urgency coefficients to UDA equivalents.
- Converted priority color rules to UDA color rules.
- Removed 'default.priority' support.
- Removed special sort handling for 'priority' field in Variant, added special
  UDA sort handling.
- Removed ColPriority.{h,cpp} source files.
- Removed asorted newly-unused variables.
- The 'show' command now highlights unused priority settings.
- Removed unused localized priority-relateѕ strings.
- Added legacy mapping for columns and sort columns for 'priority.long' and
  'priority.short' columns in report definitions.
- Removed priority color rules implementation.
- Removed obsolete tests for #860, #990, custom.priority_long.t.
- Updated various tests that set priority default, colors.
2015-04-04 19:30:33 -04:00
Paul Beckingham
07a18f4fae Tests: UDA sort tests 2015-04-04 15:48:01 -04:00
Wilhelm Schuermann
70d5f595c7 TW-1584: attr.{isnt,not} use partial matching
- Change attr.{isnt,not} to be the exact opposite of attr{:is,:},
  i.e. exact matching.
- Fix tests that assumed the old behavior was intended.
2015-04-02 13:38:04 +02:00
Wilhelm Schuermann
229078ffed Scripts: Disable hooks in bash completion script
- Stop on-launch and on-exit hooks with output from interfering with
  bash completion.
2015-04-01 16:23:42 +02:00
Wilhelm Schuermann
5d4859c44d Tests: Fix bash_completion.t problem
- bash_completion.t rewrites task.sh during setup in order to be able
  to test it.  704eb1eab3 broke that
  rewrite mechanism.
2015-03-31 11:28:12 +02:00
Paul Beckingham
e0f3e6d328 Tests: Corrected test that assumes lines are longer than they are 2015-03-29 23:52:34 -04:00
Paul Beckingham
eb35386d76 Tests: Recategorized lexemes that are only dates in the presence of Eval 2015-03-29 23:14:59 -04:00
Paul Beckingham
71fea510bb Tests: Corrected lexer test "\"" 2015-03-29 23:02:59 -04:00
Paul Beckingham
1e411ed4b8 Tests: Corrected lexer text '\'' 2015-03-29 23:01:33 -04:00
Paul Beckingham
cfbdd4bc05 Tests: Corrected lexer test "\"three\"" 2015-03-29 22:59:27 -04:00
Paul Beckingham
690d9493f0 Build: Resolve some more compiler warnings 2015-03-29 18:03:36 -04:00
Paul Beckingham
f454a02224 Tests: Added more Lexer::Type::date tests 2015-03-28 16:57:34 -04:00
Paul Beckingham
1bbe709e38 Tests: Removed redundant LExer::Type::tag tests 2015-03-28 16:53:32 -04:00
Paul Beckingham
a4b96a3191 Tests: Added Lexer::Type::op tests, a full set 2015-03-28 16:49:57 -04:00
Paul Beckingham
ddb6014358 Tests: Converted Lexer::Type::duration tests 2015-03-28 16:38:17 -04:00