Commit graph

1001 commits

Author SHA1 Message Date
Paul Beckingham
ca9683d912 Unit Tests
- After renaming 'template.py' to 'template.t', the failing and skipped tests
  within as examples are now affecting the totals because all *.t files are
  run. Commented out tests.
2014-07-04 11:00:44 -04:00
Paul Beckingham
f9ab71685d Unit Tests
- Eliminated the Perl template, overwriting it with the Python template.
2014-07-04 10:25:41 -04:00
Paul Beckingham
1ac7dc0d5d TW-1360
- TW-1360 color.until directive missing.
2014-07-04 10:00:26 -04:00
Paul Beckingham
5a6f81a1fd Unit Tests
- Removed unnecessary code.  Thanks Renato.
2014-07-04 09:45:32 -04:00
Paul Beckingham
5e1f596200 Unit Tests
- Added a 'diag' method to the Python test class.
2014-07-03 17:38:41 -04:00
Paul Beckingham
7a37317526 Unit Tests
- Corrected mistake made earlier when assuming the first test was a 'control'.
  It was not.
2014-07-03 17:37:30 -04:00
Paul Beckingham
c8f2b5a858 Unit Tests
- Fixed flapping in bug.932.t. The problem was a regex that assumeѕ the age of
  the task was < 1second, but sometimes, when the creation of a task and the
  reporting of a task crossed a 1-second boundary, the age shows up as '1s'.
  With the regex now more permissive, the problem is gone.
2014-07-03 17:19:36 -04:00
Paul Beckingham
a969d34d21 Unit Tests
- Corrected unit test, which had the wrong expected output.
2014-07-03 16:53:07 -04:00
Paul Beckingham
a46b778101 Unit Tests
- Old unit test was escaping quotes, which is no longer necessary.
2014-07-03 16:36:54 -04:00
Paul Beckingham
b6fee35213 Unit Tests
- Corrected bug.calc.t to match current calc debug output.
2014-07-03 15:51:02 -04:00
Paul Beckingham
843f7ce704 Unit Tests
- Corrected Lexer test to use a supported duration.
2014-07-03 15:39:50 -04:00
Paul Beckingham
43daabdb9a Unit Tests
- Modfiied bug.485.t to use supported recurrence period values.
2014-07-03 13:43:14 -04:00
Paul Beckingham
140757cfe1 Unit Tests
- Modified test to account for non-standalone status of certain duration
  values.
2014-07-03 11:44:50 -04:00
Paul Beckingham
fe31d4ee71 Unit Tests
- Added tests for TW-1306.
2014-07-03 11:04:34 -04:00
Paul Beckingham
5413d3172b TW-230, TW-1329
- TW-230 Filter tasks on partial UUIDs (thanks to Paul Kishimoto).
- TW-1329 Short UUIDs (thanks to Benjamin Weber).
2014-07-01 23:56:53 -04:00
Paul Beckingham
e9e93bd92b Unit Tests
- Corrected tests to differentiate between standalone durations and numeric
  leader durations.
2014-07-01 17:23:07 -04:00
Paul Beckingham
c5bde168c4 Unit Tests
- Fixed typo in test.
2014-06-29 22:18:23 -04:00
Paul Beckingham
e17dd13afd Unit Tests
- Added tests for date parsing with and without depletion.
2014-06-29 22:17:52 -04:00
Paul Beckingham
3639226233 Unit Tests
- Added tests for date parsing without the depletion requirement.
2014-06-29 11:12:35 -04:00
Paul Beckingham
92b91a3141 Unit Tests
- Corrected calc output expectations.
2014-06-29 09:37:19 -04:00
Paul Beckingham
d787e1b969 Unit Test
- Removed character (!) from task project name that was causing a _neg_ operator
  to be invoked.
2014-06-27 19:11:02 -04:00
Paul Beckingham
9dd7acac0b Task
- Simplified dependency modification hnadling.
2014-06-26 23:55:50 -04:00
Paul Beckingham
e14c867a9b Unit Tests
- Added tests for Lexer::boundary.
2014-06-18 17:46:05 -04:00
Paul Beckingham
cbb6decf93 Unit Tests
- Added Lexer test to split 'ordinary' into 'ordinary', not 'or' and 'dinary'.
2014-06-18 00:18:18 -04:00
Paul Beckingham
1ca58fad52 Unit Tests
- Corrected verbosity settings to keep filter terms out of results, and
  affecting tests.
