Dr Mark C. Sinclair
80d2f49824
chore(common/web): add test case for quad string in ElementString.fromStrings()
2025-01-06 15:50:07 +00:00
Eberhard Beilharz
69cb2fda59
fix(core): use a specific flag for adjusting alignments
...
This change adds a new flag `KMX_REQUIRES_REALIGNMENT` instead of the
previous `KMX_64BIT` for the cases where we have to re-align the KMX data
at pointer boundaries. Renamed because Emscripten also needs the
re-alignment even though it's 32-bit.
Addresses code review comments.
2025-01-06 14:29:57 +01:00
Dr Mark C. Sinclair
e169ece9a3
chore(common/web): add two test cases for uset parse failures
2024-12-19 17:32:42 +00:00
Dr Mark C. Sinclair
58e5f0fe94
chore(common/web): stub the ElementParser.segment for uset
2024-12-19 17:21:05 +00:00
Dr Mark C. Sinclair
9569ef208c
chore(common/web): corrected nesting error, and moved more code into fixtures
2024-12-19 17:11:15 +00:00
Dr Mark C. Sinclair
7694623fc9
chore(common/web): add first uset test case with supporting stubs and TestUnicodeSetParser class
2024-12-19 16:19:21 +00:00
Dr Mark C. Sinclair
1ae53a042b
chore(common/web): add test cases for non-number in order and tertiary strings
2024-12-19 14:43:15 +00:00
Dr Mark C. Sinclair
0585b3f639
chore(common/web): add four test cases for order etc strings that are too short
2024-12-19 12:13:46 +00:00
Dr Mark C. Sinclair
e6abbf027f
chore(common/web): stub out strs.allocString()
2024-12-19 12:00:33 +00:00
Dr Mark C. Sinclair
aef4ef41f0
chore(common/web): add four test cases for tertiary_base and prebase arguments to fromStrings()
2024-12-16 18:04:43 +00:00
Dr Mark C. Sinclair
5e4d699a72
chore(common/web): add four test cases for order andf tertiary arguments to fromStrings()
2024-12-16 17:51:29 +00:00
Dr Mark C. Sinclair
09168fc083
chore(common/web): remove unneeded local variables
2024-12-16 17:38:32 +00:00
Dr Mark C. Sinclair
76316f1661
chore(common/web): add test case for fromStrings() from string
2024-12-16 17:07:52 +00:00
Dr Mark C. Sinclair
703fd2cbe6
chore(common/web): add use case for string array
2024-12-16 15:41:00 +00:00
Dr Mark C. Sinclair
77076eb9ed
chore(common/web): add first test case for ElementString()
2024-12-16 12:43:53 +00:00
Dr Mark C. Sinclair
ee23da5647
chore(common/web): add five test cases for ElemElement.isEqual()
2024-12-16 12:17:18 +00:00
Dr Mark C. Sinclair
3ad9fd26f7
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-element-string
2024-12-16 11:45:55 +00:00
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
13b463aedf
chore(common/web): add initElemElement and first true test case for isEqual()
2024-12-09 16:16:31 +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
fea40e2689
chore(common/web): initial test boilerplate
2024-12-09 11:47:54 +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
Marc Durdin
974b16f722
Merge branch 'epic/windows-updates' into chore/merge-master-into-windows-updates
2024-12-05 08:49:34 +01:00
Marc Durdin
01cedf68b7
Merge branch 'epic/linux-mcompile' into chore/merge-master-into-linux-mcompile
2024-12-05 08:49:17 +01: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
Dr Mark C. Sinclair
15a171f871
chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-file-types
2024-12-03 10:52:21 +00:00
Steven R. Loomis
17185d79a9
Merge branch 'master' into feat/developer/7394-verify-normalization-epic-ldml
2024-12-02 11:36:21 -06: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
Marc Durdin
9a01ac166d
chore(core): Merge branch 'master' into fix/core/12619-disable-assertions-vcwin-release-build
2024-12-01 16:17:21 +07: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