Commit graph

865 commits

Author SHA1 Message Date
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
Paul Beckingham
ccc0fa7c30 Unit Tests
- Removed obsolete tests.
2014-06-11 06:31:33 -04:00
Paul Beckingham
a76614aabb Unit Tests
- Removed obsolete tests.
2014-06-11 06:28:56 -04:00
Paul Beckingham
50a12d3598 Unit Tests
- Removed obsolete tests.
2014-06-11 06:26:25 -04:00
Paul Beckingham
1cf79ffda7 Unit Test
- Removed obsolete test.
2014-06-11 06:23:13 -04:00
Paul Beckingham
110592da8c Unit Tests
- Removed obsolete test.
2014-06-11 06:22:30 -04:00
Paul Beckingham
a011800764 Unit Tests
- Upgraded disabled test to active.
2014-06-11 06:22:06 -04:00
Paul Beckingham
a93ae1ca07 Unit Tests
- Removed obsolete test.
2014-06-11 06:21:16 -04:00
Paul Beckingham
7512dd21aa Unit Tests
- Removed obsolete test.
2014-06-11 06:20:36 -04:00
Paul Beckingham
6ae40dbc57 Unit Tests
- Removed oboslete test.
2014-06-11 06:20:02 -04:00
Paul Beckingham
24e2f24301 Unit Tests
- Corrected urgency unit tests that had been disabled and had rotted.
2014-06-10 15:53:05 -04:00
Paul Beckingham
43d953094b Unit Tests
- Corrected test count, which was artificially low, hiding some failing tests.
2014-06-09 20:47:19 -04:00
Paul Beckingham
310cafcc7d Unit Tests
- Enabled all urgency unit tests, even though many fail. Time to fix them.
2014-06-09 19:43:46 -04:00
Paul Beckingham
c9ba7ae301 Unit Tests
- Corrected Lexer tests that used obsolete duration forms.
- Added more duration test parses.
2014-06-09 18:03:36 -04:00
Paul Beckingham
d0d8d5eece Duration
- Dropped support for parsing many intermediate representations. For example,
  this list:

   monthly, months, month, mnths, mths, mth, mos, mo

  is now reduced to:

    monthly, months, month, mo
2014-06-09 17:14:32 -04:00
Paul Beckingham
ff966c069c Tasksh
- Took the broken tasksh program out back behind the barn and shot it.
  It will be rewritten as a separate project, and extension.
2014-06-08 18:24:30 -04:00
Paul Beckingham
0aa323164a Unit Tests
- Added Lexer tests to make sure '9th' and '10th' are recognized as identifiers.
2014-06-08 14:16:46 -04:00
Paul Beckingham
4d4e740f5c Unit Tests
- Added ANNOTATED tests.
2014-06-07 09:45:58 -04:00
Paul Beckingham
c89e8eda0e Unit Tests
- Added first batch of virtual tag tests.
2014-06-07 09:05:32 -04:00
Paul Beckingham
f969bcbe59 DOM
- Extended DOM support:
    <id|uuid>.<date>.year
    <id|uuid>.<date>.month
    <id|uuid>.<date>.day
    <id|uuid>.<date>.week
    <id|uuid>.<date>.weekday
    <id|uuid>.<date>.julian
    <id|uuid>.<date>.hour
    <id|uuid>.<date>.minute
    <id|uuid>.<date>.second
    <id|uuid>.tags.<literal>
    <id|uuid>.annotations.<N>.entry
    <id|uuid>.annotations.<N>.entry.year
    <id|uuid>.annotations.<N>.entry.month
    <id|uuid>.annotations.<N>.entry.day
    <id|uuid>.annotations.<N>.entry.week
    <id|uuid>.annotations.<N>.entry.weekday
    <id|uuid>.annotations.<N>.entry.julian
    <id|uuid>.annotations.<N>.entry.hour
    <id|uuid>.annotations.<N>.entry.minute
    <id|uuid>.annotations.<N>.entry.second
    <id|uuid>.annotations.<N>.description
2014-06-06 19:43:20 -04:00
Paul Beckingham
4c3a59a333 Unit Tests
- Removed obsolete tests.
2014-06-06 17:07:19 -04:00
Paul Beckingham
61dab3eeb9 DOM
- Extended DOM.
2014-06-05 17:55:24 -04:00
Paul Beckingham
117c31b322 Unit Tests
- Added tests for blank values from missing DOM lookups.
2014-06-04 19:00:01 -04:00
Paul Beckingham
e6df1b38e2 DOM
- Standardized DOM interface to return success/failure, with the possibility
  of blank values. This matches the Eval::source callback interface‥
- Added more unit tests.
2014-06-04 18:57:36 -04:00
Paul Beckingham
512fe2f6c7 Variant
- ::operator_match and ::operator_nomatch now take a 'const Task&' argument to
  use for description/annotation matching.
- Updated unit tests.
2014-06-03 01:27:02 -04:00
Paul Beckingham
1cd09bc87b Alias
- Implemented simple word substitution aliases. This is not the ultimate form
  which will involve the ability to insert arbitrary constructs.  Later.
2014-06-03 00:11:42 -04:00
Paul Beckingham
7196ac8554 Variant
- ::operator_match disobeyed rc.search.case.sensitive.
2014-06-02 23:15:25 -04:00
Paul Beckingham
a1ba10d820 Unit Tests
- qw is not qq.  Cleanup now happens properly.
2014-06-01 13:25:29 -04:00
Paul Beckingham
91523b3574 Unit Tests
- Removed 'sleep' commands that slow down the test suite unnecessarily,
  by replacing them with specific timestamps in pending.data.
2014-06-01 13:16:39 -04:00
Paul Beckingham
7b3acbb81b Unit Tests
- Removed 'sleep' commands that slow down the test suite unnecessarily,
  by replacing them with specific timestamps in pending.data.
2014-06-01 13:00:04 -04:00
Paul Beckingham
eef39c3355 Unit Tests
- Removed sleep commands from wait.t, using specific timestamps in pending.data
  to speed up tests.
2014-06-01 12:30:19 -04:00
Paul Beckingham
c01d15d3b8 Unit Tests
- Replaced 'sleep' commands in the unit test (which slow things down too much)
  with pending.data lines with modified timestamps.
2014-06-01 11:39:03 -04:00
Paul Beckingham
92ba0055fb Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:38:51 -04:00
Paul Beckingham
e1602057dd Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:36:42 -04:00
Paul Beckingham
e70ec9f967 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:34:24 -04:00
Paul Beckingham
e1d6b84dcd Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:32:38 -04:00
Paul Beckingham
ab7370a2eb Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:30:29 -04:00