Commit graph

41 commits

Author SHA1 Message Date
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
Federico Hernandez
23e3bc56fb License
- perl unit tests
2011-10-08 16:57:13 +02:00
Paul Beckingham
70eba976ae Unit Tests
- Many tests referred to 'synch_key.data', which is not the correct
  name.  It should be 'synch.key'.  This has no effect on the number
  of passing tests though.
2011-09-07 00:33:02 -04:00
Paul Beckingham
d22871b265 Import
- Added unit tests for the 'import' command, which uses JSON as the
  native format.  This is the new default import/export format.  All
  other import/export formats are (to be) implemented as transforms
  to JSON.
2011-08-27 18:42:08 -04:00