Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Bharatvaj H
05904549a0
Fixes #2580
...
Check annotations field before parsing
Add test case for annotations
2021-08-21 08:28:43 -04:00
Dustin J. Mitchell
20af583e21
Refactor to store dependencies as individual attributes
...
This also drops support for the transitional `json.depends.array`
configuration value, which has not been necessary since ~2016.
As with tags, dependencies are stored in both a "combined",
comma-separated format (for compatibility) and in an
attribute-per-dependency format (for the future).
2021-08-17 20:36:54 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -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
Tomas Babej
02db131fa1
tests: Use updated unittest method
2020-11-21 12:27:05 -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
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
d8bf209f29
Tests: Updated to non-deprecated Boolean values
2016-09-04 16:13:23 -04:00
Paul Beckingham
774cf3e2d9
Tests: Fixed import/export tests that assumed a default value
...
- Instead of settting the value.
2016-02-21 11:16:19 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
5f641824fd
Test: Merged tw-1441.t into import.t
2015-10-24 11:11:10 -04:00
Paul Beckingham
10ebefa8eb
TW-1716: on-modify hooks fail if date.iso
is not set
...
- Thanks to Jens Erat.
2015-10-18 10:47:25 -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
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
Harley Pig
7d02676f68
Test: Check for correct handling when same task entered twice
...
Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com>
2015-08-30 20:55:39 +02:00
Paul Beckingham
b765825cca
Test: Added import status validation
2015-08-22 12:36:23 -04:00
Paul Beckingham
f04a6177ac
Test: Another UUID validation test
2015-08-09 10:42:15 -04:00
Paul Beckingham
2a6a40d97b
Test: Verify that invalid UUIDs are not accepted
2015-08-09 10:26:10 -04:00
Paul Beckingham
6e5fe0631f
Test: Now sets rc.json.depends.array=off for testing
2015-07-28 21:59:53 -04:00
Renato Alves
fe23510c51
Test: Drop default confirmation:off and correct tests accordingly
2015-07-28 19:57:18 +01: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
Wilhelm Schuermann
0f4cbc5dc9
TW-158: Add failing tests
2015-07-22 23:03:02 +02:00
Renato Alves
27b8cabac1
Test: Change most tests to use "add test" instead of split arguments
2015-07-17 19:14:33 +01:00
Renato Alves
9e481234b8
Test: Fix import.t task <id> using alpha characters in UUID
2015-07-17 19:14:33 +01:00
Renato Alves
bc64a08054
Test: Convert roundtrip.t to Python and merge with import.t
2015-07-17 19:14:33 +01:00
Wilhelm Schuermann
10f684c09b
Tests: More JSON formatting for "import"
2015-07-16 15:30:48 +02:00
Wilhelm Schuermann
2bc418c7e5
Tests: Merge import_NEW.t into import.t
2015-07-16 13:38:34 +02:00
Renato Alves
c4ac7dc4c2
Tests: Convert import.t to python
2015-06-06 00:05:51 +01:00
Wilhelm Schuermann
9d6067e2fe
TW-303: Make "task import" update existing tasks
2015-05-29 19:49:54 +02:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Renato Alves
d49a2614ba
Bug - import/export now output JSON as individual objects
...
* For JSON as array, json.array=1 behaves as before
* Tests and add-on scripts used in import tests were updated
2014-10-20 20:21:11 +01:00
Paul Beckingham
fbdceac548
Unit Tests
...
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:24:43 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8ed92ca498
Copyright
...
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
ada6e49dab
Bug #1251
...
- #1251 tests should sanitize TASKDATA and TASKRC env vars (thanks to Jakub
Wilk).
2013-09-07 13:52:16 -04:00
Paul Beckingham
8af0a7f3ba
Merge branch 'master' into 2.3.0
...
Conflicts:
AUTHORS
CMakeLists.txt
INSTALL
NEWS
cmake.h.in
doc/man/task-faq.5.in
package-config/osx/README
scripts/utils/verify_l10n
src/API.h
src/Config.cpp
src/Context.cpp
src/DOM.cpp
src/Hooks.cpp
src/TransportShell.h
src/commands/CmdDiagnostics.cpp
src/commands/CmdShell.cpp
src/commands/CmdVersion.cpp
src/en-US.h
src/shell/Readline.h
src/wcwidth6.cpp
test/CMakeLists.txt
test/color.uda.t
test/duration.t.cpp
test/hook.on-launch.t
test/template.t
test/uuid.t
2013-04-07 17:56:59 -04:00
Paul Beckingham
03cb5af7be
Defaults
...
- The 'dateformat' settings now default to the ISO-8601 standard of 'Y-M-D'.
2013-03-30 17:42:45 -04:00
Paul Beckingham
1dccd29643
Copyright 2013
...
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Paul Beckingham
b1443e831b
Unit Tests
...
- Removed mention of synch.key from all unit tests. This is an obsolete file.
2012-10-01 23:56:09 -04:00
Owen Clarke
31769a1fa4
Portability
...
- Changed the interpreter of the test files to use /usr/bin/env to find
perl in the user's path instead of hard-coding /usr/bin/perl
2012-07-30 18:49:50 +10:00
Paul Beckingham
da575c4043
Unit Tests
...
- Modified testing to accomodate new split between stdout/stderr.
2012-07-03 15:43:19 -04:00
Louis-Claude Canon
b45a305df2
Enhancement
...
- Output error, header, footnote and debug messages on standard error.
2012-06-16 16:07:27 -04:00
Paul Beckingham
6580095002
Copyright
...
- Year change.
2012-01-02 23:32:10 -05:00