Commit graph

587 commits

Author SHA1 Message Date
Thomas Lauf
3aa932eafe Fix typos 2018-01-05 10:49:17 +01:00
Thomas Lauf
ac18340757 Fix test summary.t
- Make it work on single digit calendar weeks
2018-01-05 09:32:41 +01:00
Thomas Lauf
0900c35767 Fix number of expected tests 2018-01-05 09:14:46 +01:00
Paul Beckingham
88d644d193 Copyright 2018 2017-12-31 19:37:13 -05:00
Thomas Lauf
874b163f78 Text beautification 2017-12-15 08:41:07 +01:00
Paul Beckingham
0dea44594e TW-1936: Tweak tests to have fuller TAP compliance
- Thanks to Paul J. Fenwick.
2017-12-09 23:18:54 -05:00
Thomas Lauf
28c39f8f7e Fix filter for summary when only a date is given
- add test
2017-12-07 09:26:21 +01:00
Thomas Lauf
e1a5319c0f TI-90: Add test for 'continue' with range 2017-12-02 19:17:54 +01:00
Thomas Lauf
9173c86a65 TI-90: Small refactoring 2017-12-02 19:17:54 +01:00
Thomas Lauf
74fa268164 TI-90: Add test for continue with start date 2017-12-02 19:17:54 +01:00
Paul Beckingham
cb25162edf Tests: Added TI-75 test 2017-08-05 12:32:58 +01:00
Paul Beckingham
0849c73d88 Tests: Removed redundant test 2017-08-05 11:07:03 +01:00
Paul Beckingham
899025740c Tests: Added TI-66 test
- Thanks to A M.
2017-08-05 10:40:26 +01:00
Lukas Barth
25a802cc26 Add test for underscore escaping 2017-08-05 10:15:19 +01:00
Paul Beckingham
ad75fffb03 TI-69: timew config converts integers to times
- Thanks to Thomas Lauf.
2017-07-30 11:58:38 +01:00
Paul Beckingham
5167a05d77 Tests: Added future tracking negative test 2017-05-28 09:48:24 -04:00
Paul Beckingham
2c23344b57 Tests: Corrected time in test 2017-05-21 13:12:45 -04:00
Paul Beckingham
3d588dc07c Tests: Added TI-73 test
- Thanks to A M
2017-05-21 13:12:14 -04:00
Paul Beckingham
6b39089ea8 Tests: Try adding time-only interval that should be recorded 2017-05-21 11:10:28 -04:00
Paul Beckingham
367533efda Tests: Fixed test that failed to catch an exception
- And also had a bad test count
2017-04-13 21:14:22 -04:00
Thomas Lauf
01a3c8e3f6 TI-62: Fix test for invalid command 2017-04-11 07:04:05 +02:00
Paul Beckingham
6ade46085e Tests: Removed unnecessary platform.t 2017-04-08 13:41:25 -04:00
Paul Beckingham
7cc8618c80 Rules: Added support for the platform-dependent behavior of strtoimax 2017-04-08 13:38:11 -04:00
Thomas Lauf
33e0cd185d TI-68: Add tests for modifying synthetic intervals 2017-04-08 14:50:54 +02:00
Thomas Lauf
a5dc0cd385 TI-27: Continue tracking by ID
- Make command 'continue' process ids
- Fix test: immediate start stop creates empty intervals?
2017-04-06 22:46:52 +02:00
Paul Beckingham
c283c9d2c4 TI-70: Timew starts a new interval even if a current interval contains the same set of tags
- Thanks to Thomas Babej.
2017-04-04 18:43:33 -04:00
Thomas Lauf
aad36da44f TI-70: Add tests
- 'start' with more tags than current tracking should start new tracking
- 'start' with less tags than current tracking should start new tracking
- 'start' with same tags as current tracking should not start new tracking
2017-04-04 08:38:23 +02:00
Thomas Lauf
7bf4b18517 Tests: Fix pydoc and coding style 2017-04-04 08:36:51 +02:00
Thomas Lauf
e9412388ba Tests: Fix python doc strings 2017-03-25 15:36:16 +01:00
Thomas Lauf
b509a90e8c T-67: Add functional tests summary command 2017-03-24 23:22:32 +01:00
Paul Beckingham
dfb0e87d9e Tests: Added TI-68 test
- Thanks to A M.
2017-03-10 08:35:17 -05:00
Thomas Lauf
c1b0998887 TI-29: Add test for changing config
- add tests for known simple values, e.g. debug
- add tests for known hierarchical values, e.g. reports.day.month
- add tests for new hierarchical values, e.g. foo.bar.baz
2017-03-09 20:41:06 +01:00
Paul Beckingham
d1a7c313c7 Tests: Added TI-66 test
- Thanks to A M.
2017-03-02 18:04:44 -05:00
Paul Beckingham
168cc5b207 Tests: Corrected test with immediate capture of errno 2017-03-02 09:05:27 -05:00
Paul Beckingham
26f2cc8ac4 Test: Added platform verification tests 2017-03-02 08:41:30 -05:00
Thomas Lauf
97ab53afeb test: Fix expectations for chart 2017-03-01 21:20:35 +01:00
Paul Beckingham
6d0e8ecbea Tests: Added test for TI-65 2017-02-25 15:07:48 -05:00
Paul Beckingham
c557174172 Tests: Adjusted tests based on error message change 2017-02-25 13:17:15 -05:00
Paul Beckingham
1ed8d8e07c Tests: Added test for TI-58 2017-02-23 16:25:35 -05:00
Thomas Lauf
58f07d0266 TI-46: Display error in visual reports (day,week,month)
- Fix calculation of end_mins
- Add tests
2017-02-18 23:04:44 +01:00
Thomas Lauf
8ad54f9bfd TI-40: totals.py extension script fails with an error
- Improve totals.py extension script:
- Fix display issue if tags are shorter than string 'Totals'
- Fix issue when totals.py is called on empty database
- Add tests: test_totals.t
2017-02-14 23:33:02 +01:00
Thomas Lauf
c944aebacc TI-39: Bogus command line option causes segfault
- Return error message for invalid values in CmdChart
- Add tests (partially moved from cli.t)
2017-02-13 20:58:37 +01:00
Thomas Lauf
90c3620dc9 tests: Remove superfluous spaces at the end of python docstring 2017-02-11 21:48:23 +01:00
Thomas Lauf
e505129d5c TI-64: Command 'stop' with date before current interval's start date causes segfault
- Show error message if stop date is before current interval's start date
- Add test for this use case
2017-02-09 08:58:22 -05:00
Thomas Lauf
403b1c6f5e TI-27: Add tests for continue with ids
- verify "continue @1 @2" returns error
- verify "continue @N" returns error if @N does not exist
- verify "continue @N" copies specified interval
- verify "continue @N" stops active time tracking
2017-02-05 23:28:30 +01:00
Thomas Lauf
f49e15e1a9 TI-62: TimeWarrior should not ignore invalid command
- Add test "call 'timew' without active time tracking"
- Add test "call 'timew' with active time tracking"
- Add test "call a non-existing TimeWarrior command"
2017-01-28 21:51:17 -05:00
Paul Beckingham
ac4ecbecad TI-61: Typo in exclusion.t.cpp
- Thanks to Thomas Lauf.
2017-01-25 21:35:38 -05:00
Tomas Babej
50f42a84df tests: Add basic tests for the 'resize' command 2017-01-09 18:33:22 -05:00
Paul Beckingham
1091cc2085 Copyright update 2017-01-01 12:45:32 -05:00
Paul Beckingham
b2c4013180 Tests: Removed TASKD_USE_PATH 2016-11-22 10:23:03 -05:00