Commit graph

695 commits

Author SHA1 Message Date
Paul Beckingham
eae398f203 Unit Tests
- Converted test to use a better value than a hard-coded date.
- Removed useless setup/teardown tests.
2014-05-31 23:05:55 -04:00
Paul Beckingham
48e2e19ae1 Unit Tests
- Used command at least rc.abbreviation.minimum in length.
- Removed useless setup/teardown tests.
2014-05-31 22:39:37 -04:00
Paul Beckingham
9303bfb26a Unit Tests
- Used command at least rc.abbreviation.minimum in length.
- Removed useless setup/teardown tests.
2014-05-31 22:35:26 -04:00
Paul Beckingham
5315196175 Unit Tests
- Updated recurrence period to an ISO8601 value.
- Removed useless setup/teardown tests.
2014-05-31 22:31:29 -04:00
Paul Beckingham
d69d38c7d2 Unit Tests
- Removed useless setup/teardown tests.
2014-05-31 22:29:49 -04:00
Paul Beckingham
8d0f1f6990 Unit Tests
- Removed useless setup/teardown tests.
2014-05-31 22:28:37 -04:00
Paul Beckingham
a86408c5a3 Unit Tests
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 22:04:17 -04:00
Paul Beckingham
37acb90579 Unit Tests
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 21:42:51 -04:00
Paul Beckingham
72ceee198a Unit Tests
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 21:41:18 -04:00
Paul Beckingham
622532c38e Unit Tests
- Uncommented some old tests that pass, but obviously once did not.
- Removed useless setup/teardown tests.
2014-05-31 18:18:58 -04:00
Paul Beckingham
2da3258dd0 Unit Tests
- Corrected one time stamp, but not all.
- Removed useless setup/teardown tests.
2014-05-31 18:02:13 -04:00
Paul Beckingham
afd948167f Unit Tests
- Removed useless setup/teardown tests.
- Increased command length to match rc.abbreviation.minimum.
2014-05-31 17:55:15 -04:00
Paul Beckingham
b272513747 Unit Tests
- Modified test to use a command that exceeded the rc.abbreviation.minuіmum
  length.
2014-05-31 17:30:20 -04:00
Paul Beckingham
a799b54ad4 Unit Tests
- Modified test to use a command that exceeded the rc.abbreviation.minuіmum
  length.
2014-05-31 17:24:29 -04:00
Paul Beckingham
7598997e70 Lexer
- Implemented ::token_split, which performs a full lex, and doesn't require
  white space like ::word_split does.
- Added unit tests.
2014-05-31 13:51:10 -04:00
Paul Beckingham
0af9bbdc03 Lexer
- Renamed ::split to ::word_split, for clarity and because of the need for a
  full token split, coming next.
2014-05-31 13:48:52 -04:00
Paul Beckingham
744f0f55ac Unit Tests
- Removed obsolete references to 'synch.key'.
2014-05-31 11:53:17 -04:00
Paul Beckingham
6514bdfc4d TW-28, TW-271, TW-277, TW-752, TW-1265
- TW-1265 cannot add UDA with underscore (thanks to Jakub Wilk).
- Added unit tests for TW-1265.
- Added ChangeLog and AUTHOR entries for other fixed issues.
2014-05-31 11:11:53 -04:00
Paul Beckingham
6ccca32434 Unit Tests
- Downgraded bash constructs to sh, reducing the requirements from bash to sh.
2014-05-30 21:39:55 -04:00
Paul Beckingham
f2a8e22866 Unit Tests
- Uses full duration names '9months' rather than abbreviations '9mo'.
  This is in anticipation of reduced flexibility.
