67 Commits

Author SHA1 Message Date
Tomas Babej
0bc92d6115 meta: Adjust copyright headers 2021-09-05 12:02:07 -04:00
Tomas Babej
4f14c529b0 tests: Add test for TW #2577
This is already fixed on 2.6.0 thanks to #2405, but it never hurts to
have more tests.

Closes #2577.
2021-08-21 09:53:46 -04:00
Scott Mcdermott
07e2c23a91 tests: Add test cases for 'by' date attribute modifier 2021-07-18 09:45:00 -04:00
Tomas Babej
b2fa368afa tests: Expect failure for another test with project:B) syntax
It could be argued we should not support this syntax (i.e. the ')'
character needs to be surrounded by a space. Note that the ability to
contain ')' as part of the attribute value was explicitly requested (as
a bug report) in TW-1455 (#1481).
2021-01-30 21:40:41 -05:00
Tomas Babej
5928604752 tests: Remove expected failure marks for relative date resolution
The tests now no longer fail.
2021-01-18 02:59:11 -05:00
Tomas Babej
9017cd6e53 doc: Update copyright to 2021 2021-01-02 02:48:22 -05:00
Tomas Babej
d25d930ada tests: Unmark unexpected successes
These tests are passing on 2.6.0.
2020-12-05 19:35:45 -05:00
Tomas Babej
642f250f72 tests: Mark failing corner case tests as expected for 2.6.0
These are still important problems, but it will allow us to fully
leverage CI while waiting for the fixes.
2020-12-05 18:24:29 -05:00
Max Rossmannek
4663ca840f Mark failing tests as expected failures
Related issues:
- TW-1630 (#1654) needs to be re-opened!
- TW-1915 (#1928)
2020-11-30 01:01:26 -05:00
Max Rossmannek
d85901e7ff Properly escape filters including spaces
This adds a note to the man page to properly escape filters containing
spaces. It also fixes the unittests to reflect this.

One of the unittests contained an alternative syntax as discussed in
TW-1479 (#1505). It has been extracted into its own unittest and marked
as an expected failure because it is currently not supported.
2020-11-30 01:01:26 -05:00
Max Rossmannek
f35989be0e Enforce Python 3 for unittests
This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]

For reference:
s;/usr/bin/env python;/usr/bin/env python3;g

[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
2020-11-30 00:51:54 -05:00
Tomas Babej
a09f9d48ab Update copyright to 2020 2020-11-21 12:27:05 -05:00
Martin Michlmayr
174507e7ad Fix typos 2020-11-17 10:41:13 -05:00
Tomas Babej
675b8e2798 tests: Do not explicitly require Python 2.7 2019-01-01 14:53:44 -05:00
Tomas Babej
8066e4e6e2 meta: Update copyright year 2019-01-01 08:46:21 -05:00
Simon Ruderich
e817dfc800 Always use https:// link for opensource.org
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Paul Beckingham
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Tomas Babej
47cfc0b28b tests: Add tests for complex and-or queries 2017-06-12 15:34:01 +02:00
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
5859b2d54a Test: Merged tw-1634.t into filter.t 2015-10-25 11:54:16 -04:00
Paul Beckingham
362d3f7c4a Test: Merged tw-1630.t into filter.t 2015-10-25 11:52:35 -04:00
Paul Beckingham
b025f0524b Test: Merged tw-1609.t into filter.t 2015-10-25 11:43:48 -04:00
Paul Beckingham
e857804ccc Test: Merged tw-1521.t into filter.t 2015-10-25 11:35:26 -04:00
Paul Beckingham
b525fef67d Test: Merged tw-1468.t into filter.t 2015-10-25 10:38:21 -04:00
Paul Beckingham
e32855e5ab Test: Merged tw-1456.t into filter.t 2015-10-24 11:19:59 -04:00
Paul Beckingham
44737f91e9 Test: Merged tw-1452.t into filter.t 2015-10-24 11:18:47 -04:00
Paul Beckingham
a5ea60e711 Test: Merged tw-1424.t into filter.t 2015-10-24 11:04:40 -04:00
Paul Beckingham
9b5f317b4a Test: Merged bug.before.t into filter.t 2015-10-23 09:09:32 -04:00
Paul Beckingham
be7159a708 Test: Merged bug.hasnt.t into filter.t 2015-10-23 09:08:36 -04:00
Paul Beckingham
9f17bc3240 Test: Merged bug.range.t into filter.t 2015-10-23 09:02:01 -04:00
Tomas Babej
cfb827770f tests: Add test for TW-1656 2015-09-11 11:47:52 -04:00
Tomas Babej
f5b9370623 tests: State explicit filetype for .t python files 2015-09-05 14:22:52 -04:00
Paul Beckingham
b9ac0bf22d Test: Merged filter-prefix.t and filter-empty.t into filter.t 2015-07-31 16:40:32 -04:00
Renato Alves
774b9558ad Test: Remove commented WaitingFor which has been fixed 2015-07-13 11:54:03 +01:00
Paul Beckingham
c89fc55d68 Test: Corrected use of quotes in a test 2015-07-12 17:58:26 -04:00
Paul Beckingham
07c76b208e Test: Corrected broken tests 2015-07-04 17:02:36 -04:00
Paul Beckingham
239cf2d848 Test: Corrected test 2015-06-27 23:54:45 -04:00
Renato Alves
4164c8184b Tests: bug.489 merged with filter.t 2015-06-24 20:12:49 +01:00
Renato Alves
2c4480dc1b Tests: bug.485 merged with filter.t 2015-06-11 23:42:46 +01:00
Renato Alves
6b8dd60b33 Tests: bug.480 merged with filter.t 2015-06-11 23:06:37 +01:00
Renato Alves
fad867e86b Tests: due.t, bug.418.t convert. Reorganize filter.t 2015-06-09 23:28:46 +01:00
Renato Alves
4c22f1ddb0 Tests: Include TW-1600 into filter.t 2015-05-25 18:31:30 +01: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
Renato Alves
a67593decf Tests - merge bug.1110.t with filter.t and convert to python 2015-03-12 19:34:58 +00:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
06319711f1 Quoting
- Removed automatic dequoting by the Lexer.
- Implemented Lexer::dequote for manual control.
- Variant dequotes string values when appropriate.
- Fixed some unit tests that became wrong.
2014-11-18 00:59:52 -05:00
Paul Beckingham
ca06927eea Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:23:19 -04:00
Paul Beckingham
622532c38e Unit Tests
- Uncommented some old tests that pass, but obviously once did not.
- Removed useless setup/teardown tests.
2014-05-31 18:18:58 -04:00
Paul Beckingham
3c72e87d70 Unit Tests
- Made tests explicit about search terms.
2014-05-27 00:08:33 -04:00