Commit graph

4836 commits

Author SHA1 Message Date
Renato Alves
ea5186716e Unittest - Example of TAP diag use in template.t
* Also prettify its output with the amazing whitespace
2014-07-15 03:02:47 +01:00
Renato Alves
e3d0d2ff34 Unittest - Stream blocking tests can now be safely performed
* Processes that blocked waiting for stdin data will now be aborted
after a 1 second timeout.
* As a side-effect any process that takes longer than 1 second to
finish will also be aborted.
2014-07-15 02:43:57 +01:00
Renato Alves
7f9148efb4 Unittest - CommandError exception treats SIGABRT specially
* SIGABRT will be used to signal processes that failed to finish after
the process assigned time (default 1 second).
2014-07-15 02:40:56 +01:00
Renato Alves
04f5f7e2a8 Unittest - exit code may be None if process failed to finish 2014-07-15 01:37:17 +01:00
Renato Alves
5f50c44041 Unittest - Add example of skipping taskd test on template.t 2014-07-15 00:51:29 +01:00
Renato Alves
45c73fc473 Unittest - Add code to check if taskd is available 2014-07-15 00:50:58 +01:00
Renato Alves
b77dfc6312 Unittest - Add which() backported from py3.3 2014-07-15 00:49:50 +01:00
Renato Alves
617183612c Unittest - Don't display "task diag" by default on error 2014-07-14 16:10:44 +01:00
Renato Alves
d419fb9560 Unittest - Don't escape new-line characters in TAP output 2014-07-14 11:44:28 +01:00
Renato Alves
d354d13263 Unittest - Bring back diag() for generating TAP output
* Still needs work to make sure output is displayed after the test
status (not ok ...) and not before.
2014-07-14 11:38:04 +01:00
Paul Beckingham
75fe62149d TW-1359
- TW-1359 "one-two-three" in description triggers Malformed ID error.
2014-07-13 23:40:40 -04:00
Paul Beckingham
aca193799a Merge pull request #6 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '4ae56838e4':
  Unittest - Include "task diag" output on error
2014-07-13 23:23:31 +00:00
Renato Alves
4ae56838e4 Unittest - Include "task diag" output on error
* If any command passed to runSuccess or runError returns an unexpected
exit code, the output of 'task diag' will be added to stdout/stderr.
2014-07-14 00:25:43 +01:00
Paul Beckingham
10a64d694e Merge pull request #5 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '47c113bf8a':
  Unittest - Don't run template.t as a regular test
  Unittest - docstring clarification
  Unittest - Replacing old basetest framework
  UnitTest - Alias for runSuccess
  Unittest - Add a line break on last line of initial config
2014-07-13 22:16:27 +00:00
Renato Alves
47c113bf8a Unittest - Don't run template.t as a regular test 2014-07-13 23:14:46 +01:00
Renato Alves
906ca1a4aa Unittest - docstring clarification
* Clarify how the alias is supposed to work in case readers are not
familiar with what __call__ does.
2014-07-13 23:10:16 +01:00
Renato Alves
42cfda704f Unittest - Replacing old basetest framework
* Adapt bugs to work with the newer testing framework
2014-07-13 23:09:53 +01:00
Renato Alves
6a28c2d175 UnitTest - Alias for runSuccess
* Use t() (given t = Task()) as an alias to t.runSuccess()
2014-07-13 23:09:23 +01:00
Renato Alves
ceaf9d3462 Unittest - Add a line break on last line of initial config 2014-07-13 23:09:00 +01:00
Richard Boß
f998037086 Typo
- Fixed typo in 'newest' and 'oldest' report definitions.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-13 14:24:24 -04:00
lolilolicon
c92139389a taskdata.vim fixes; ftdetect backlog.data as JSON 2014-07-11 20:13:16 -04:00
lolilolicon
722cc9b300 Update taskedit.vim for multiline values
Commit 0c1fa8b enables multiline value for "Description:". Update
taskedit.vim syntax file for this:

  1) Now all keys are required to be indented exactly 2 spaces.
  2) We treat all keys equally, allowing all values to span multiple
lines, up until the next key.
2014-07-11 20:13:13 -04:00
lolilolicon
09ea21ef7b Update taskrc VIM syntax file for 2.4.0 2014-07-11 20:13:10 -04:00
Paul Beckingham
e8cd1c8eb0 Config
- Updated report titles.
2014-07-10 23:57:39 -04:00
Paul Beckingham
fae31e5e4d Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-07-10 23:00:17 -04:00
Paul Beckingham
c57a1dbc6f TW-1373
- TW-1373 taskrc.vim VIM syntax file updated (thanks to lolilolicon).
2014-07-10 22:58:59 -04:00
Paul Beckingham
4a81dc89f2 Config
- Added listing breaks on the 'project' columns, for the 'list' and 'minimal'
  reports.
