Commit graph

515 commits

Author SHA1 Message Date
Paul Beckingham
c1cf2b743d Unit Tests
- Fixed several test files that were reporting an incorrect test count.
2011-10-16 01:02:19 -04:00
Paul Beckingham
6e72430a58 Unit Tests
- Corrected cleanup code for bug.hang.t which was removing the wrong
  config file.
2011-10-16 00:46:38 -04:00
Paul Beckingham
45262be011 Bug #860
- Fixed bug #860, which prevented lower-case priority values from being
  accepted (thanks to Michelle Crane).
- Added unit tests.
- Also included ChangeLog updates from other fixes that were misseed.
2011-10-16 00:46:13 -04:00
Paul Beckingham
27d6407493 Bulk
- Modified the meaning of 'rc.bulk'.  The old meaning was: the largest number
  of tasks that could be modified without confirmation.  New meaning is: the
  number of tasks that trigger bulk confirmation.  Default was 2 (meaning that
  2 tasks affected were not in need of confirmation), is now 3 (meaning 3 tasks
  now trigger confirmation.
  Despite the dog's dinner I made of the preceding statement, the configuration
  variable is now easier to understand.
2011-10-15 23:02:01 -04:00
Paul Beckingham
44e7fdac4b Unit Tests
- Improved signal to noise ratio of all remaining unit tests.
2011-10-15 22:25:38 -04:00
Paul Beckingham
23991f72da Unit Tests
- Removed bulk tests that are obsoleted by those in bulk.t.
2011-10-15 19:09:32 -04:00
Paul Beckingham
88cab4825c Unit Tests
- Implemented new 'bulk.t' to test confirmation and bulk confirmation for
  sets of 1, 2 and 3 tasks (single, multiple, bulk).  This test file obsoletes
  several unit tests in other files.
2011-10-15 19:06:34 -04:00
Paul Beckingham
4d03cdce3b Unit Tests
- Marked the 'soq' test as skipped for now, because it is wrong.
2011-10-15 17:00:24 -04:00
Paul Beckingham
6677dd2104 Unit Tests
- Now that bulk modifications trigger confirmation properly, the tests
  need to raise bulk=3 to a higher value.
2011-10-15 16:59:34 -04:00
Paul Beckingham
a06bba7379 Unit Tests
- Reworded test to match the new confirmation.
2011-10-15 16:52:54 -04:00
Paul Beckingham
f04304d24b Unit Tests
- Added rc.confirmation=off to unit tests to bypass the new, stringent
  confirmation rules.
2011-10-14 03:04:16 -04:00
Paul Beckingham
6e1ad5207d Unit Tests
- Corrected unit tests to match task output.
2011-10-12 01:26:59 -04:00
Paul Beckingham
b7ab366c71 Unit Tests
- Improved signal to noise ratio.
2011-10-11 00:29:55 -04:00
Paul Beckingham
f64f45ac26 Unit Tests
- Improved signal to noise ratio.
2011-10-10 23:42:22 -04:00
Paul Beckingham
c879eb6811 Code Cleanup
- Renamed recur.t to recur.sort.t, because more recur unit tests are on the
  way, and this one was a misnomer.
- Minor edits - whitespace.
2011-10-10 22:54:28 -04:00
Federico Hernandez
6346c5ed81 License
- last files with reference to GPL or GNU changed to MIT
2011-10-08 17:01:42 +02:00
Federico Hernandez
8d38725306 Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-10-08 16:57:31 +02:00
Federico Hernandez
23e3bc56fb License
- perl unit tests
2011-10-08 16:57:13 +02:00
Paul Beckingham
997ed7079a Unit Tests
- Fixed unit test that relied on certain wording of the 'version'
  command output.
2011-10-08 10:48:50 -04:00
Federico Hernandez
bbe218a6f1 License
- first round of unit tests
2011-10-08 12:17:42 +02:00
Paul Beckingham
8ba2dc1fa1 Unit Tests
- Fixed tests that were broken by the new 'help' command output.
2011-10-02 09:49:55 -04:00
Paul Beckingham
160c9708a5 Verbosity
- Deprecated 'rc.edit.verbose'.
- Added support for verbosity token 'edit'.
- Updated documentation.
2011-10-01 11:34:05 -04:00
Paul Beckingham
78f91ffa91 Verbosity
- Added 'affected' verbosity token.
- Deprecated 'rc.echo.command'.
- Updated config defaults.
- Labelled all deprecated 'echo.command' references with '// Deprecated 2.0'
- Added unit tests to start the verbosity testing.  Not complete.
- Updated taskrc.5 man page.
2011-10-01 11:16:12 -04:00
Federico Hernandez
87bca169c5 Cleanup ANALYSIS 2011-09-29 23:51:13 +02:00
Paul Beckingham
a99aa217d0 Bug #856
- Fixed bug #856, which prevented filters on missing project from working
  (thanks to Michelle Crane).
2011-09-28 23:26:07 -04:00
Federico Hernandez
373af5ba65 Updated ANALYSIS file 2011-09-27 23:30:16 +02:00
Paul Beckingham
781c77085d Unit tests
- Fixed project.t fail.
2011-09-26 23:40:08 -04:00
Paul Beckingham
4858931592 Bug #846, Feature #827
- Added feature #827, which allows augmentation of default.command with extra
  arguments, when default.command itself contains mulitple arguments (thanks to
  Aikido Guy).
- Fixed bug #846, which prevented the default.command configuration from
  handling multiple arguments (thanks to Uli Martens).
2011-09-25 11:37:57 -04:00
Federico Hernandez
4a87ab74f4 Unit tests
- shell.t addapted to new commandline parsing
2011-09-24 21:39:57 +02:00
Federico Hernandez
993844d600 Unit tests
- date.iso.t failed due to a timestamp too close to midnight
2011-09-24 21:05:41 +02:00
Paul Beckingham
d3c6ddb87f Bug #839
- Fixed bug #839, which caused problems when recurrence frequencies of '1m'
  were used.  This is an obsolete form, and should now be '1mo' (thanks to
  Gour D).
2011-09-21 00:32:13 -04:00
Paul Beckingham
e478f6626b Bug #835
- Fixed bug #835, which prevented hierarchical projects from being recognized.
2011-09-21 00:19:42 -04:00
Paul Beckingham
4901089408 Unit Tests
- Added unit tests for bug 839.
2011-09-19 20:55:32 -04:00
Paul Beckingham
a732733950 Unit Tests
- Began unit tests for DOM support.
2011-09-15 22:33:50 -04:00
Paul Beckingham
ea633e9e7c Unit Tests
- Added unit tests to prove the support of ISO and epoch format dates,
  regardless of rc.dateformat.
2011-09-15 22:31:37 -04:00
Federico Hernandez
25e3453321 Disabled gcov for the time being - cygwin. 2011-09-14 23:17:29 +02:00
Johannes Schlatow
70919803a8 Unit Test - Bug #835 2011-09-14 13:03:23 +02:00
Paul Beckingham
761def8fb7 Merge
- Applied patch to correct autopush after merge, thanks to Johannes.
2011-09-13 18:07:56 -04:00
Paul Beckingham
561af0a0f5 ANALYSIS
- Updated info to be current.
2011-09-13 01:05:43 -04:00
Paul Beckingham
776bfea402 Dependencies
- Fixed bug in Task::addDependency where a 'dup dep' error string was not
  properly composed, which cause the error message to be shown as 'k'.
- Relocated expression evaluation on modification to only be processed for
  date attributes.  This impacts DOM, but fixes more than it breaks.
- Corrected unit test that was expecting an old-style error message.
- Added protection against array overrun in next_mod_group.  Again.
2011-09-12 23:53:46 -04:00
Paul Beckingham
d1e52c05d6 Unit Tests
- While fixing bug.360.t, discovered a bigger problem, which is not yet
  fixed.  When a due date is removed from a recurring child task, the
  imask, parent and recur attributes should also be removed.  Similarly
  when a recur frequency is removed from a recurring child task, the
  imask and parent should also be removed.
- Net result: two new failing tests.
2011-09-12 22:57:32 -04:00
Federico Hernandez
664e4deb6a ANALYSIS
- project.t Failed test 'project with spaces'
2011-09-12 22:42:30 +02:00
Paul Beckingham
157dad0026 Unit Tests
- Fixed broken unit test.
- Updated PUNCHLIST.
- Clarified task counting in helpers.cpp.
2011-09-12 01:38:35 -04:00
Alexei Romanoff
082f7d703e [PATCH] GCOV support added for measuring code test coverage.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-09-12 00:51:20 -04:00
Federico Hernandez
147dd61758 ANALYSIS file 2011-09-12 00:41:58 +02:00
Paul Beckingham
6e649f3f45 Recurring Tasks
- Rewrote updateRecurrenceMask, which was hopelessly muddled after the
  TDB -> TDB2 change.
- Modified associated code.
- Improved signal to noise ratio in unit tests.
2011-09-11 01:56:56 -04:00
Paul Beckingham
b0abe5a5ba Unit Tests
- Improved signal to noise ratio, which in this case helps with testing.
2011-09-11 01:03:51 -04:00
Paul Beckingham
d9fa6fbac8 Unit Tests
- Improved signal to noise ratio for op_*.t tests.
- Updated ANALYSIS file.
2011-09-10 13:27:14 -04:00
Federico Hernandez
94bb98edac uuid.t TZ problem solved 2011-09-09 06:51:35 +02:00
Federico Hernandez
1dc0230aba Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-09-09 06:38:57 +02:00