2014-05-30 18:13:33 -04:00
Paul Beckingham
da95c16da9 Unit Tests
- Modified a test that relies on an obsolete message.
2014-05-29 23:17:02 -04:00
Paul Beckingham
f585f31d69 OldDuration
- Removed obsolete OldDuration object, replaced by Duration.
2014-05-28 23:59:16 -04:00
Paul Beckingham
117ade1609 Duration
- Duration inherits all of OldDuration's formatting capabilities.
- ::formatISO adds support for ISO8601 desginated period type.
2014-05-28 23:28:56 -04:00
Paul Beckingham
965284875c Duration
- Migrated methods and unit tests from OldDuration to Duration.
2014-05-28 22:41:29 -04:00
Paul Beckingham
dead140c74 Code Cleanup
- Removed unnecessary includes.
- Added comment for Date integration.
2014-05-28 21:03:03 -04:00
Paul Beckingham
84b95ce06d Unit Tests
- Corrected assumptions in a unit test about the circumstances of file creation.
2014-05-27 16:14:32 -04:00
Paul Beckingham
c5cf4de4a0 Parser
- Multiple -- terminators are considered to be a single terminator followed
  by words that are not terminators. There can be only one!
2014-05-27 15:50:59 -04:00
Paul Beckingham
7f56187748 Variant
- The partial match operator now expects length(left) > length(right).
2014-05-27 15:33:58 -04:00
Paul Beckingham
4ff9550580 Unit Tests
- Removed unnecessary quotes.
2014-05-27 00:45:28 -04:00
Paul Beckingham
3c72e87d70 Unit Tests
- Made tests explicit about search terms.
2014-05-27 00:08:33 -04:00
Paul Beckingham
0b160292c0 Variant
- Implemented partial match for strings.
2014-05-27 00:08:07 -04:00
Paul Beckingham
0664cb5689 Unit Tests
- Updated tests to be explicit about plain args being search terms.
2014-05-26 23:44:09 -04:00
Paul Beckingham
c342159369 Unit Tests
- calc.t was not up to date regarding the form of the diagnostic output.
2014-05-26 13:22:51 -04:00
Paul Beckingham
79abddd03d Parser
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00
Paul Beckingham
051a92bf91 Unit Tests
- Test was not setting proper verbosity level.
2014-05-24 14:29:09 -04:00
Paul Beckingham
7558527823 Unit Tests
- Test was looking for 'one', and found a false positive of 'none'.
2014-05-24 14:26:07 -04:00
Paul Beckingham
856e777004 Unit Tests
- Test was not specifying correct verbosity for the tests.
2014-05-24 14:23:23 -04:00
Paul Beckingham
4851e0ed2b Unit Tests
- Added TW-1267 unit tests (thank to Renato Alves).
2014-05-24 11:10:28 -04:00
Paul Beckingham
f4fc65e1ed Unit Tests
- Added DOM id --> UUID --> id round trip tests.
2014-05-24 11:04:32 -04:00
Paul Beckingham
704e85fcbc TD-57
- TD-57 taskdctl script assumes /bin/sh is /bin/bash (thanks to Tatjana Heuser).
2014-05-23 16:34:08 -04:00
Paul Beckingham
5893bfede5 Revert "Unit Tests"
This reverts commit 93a241417e.
2014-05-22 22:48:31 -04:00
Paul Beckingham
93a241417e Unit Tests
- Removed tests that are no longer relevant, and fail.
2014-05-22 16:14:05 -04:00
Paul Beckingham
c9f6a4b9df Unit Tests
- Added Variant::operator_partial unit tests, based initially on
  ::operator==.
2014-05-19 20:15:32 -04:00
Renato Alves
08c11da702 Testing
Expose location of taskd.log and taskd.pid
2014-05-17 22:05:30 +01:00
Renato Alves
29d5de1154 Testing
Add a class to manage one or more taskd servers running on the same
machine.
2014-05-17 21:44:51 +01:00
Renato Alves
1d85416692 Testing certificates
Add certificates for use with taskd and task
2014-05-17 21:44:51 +01:00
Renato Alves
f54494d45a Unittesting basemodule
merge_streams was not having the desired effect
2014-05-17 21:44:51 +01:00
Paul Beckingham
4357f9c545 Unit Tests
- hyphenate.t was maing assumptions about report output that can be reduced.
2014-05-11 15:05:56 -04:00
Paul Beckingham
980ab680f3 Unit Tests
- Calendar command needs to be explicit (because calendar/calc share the first
  three letters).
2014-05-11 14:33:49 -04:00
Paul Beckingham
07a1f9d6b5 Unit Tests
- Added tests for Tree::countTags.
2014-05-06 21:17:09 -04:00