2014-07-10 22:56:07 -04:00
Paul Beckingham
ab3935ac85 TW-193
- TW-193 Support listing breaks.
2014-07-10 22:48:17 -04:00
Paul Beckingham
bd7e66a939 Context
- Improved sort column parsing to include an optional trailing solidus, in
  addition to the +/- sort direction.
2014-07-10 22:14:35 -04:00
Paul Beckingham
9c2aea6d62 ViewTask
- When supplied with a vector of attribute names, can insert spacing into the
  rendered output when values change.  These we call listing breaks.
2014-07-10 21:34:17 -04:00
Leo
284ad21466 French (fra-FRA) Localization
- The latest translation update from leowzukw.
2014-07-10 18:18:03 -04:00
Paul Beckingham
32566c9844 Bug
- Segfault when 'project:android' is split into 'and' and 'roid' (thanks to
  Richard Boß).
2014-07-07 21:43:09 -04:00
Paul Beckingham
af75fa8b05 TW-296
- TW-296 urgency of blocked task should affect urgency of blocking task (thanks
         to Sitaram Chamarty).
2014-07-06 17:19:29 -04:00
Wilhelm Schuermann
7548ce662a TW-296
- TW-296 urgency of blocked task should affect urgency of blocking task

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-06 14:11:10 -04:00
Paul Beckingham
0c1fa8b20e TW-288
- TW-288 `task edit` mangles descriptions with embedded newlines (thanks to
         Kevin Ballard).
2014-07-06 12:14:44 -04:00
Paul Beckingham
68ceea953a TW-1293, TW-1294
- TW-1293 Modifying or deleting a child task does not propagate if there are no
          siblings (thanks to darkfeline).
- TW-1294 Modifying a child task does not propagate to parent (thanks to
          darkfeline).
2014-07-06 09:55:59 -04:00
Paul Beckingham
e3d7479211 CmdUrgency
- Removed unnecessary variable.
2014-07-06 09:30:00 -04:00
Paul Beckingham
2e27ed0268 Code Cleanup
- Removed unnecessary include.
- Removed extra whitespace.
2014-07-06 09:29:32 -04:00
Paul Beckingham
6fb1cbdc7f CMake
- Removed 'args' binary, which is no longer needed.
2014-07-06 09:24:14 -04:00
Paul Beckingham
4f9503421b TW-1334
- TW-1334 task mod description:"word1 word2" fails to handle space (thanks to
          Benjamin Weber).
2014-07-06 00:58:31 -04:00
Paul Beckingham
5697270ecf TW-252
- TW-252 task done - Doesn't stop task before marking complete (thanks to
         Renato Alves).
2014-07-06 00:47:53 -04:00
Paul Beckingham
75af8d6ca4 Task
- The ::remove method only needs to set ::recalc_urgency if the attribute was
  actually removed.
2014-07-06 00:36:16 -04:00
Paul Beckingham
c54a17089a Dates
- Converted ::isDay to use Date::dayOfWeek.
2014-07-06 00:20:25 -04:00
Paul Beckingham
d5919d9608 Dates
- Removed unused ::leapYear function.
2014-07-06 00:10:48 -04:00
Paul Beckingham
23e3499244 Merge pull request #4 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '715a414abd':
  UnitTests
  PKI
  Make wait time configurable. Could be needed in slower machines.
  Prevent reuse of Taskd after being destroyed
2014-07-06 01:29:40 +00:00
Renato Alves
715a414abd UnitTests
* Taskd and Taskw classes for testing are now available
 * Testing of server and client can now be performed.
 * The newer test wrappers will eventually replace the BaseTest class
2014-07-06 02:03:04 +01:00
Renato Alves
733561863e PKI
* Working certificates with taskd-1.0.0 and taskw-2.3.0
2014-07-06 01:35:09 +01:00
Renato Alves
b60682a1e4 Make wait time configurable. Could be needed in slower machines. 2014-07-06 01:03:32 +01:00
Renato Alves
c1dbe4fc3c Prevent reuse of Taskd after being destroyed 2014-07-06 01:03:32 +01:00
Paul Beckingham
e615d449ac Revert "PKI"
This reverts commit 6399460559.
2014-07-05 20:01:31 -04:00