2014-06-17 23:20:36 -04:00
Paul Beckingham
43c097e10e Unit Tests
- Updated to conform to template.
2014-06-17 01:18:34 -04:00
Paul Beckingham
45d41bbe75 Unit Tests
- Compares to the correct error message.
- Updated to conform to template.
2014-06-17 01:14:21 -04:00
Paul Beckingham
27801c3666 Unit Tests
- Updated to conform to template.
2014-06-17 01:10:59 -04:00
Paul Beckingham
adb5f2b4bd Unit Tests
- Updated to conform to template.
2014-06-17 00:59:59 -04:00
Paul Beckingham
5f61c55b83 Unit Tests
- Corrected tests to use 3-letter day abbreviation, and look for the correct
  error message.
- Updated to conform to template.
2014-06-16 21:44:30 -04:00
Paul Beckingham
841c78768c Unit Tests
- Removed invliad test.
2014-06-15 23:54:14 -04:00
Paul Beckingham
392c9971f5 Unit Tests
- Corrected expectation that assumeѕ all duration fields are in ISO format.
2014-06-15 23:42:16 -04:00
Paul Beckingham
d2a5a89bcf Unit Tests
- Now conform to template.
2014-06-15 23:21:30 -04:00
Paul Beckingham
8c34d46687 Unit Tests
- Corrected unit tests that assume 'sod' and 'eod' are the same day.
2014-06-15 23:10:47 -04:00
Paul Beckingham
464d0ec690 Unit Tests
- Corrected test to expect an ISO date instead of an epoch.
2014-06-15 23:09:05 -04:00
Paul Beckingham
5901a245f1 Unit Tests
- Removed obsolete test ('1ST' --> not a date).
2014-06-15 22:47:30 -04:00
Paul Beckingham
67d85b484b Unit Tests
- Removed diagnostic output that is no longer needed.
2014-06-15 22:22:02 -04:00
Paul Beckingham
222c20f161 Unit Tests
- Tests now conform to template.
2014-06-15 10:14:14 -04:00
Paul Beckingham
5b2505f6da Unit Tests
- Tests now conform to template.
2014-06-15 09:30:46 -04:00
Paul Beckingham
784b14c69a Unit Tests
- Corrected test to expect durations in ISO8601 format.
2014-06-15 08:38:51 -04:00
Paul Beckingham
b4510e9f48 Unit Tests
- Corrected unit test that relied on old behavior, namely 'due.before:1d',
  which is like specifying '1403007839 < 86400'. Taskwarrior always assumed
  that whenever a duration was specified, such as '1d', it really meant
  'now + 1d'. With full algebraic expression support, this can no longer be
  the case and now we need 'due.before:now+1d'.
2014-06-15 08:33:52 -04:00
Paul Beckingham
dc53d9c60e Unit Tests
- Tests now conform to template.
2014-06-14 16:13:39 -04:00
Paul Beckingham
855de25e0d Unit Tests
- Corrected test that assumed completed.data was created, which is not
  always the case now.
2014-06-14 15:38:51 -04:00
Paul Beckingham
39c9f54d16 Unit Tests
- Upgraded tests to use new template.
2014-06-11 22:26:28 -04:00
Paul Beckingham
a77e4292ab Unit Tests
- Removed obsolete tests.
2014-06-11 21:57:17 -04:00
Paul Beckingham
456b982ced DOM
- Updated DOM to use Variant ovjects, which carry a type which improves
  expression evaluation.
2014-06-11 21:53:00 -04:00
Paul Beckingham
e8474fc145 Unit Tests
- Removed obsolete tests.
2014-06-11 06:39:11 -04:00
Paul Beckingham
699d85be29 Unit Tests
- Removed obsolete tests.
2014-06-11 06:37:37 -04:00
Paul Beckingham
f7a68df299 Unit Tests
- Removed obsolete tests.
2014-06-11 06:35:03 -04:00
Paul Beckingham
39da3d68ca Unit Tests
- Removed obsolete tests.
2014-06-11 06:33:44 -04:00