Paul Beckingham
0cbcbeedc5
Tests: Removed calls to Eval::ambiguity
2015-07-01 17:55:56 -04:00
Paul Beckingham
86ed232348
Lexer: Added ::wasQuoted to determine original quote state
2015-06-28 12:35:06 -04:00
Paul Beckingham
14c95dcb3b
Tests: Removed Lexer tests for unsupported ISO date formats
2015-06-27 14:20:16 -04:00
Paul Beckingham
e66ad50e7e
Tests: Removed 'name=value' lexer test
...
- Test is now a duplicate, because 'name=value' was three tokens, and is now a
pair.
2015-06-22 21:27:08 -04:00
Paul Beckingham
b2803bddda
Tests: Added test for Lexer::Type::set
2015-06-19 18:30:32 -07:00
Paul Beckingham
7293de75b0
TW-1608: The recur/recurring report shows tasks without a recur interval
...
- Lexer needed additional lookbehind criteria for ::isTag (thanks to Brad
Collette).
2015-05-09 21:27:48 -04:00
Paul Beckingham
36e31811b0
TW-1606: scheduled.any filter
...
- The Lexer::dom type worked embedded, but not isolated (thanks to Peter Rochen).
2015-04-29 18:53:13 -04:00
Paul Beckingham
935b2993f3
C++11: Took advantage of N1757.
2015-04-06 15:30:39 -04:00
Paul Beckingham
eb35386d76
Tests: Recategorized lexemes that are only dates in the presence of Eval
2015-03-29 23:14:59 -04:00
Paul Beckingham
71fea510bb
Tests: Corrected lexer test "\""
2015-03-29 23:02:59 -04:00
Paul Beckingham
1e411ed4b8
Tests: Corrected lexer text '\''
2015-03-29 23:01:33 -04:00
Paul Beckingham
cfbdd4bc05
Tests: Corrected lexer test "\"three\""
2015-03-29 22:59:27 -04:00
Paul Beckingham
690d9493f0
Build: Resolve some more compiler warnings
2015-03-29 18:03:36 -04:00
Paul Beckingham
f454a02224
Tests: Added more Lexer::Type::date tests
2015-03-28 16:57:34 -04:00
Paul Beckingham
1bbe709e38
Tests: Removed redundant LExer::Type::tag tests
2015-03-28 16:53:32 -04:00
Paul Beckingham
a4b96a3191
Tests: Added Lexer::Type::op tests, a full set
2015-03-28 16:49:57 -04:00
Paul Beckingham
ddb6014358
Tests: Converted Lexer::Type::duration tests
2015-03-28 16:38:17 -04:00
Paul Beckingham
31a7a3343b
Tests: Converted ordinal tests
2015-03-28 16:26:50 -04:00
Paul Beckingham
3a0971f290
Tests: Added Lexer::Type::tag test for +@tag
2015-03-28 16:23:02 -04:00
Paul Beckingham
fee58b0eb6
Tests: Added Lexer::Type::operator tests, removed old ones
2015-03-28 16:21:25 -04:00
Paul Beckingham
9adf3fc0fa
Tests: Added Lexer compound token expression tests
2015-03-28 12:05:45 -04:00
Paul Beckingham
39d330631d
Tests: Added Lexer::Type::date tests
2015-03-28 12:05:17 -04:00
Paul Beckingham
b41d7c4582
Tests: Added Lexer::Type::duration tests
2015-03-28 11:40:31 -04:00
Paul Beckingham
12eca4b2cc
Tests: Added Lexer::Type::op tests
2015-03-28 11:38:03 -04:00
Paul Beckingham
f26f790e74
Tests: Added Lexer::Type::separator test
2015-03-28 11:33:57 -04:00
Paul Beckingham
7ac0a919aa
Tests: Added Lexer::Type::uuid tests
2015-03-28 11:32:17 -04:00
Paul Beckingham
e9e91ce55e
Tests: Added Lexer::type::pair tests
2015-03-28 11:05:19 -04:00
Paul Beckingham
880fb5bcc6
Tests: Added Lexer::Type::number and Lexer::Type::hex tests
2015-03-28 10:58:27 -04:00
Paul Beckingham
84eb75c705
Tests: Added Lexer::Type::string tests
2015-03-28 10:45:19 -04:00
Paul Beckingham
f697e4df73
Tests: Added Lexer::Type::url tests
2015-03-28 10:26:14 -04:00
Paul Beckingham
0eaa061efe
Tests: Added more Lexer::Type::dom tests
2015-03-28 10:19:54 -04:00
Paul Beckingham
b02d518b02
Tests: Lexer::Type::dom and Lexer::Type::path tests
2015-03-28 10:06:56 -04:00
Paul Beckingham
0973e6566b
Tests: Added Lexer::Type::tag tests
2015-03-28 09:41:04 -04:00
Paul Beckingham
d0a9e9a253
Tests: Added Lexer::Type::substitution tests
2015-03-28 09:32:36 -04:00
Paul Beckingham
ff445c567e
Unit Tests: Lexer now tests embedded and isolated tokens
...
- The tests are now defined in a static structure, simplifying maintenance of
these tests.
- Instead of simply lexing large strings and checking the lexemes, the tests
now take a single token and test it as-is ("token"), and surrounded by spaces
(" token "), which yields surprising results.
2015-03-28 09:22:33 -04:00
Paul Beckingham
15005afd1e
Unit Tests: Added tests for Lexer::Type::pattern
2015-03-28 08:24:49 -04:00
Paul Beckingham
234e4d7308
Unit Tests
...
- Modified Lexer types to reflect DOM recognition.
2015-03-01 23:55:10 -05:00
Paul Beckingham
565987a177
Unit Tests
...
- Corrected token types for '3rd', which is Lexer::Type::word, not
LExer::Type::identifier.
2015-03-01 21:14:28 -05:00
Paul Beckingham
abe8819f2f
Unit Tests
...
- Restored 'name=value' tests that expect three tokens.
2015-03-01 15:53:24 -05:00
Paul Beckingham
2811b9a571
Unit Tests
...
- Fixed tests regarding quoted strings coming out of the Lexer.
2015-02-27 00:16:14 -05:00
Paul Beckingham
745aad0d27
Lexer
...
- Renamed Lexer2 to Lexer, it looks good enough to assume control.
2015-02-22 18:23:03 -05:00
Paul Beckingham
0cf18f3b16
Lexer2
...
- Integrated Lexer2 in place of Lexer. Tests fail.
2015-02-22 13:52:14 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
06319711f1
Quoting
...
- Removed automatic dequoting by the Lexer.
- Implemented Lexer::dequote for manual control.
- Variant dequotes string values when appropriate.
- Fixed some unit tests that became wrong.
2014-11-18 00:59:52 -05:00
Paul Beckingham
aab23692f1
Lexer
...
- Added a new type Lexer::typeTag.
2014-09-07 01:17:48 -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
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
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
0aa323164a
Unit Tests
...
- Added Lexer tests to make sure '9th' and '10th' are recognized as identifiers.
2014-06-08 14:16:46 -04:00