Paul Beckingham
3e67d68f57
TW-295
...
- TW-295 Replacing annotations or descriptions which contain '/'s (thanks to
Johannes Schlatow).
2014-11-09 20:07:27 -05:00
Paul Beckingham
4bbb6fea99
Unit Tests
...
- Added a terminator to the task that needs it.
2014-11-09 17:35:50 -05:00
Paul Beckingham
19eaae88cd
Unit Tests
...
- Removed a test from tw-1418.t that doesn't need an escape.
2014-11-09 17:18:43 -05:00
Paul Beckingham
879b1edb5c
Unit Tests
...
- Escapes / characes in search patterns, so that 'foo/' --> 'foo\/', which
then allows '/foo\//'. In Python, this needs one more: '/foo\\//'.
2014-11-09 17:11:21 -05:00
Paul Beckingham
dc97348335
Revert "Unit Tests"
...
This reverts commit a00c5b11c8
.
2014-11-09 14:53:43 -05:00
Paul Beckingham
a00c5b11c8
Unit Tests
...
- Modified tests to include a terminator, to resolve ambiguity.
2014-11-09 13:57:35 -05:00
Paul Beckingham
008c7503b3
Unit Tests
...
- Corrected test count markers.
2014-11-09 12:24:30 -05:00
Paul Beckingham
83894ae559
Unit Tests
...
- Migrated to new template.
2014-11-09 12:11:56 -05:00
Paul Beckingham
3b1f244f42
CLI/Context
...
- Reordering init sequence.
- Removed ::assumeLocations.
2014-11-09 10:38:40 -05:00
Paul Beckingham
c818a2fa3a
Unit Tests
...
- Removed whitespace for readability.
2014-11-08 15:05:54 -05:00
Paul Beckingham
db13a676bb
Unit Tests
...
- Enabled failing tests. Maybe it can be fixed instead.
2014-11-08 14:48:27 -05:00
Paul Beckingham
529217cf75
Unit Tests
...
- One test has the rc.monthsperline:1 on the wrong command. Not sure what was
going on there. Not important.
2014-11-04 22:01:07 -05:00
Paul Beckingham
c817607465
Unit Tests
...
- Upgraded to the new template.
2014-11-04 21:42:03 -05:00
Paul Beckingham
0c61f50da6
Unit Tests
...
- Corrected for absolute path names in the Config::load timing.
2014-11-02 23:59:22 -05:00
Paul Beckingham
9ae3bcb7ef
Unit Tests
...
- Corrected description for the version tests.
2014-11-02 23:50:38 -05:00
Paul Beckingham
71b33453f1
Unit Tests
...
- Fixed mistake introduced by template upgrade.
2014-11-02 23:45:41 -05:00
Paul Beckingham
6d75045658
Tree
...
- Eliminated Tree object from the repository.
2014-11-02 22:30:21 -05:00
Paul Beckingham
083b0cb0de
CLI
...
- Implemented ::getBinary.
- Removed Context::program, and converted DOM and dom.t to call ::getBinary.
2014-11-02 21:49:42 -05:00
Paul Beckingham
78625d00ec
Unit Tests
...
- Upgraded to the new template.
2014-11-01 23:06:27 -04:00
Paul Beckingham
9bee3a6c92
Unit Tests
...
- Upgrded to the new template.
2014-11-01 22:40:43 -04:00
Paul Beckingham
a078ad41e8
Task
...
- Removed unnecessary include.
2014-11-01 21:56:18 -04:00
Renato Alves
d261a38d17
Unittest - Enhanced support for testing hooks (wip)
...
* It is now possible to test:
* Hook Input/Output on STDIN/STDOUT channels
* Exit code of hook script
* Execution count (how many times the hook was executed)
* Timestamp execution (when was the hook executed - milisec resolution)
2014-11-02 00:01:06 +00:00
Paul Beckingham
4c4204ee0d
Unit Tests
...
- Removed debug arg.
2014-10-31 19:12:23 -04:00
Paul Beckingham
7417737bbe
Unit Tests
...
- Upgraded to the new template.
2014-10-31 08:51:06 -04:00
Paul Beckingham
5586a3c8cc
Unit Tests
...
- Converted to use the new template.
2014-10-27 22:03:57 -04:00
Paul Beckingham
47e8ae6c02
Unit Tests
...
- Updated to use the new template.
2014-10-26 10:48:02 -04:00
Paul Beckingham
822031bf0b
Unit Tests
...
- Upgraded to user the new template.
- Removed code that detected EOM an skipped tests. This should no longer be
needed with the ISO date support, where EOM is the true EOM.
2014-10-26 09:32:34 -04:00
Paul Beckingham
74526ee564
CLI
...
- Converted ::safety from Parser to CLI.
- Updated unit tests to use the new template.
- Added tests to cover both values of rc.allow.empty.filter.
2014-10-26 09:02:51 -04:00
Paul Beckingham
283a1aa8ef
DOM
...
- Converted DOM and unit test from Parser to CLI.
2014-10-25 22:55:31 -04: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
Renato Alves
b569504139
Unittest - Refresh TW-1418 which still fails on \-
2014-10-20 20:04:59 +01:00
Renato Alves
d09fcf398e
Unittest - Adjust failing tests due to split of streams
2014-10-20 18:52:18 +01:00
Renato Alves
efdb31fb90
Unittest - default to not merging stdout/stderr during tests
...
* Tests will now check that stderr is used for errors
* Tests were adjusted to reflect the API change
2014-10-20 14:01:21 +01:00
Renato Alves
c9102fd79c
Unittest - SIGABORT was not being correctly identified
...
* In Python if the process receives a signal, the exit code is negative
2014-10-20 13:52:02 +01:00
Renato Alves
b4f33ec0c6
Unittest - Replace None by objects representing the state of stdout/err
2014-10-20 13:29:30 +01:00
Wilhelm Schuermann
cfe267f2e5
Tests
...
- tw-1441.t now calls runError() with merge_streams disabled.
- Taskwarrior only displays an error for the first file that is not found, so only check one.
2014-10-19 09:50:54 -04:00
Paul Beckingham
5275c0ce60
TW-1441
...
- TW-1441 task import continues happily if filename doesn't exist.
2014-10-18 14:41:12 -04:00
Renato Alves
18581a6ca4
Unittest - Avoid second exception on framework tracing error
...
* Prevents masking of the initial exception due to a second one.
2014-10-18 01:29:01 +01:00
Renato Alves
dc4a3e8038
Unittest - dash compatibility on debian/ubuntu
2014-10-17 17:24:50 +01:00
Renato Alves
65b6875846
Unittest - Remove execute bit from template.t and unnecessary comments
2014-10-17 16:42:44 +01:00
Renato Alves
a9c9fbc7df
Unittest - Only run tests that have execute bit set
2014-10-17 16:42:44 +01:00
Paul Beckingham
51f08496b5
Lexer
...
- When parsing '\o/' the state Lexer::typeIdentifierEscape had no exit but a
successful outcome, and looped.
- Fixed test.
2014-10-16 21:22:34 -04:00
Renato Alves
bb060d5ff8
Unittest - Allow specifying custom timeout for slow commands.
...
* Useful when testing with big tasks (1000+ annotations) or sync
operations that take longer than 1 second (default)
2014-10-16 20:52:17 +01:00
Renato Alves
b236e78f2e
Unittest - Testcase for TW-1438
2014-10-16 20:48:45 +01:00
Renato Alves
cf5c7abd01
Unittest - Workaround race condition when killing slow processes
...
* In some cases the process finishes normally very close to the timeout
2014-10-16 16:47:10 +01:00
Renato Alves
6facb140a4
Unittest - Test cases for TW-1436
2014-10-16 15:51:39 +01:00
Renato Alves
1e14097ea5
Unittest - Add test to tw-252 to prevent future regressions
2014-10-14 15:22:52 +01:00
Richard Boß
086a3b0d11
Unit Tests
...
- Added unit tests for tw-1430.t.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-10-13 18:28:06 -04:00
Paul Beckingham
a5563ba135
TW-1424
...
- TW-1424 Using a date of '1824days' (in the future) fails (thanks to Black Ops
Testing).
2014-10-13 00:39:17 -04:00
Paul Beckingham
ca14657f0c
TW-1428
...
- Minor tweaks.
2014-10-12 23:48:55 -04:00