Dr Mark C. Sinclair
c9da863c42
chore(common/web): Merge branch 'master' into chore/common/web/types/remove-c8rc-json-and-merge-exclusions-into-package-json
2024-12-16 11:39:50 +00:00
Dr Mark C. Sinclair
255e1f5c88
chore(common/web): replace three commented-out test cases with it.skip()
2024-12-10 10:43:57 +00:00
Dr Mark C. Sinclair
2a7ff5c60f
Update common/web/types/tests/kvk/kvk-file-writer.tests.ts
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-12-10 10:33:02 +00:00
Dr Mark C. Sinclair
3289b31b72
chore(common/web): updated comment in build.sh to note excludes are in package.json
2024-12-10 10:14:47 +00:00
Dr Mark C. Sinclair
69cd317cd8
chore(common/web): remove .c8rc.json from types and merge exclusions into package.json
2024-12-09 14:47:18 +00:00
Dr Mark C. Sinclair
5f66cf4e6a
chore(common/web): add local variables to test cases for clarity
2024-12-09 10:40:15 +00:00
Dr Mark C. Sinclair
567c3a7e6d
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-kvk-file-writer
2024-12-09 10:19:49 +00:00
Dr Mark C. Sinclair
aad790a42b
chore(common/web): add four additional test cases wrt VisualKeyboard version and null values
2024-12-05 11:57:23 +00:00
Dr Mark C. Sinclair
27b7fc33a2
chore(common/web): add test case for empty string for setString()
2024-12-05 11:02:19 +00:00
Dr Mark C. Sinclair
4b46643a35
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-kvk-file-writer
2024-12-05 10:52:07 +00:00
Dr Mark C. Sinclair
474adf80ac
chore(common/web): Merge branch 'master' into fix/common/web/types/12761-delete-replaceExtension
2024-12-05 10:35:43 +00:00
Dr Mark C. Sinclair
608624996b
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-file-types
2024-12-05 10:27:43 +00:00
Steven R. Loomis
c38077459a
Merge remote-tracking branch 'upstream/master' into feat/developer/7394-verify-normalization-epic-ldml
2024-12-04 13:51:14 -06:00
Eberhard Beilharz
ed22cc00a6
fix(common): rename test file
...
This change renames a new test file and moves it to the new location.
This file was overlooked in #12709 .
2024-12-04 10:44:05 +01:00
Eberhard Beilharz
9a6e33652a
Merge pull request #12709 from keymanapp/chore/common/rename-tests
...
chore(common): rename test files
2024-12-04 09:03:07 +01:00
Dr Mark C. Sinclair
47794cfe21
chore(common/web): add two test cases for null key text and non-null key bitmap
2024-12-03 12:54:40 +00:00
Eberhard Beilharz
cbbb643ed0
chore(common): rename common/web/types/test to .../tests
...
Addresses code review comment.
2024-12-03 13:53:13 +01:00
Dr Mark C. Sinclair
c0beb2236b
chore(common/web): adjust initVisualKeyboardKey() and checkBuilderKvkKey() to cope with some null inputs
2024-12-03 12:38:55 +00:00
Dr Mark C. Sinclair
2493e2bc85
chore(common/web): add three commented-out build() test cases for null strings that would currently fail
2024-12-03 12:26:08 +00:00
Dr Mark C. Sinclair
11556a8009
fix(common/web): delete replaceExtension() tests
2024-12-03 11:24:58 +00:00
Dr Mark C. Sinclair
e197a889ce
fix(common/web): delete replaceExtension
2024-12-03 11:17:33 +00:00
Dr Mark C. Sinclair
103009ffcf
chore(common/web): Merge branch 'test/common/web/types/9052-unit-tests-file-types' into test/common/web/types/9052-unit-tests-kvk-file-writer
2024-12-03 11:00:41 +00:00
Steven R. Loomis
6f2a6b2ebf
feat(common,developer): tests and warning on denormalized content per review comments
...
- report a warning on each separate instance of a denormalized string (once per string).
Fixes : #7394
2024-12-02 11:35:06 -06:00
Steven R. Loomis
f4b7e0aea3
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-11-29 22:13:25 -06:00
Steven R. Loomis
add502e1a9
feat(common,developer): tests and warning on denormalized content
...
- common: shift the 'strs' processing slightly, because otherwise we normalize to NFD before even tracking the strings
- if any string is neither NFC nor NFD, give a warning
- add tests for the same
Fixes : #7394
2024-11-29 12:16:11 -06:00
Steven R. Loomis
8e19508a81
feat(common): isDenormalized() function for checking strings that are neither NFC nor NFD
...
Fixes : #7394
2024-11-29 11:06:53 -06:00
Dr Mark C. Sinclair
db31ed0894
chore(common/web): add two test cases for null parameters to setString()
2024-11-29 07:57:28 +00:00
Dr Mark C. Sinclair
5479415693
chore(common/web): added greater flexibility via optional parameters to initVisualKeyboard()
2024-11-29 07:37:09 +00:00
Dr Mark C. Sinclair
da4162baa2
chore(common/web): simplify checks on fonts in checkBuilderKvkFile
2024-11-29 07:26:42 +00:00
Dr Mark C. Sinclair
bbc8fa763b
chore(common/web): add checkBuilderKvkFile() to compare source and binary keyboards
2024-11-29 07:19:42 +00:00
Dr Mark C. Sinclair
027db4bfb1
chore(common/web): add checkVisualKeyboardKey to compare source and binary keys
2024-11-29 07:05:44 +00:00
Dr Mark C. Sinclair
7e024d2490
chore(common/web): add more flexibility in setting up keys via initVisualKeyboardKey()
2024-11-29 06:52:17 +00:00
Dr Mark C. Sinclair
7a462cff4d
chore(common/web): uncommented initial test case on write() now initVisualKeyboard() is no longer incomplete
2024-11-29 06:10:52 +00:00
Dr Mark C. Sinclair
4f21cde8ae
chore(common/web): also check keys as part of initial build test case
2024-11-29 06:04:10 +00:00
Dr Mark C. Sinclair
42191bcf7d
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-kvk-file-writer
2024-11-29 03:48:05 +00:00
Dr Mark C. Sinclair
b923e13930
chore(common/web): add blank line at end of file
2024-11-29 03:42:40 +00:00
Dr Mark C. Sinclair
ed3e93f3d5
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-file-types
2024-11-29 03:34:24 +00:00
Dr Mark C. Sinclair
eccc7edeba
chore(common/web): add blank line at end of file
2024-11-29 03:30:08 +00:00
Dr Mark C. Sinclair
1d0dddb11e
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-unicodeset-parser-api
2024-11-29 03:27:39 +00:00
Dr Mark C. Sinclair
3de4f997e1
chore(common/web): remove MockUnicodeSet as unnecessary
2024-11-29 01:56:38 +00:00
Eberhard Beilharz
c27ac9e4be
chore(common): rename test files
...
This change rename the test files in Common according to the discussion
at the Keyman conference in November 2024.
2024-11-28 15:28:22 +01:00
Eberhard Beilharz
c7773f9e9c
Merge pull request #12719 from keymanapp/refactor/common/tc_tests
...
refactor(common): output number of tests when running on TC
2024-11-28 19:41:16 +07:00
Dr Mark C. Sinclair
33056f0ec1
chore(common/web): incomplete test case for build() ... keys still needed
2024-11-28 08:56:23 +00:00
Dr Mark C. Sinclair
aac97cd8b9
chore(common/web): add one test case for setString()
2024-11-28 08:02:48 +00:00
Dr Mark C. Sinclair
8d08909a1f
chore(common/web): initial commit with incomplete first test case for write()
2024-11-28 07:41:17 +00:00
Dr Mark C. Sinclair
9fd2d4a674
chore(common/web): add five test cases for fromFilename()
2024-11-28 06:07:21 +00:00
Dr Mark C. Sinclair
920b702eef
chore(common/web): add five test cases for replaceExtension(), two commented out as failing
2024-11-28 05:56:22 +00:00
Dr Mark C. Sinclair
589698b799
chore(common/web): add three test cases for filenameIs()
2024-11-28 05:16:48 +00:00
Dr Mark C. Sinclair
5a56d0f159
chore(common/web): add four test cases for binaryTypeFromFilename()
2024-11-28 03:21:16 +00:00
Dr Mark C. Sinclair
d08b6933f4
chore(common/web): add four test cases for sourceTypeFromFilename()
2024-11-28 03:16:17 +00:00