Joshua A. Horton
3aed0bf395
feat(common/models): also, unit tests
2022-09-08 10:48:23 +07:00
Joshua A. Horton
52cb9aa19d
change(common/models): drops .isNew, replaces with tokenized context contrast logic
2022-09-08 10:48:12 +07:00
Joshua A. Horton
3f36a07abb
change(common/models): tweak to flag-emoji test for clarity
2022-09-08 09:11:26 +07:00
Sabine
b9ba055e31
chore(developer): tidied up code
2022-09-07 18:39:34 +02:00
Joshua A. Horton
fb0cc5086c
fix(common/models): backspacing shouldn't make 'new' tokens
2022-09-07 14:57:53 +07:00
Joshua A. Horton
91448c344f
feat(web): more default-breaker unit tests
2022-09-06 14:52:16 +07:00
Joshua A. Horton
9be8839685
fix(common/models): undefined != 0
2022-09-06 10:47:51 +07:00
Joshua A. Horton
413e88daa2
chore(web): where'd that extra indentation come from?
2022-09-06 10:10:33 +07:00
Joshua A. Horton
a09cc5d822
fix(common/models): models/templates unit tests
2022-09-06 09:48:52 +07:00
Joshua A. Horton
9634c76353
chore(common/models): suggested tweak from review
2022-09-06 08:57:56 +07:00
Joshua A. Horton
a6e65333c5
fix(common/models): wordbreaker test require paths
2022-09-06 08:54:56 +07:00
Joshua A. Horton
26c5150977
fix(web): context-tracker newFlag management for new contexts
2022-09-05 14:02:55 +07:00
Joshua A. Horton
b47596a803
fix(common/models): context token .isNew maintenance
2022-09-05 12:35:11 +07:00
Joshua A. Horton
57ce30e068
fix(web): post-suggestion-apply error
2022-09-05 12:17:17 +07:00
Joshua A. Horton
d33a9f05bf
docs(web): fixes missed doc update
2022-09-05 11:41:42 +07:00
Joshua A. Horton
0a237f800f
chore(web): test name tweak
2022-09-05 11:31:57 +07:00
Joshua A. Horton
b0184ec98b
fix(web): adds unit test targeting issue, handler for edge case
2022-09-05 11:30:50 +07:00
Joshua A. Horton
be562b3022
fix(web): missed method references
2022-09-05 10:37:50 +07:00
Joshua A. Horton
ad8c30c6c0
fix(web): pred-text context tracking when wordbreak not caused by whitespace
2022-09-05 10:26:31 +07:00
Marc Durdin
ab999ea0ba
chore(common): cleanup basic.txt a bit more
...
Also uses `index()` to get count of strings automatically.
Reformat basic.txt to make it more readable as it will get less
'basic' over time!
2022-09-03 06:36:41 +10:00
Marc Durdin
738401cdb5
feat(common): hextobin index command
...
Adds an `index` command as suggested by #7186 .
> Future enhancement suggestion: include ... index() for block indices
> within these repeated blocks. Would be very useful for string tables
> in the example ref.
2022-09-03 06:28:22 +10:00
Joshua A. Horton
6f887f6974
feat(web): a few more segment-construction tests
2022-09-02 14:54:25 +07:00
Joshua A. Horton
2a3c36e0a9
feat(web): segment constructor unit tests
2022-09-02 14:23:58 +07:00
Marc Durdin
702db90a71
feat(core): add version field to meta
...
Also adds semver package for validating the version field.
2022-09-02 14:13:10 +10:00
Marc Durdin
d141274aed
chore(core): update hextobin files with new format
2022-09-02 14:06:26 +10:00
Joshua A. Horton
0a65e36f19
change(web): test suite naming
2022-09-02 10:37:51 +07:00
Joshua A. Horton
3ce59b23e6
feat(web): path-stats unit tests
2022-09-02 09:25:09 +07:00
Marc Durdin
17371c3801
feat(common): add size and offset calculators to hextobin
...
This makes it easier to write a binary file which contains offsets and
size values. Using this for unit tests for the LDML keyboard compiler.
Example kmldmlc basic.txt is updated and included.
Future enhancement suggestion: include count() for repeated blocks and
index() for block indices within these repeated blocks. Would be very
useful for string tables in the example ref.
2022-09-02 11:37:59 +10:00
Joshua A. Horton
4549f46769
feat(web): enhances a couple of recording-based seg tests
2022-09-02 08:18:07 +07:00
Joshua A. Horton
7dcc8e4509
feat(web): trackedPath-integration recording-based test
2022-09-01 15:28:52 +07:00
Joshua A. Horton
5c93f516f0
feat(web): more recording-based seg tests
2022-09-01 15:19:22 +07:00
Joshua A. Horton
038f57cefd
fix(web): missed nit from prior commit
2022-09-01 14:47:17 +07:00
Joshua A. Horton
7de4f5c4d2
feat(web): prep types for recording-based segment unit tests
2022-09-01 14:43:40 +07:00
Joshua A. Horton
ba568bef40
feat(web): first segmentation test based on test-recording
2022-09-01 13:36:58 +07:00
Joshua A. Horton
c2dcffc043
fix(web): clear of pending subsegment should refresh segment stats
2022-09-01 13:36:56 +07:00
Joshua A. Horton
2e970140ee
refactor(web): mini-module resource for timedPromise
2022-09-01 13:36:55 +07:00
Joshua A. Horton
128b8ed132
chore(web): relocates test sequence recordings used for receiver testing
2022-09-01 13:36:54 +07:00
Joshua A. Horton
44de7f13e5
feat(web): some polish, idealized 'move' segment unit test
2022-09-01 13:36:53 +07:00
Joshua A. Horton
39009c77f6
feat(web): second-long 'hold' segment tests
2022-09-01 13:36:52 +07:00
Joshua A. Horton
6787e5ca2c
feat(web): trackedPath event object testing
2022-09-01 13:36:51 +07:00
Joshua A. Horton
4603b5dad5
feat(web): segment promise checks
2022-09-01 13:36:50 +07:00
Joshua A. Horton
3073b48171
feat(web): tracked path tests, event ordering
2022-09-01 13:36:49 +07:00
Joshua A. Horton
c5bd43cdcf
feat(web): first gesture-recognizer headless test
2022-09-01 13:36:48 +07:00
Joshua A. Horton
9f6478c370
change(web): centralized handling of split-point maintenance, more checks for pre-commit
2022-09-01 13:36:11 +07:00
Joshua A. Horton
7b2da89e8d
fix(web): segment.angle spec, move-based segment recognition
2022-09-01 08:49:13 +07:00
Joshua A. Horton
559a909ea8
fix(web): pending subsegment tracking when not splitting
2022-08-31 14:35:36 +07:00
Joshua A. Horton
6d2598fbc5
fix(web): cherrypicks from unit test dev followup
2022-08-31 10:35:14 +07:00
Joshua A. Horton
66acdb2267
fix(web): forgot to publish remnant on close
2022-08-30 15:27:29 +07:00
Joshua A. Horton
9c96bbad75
fix(web): side effects of unsegmentable simple, quick taps
2022-08-30 14:58:04 +07:00
Joshua A. Horton
96093462ae
chore(web): general cleanup, documentation
2022-08-30 12:15:02 +07:00