spiegel-keyman/core/tests/unit
Marc Durdin 57f0dc4597 fix(developer): validate id and modifiers attributes in Layr compiler
Per the spec, the `id` attribute is required for touch layers, and
`modifiers` attribute is required for hardware layers. There is
ambiguity in the spec at present as to whether they should be allowed
for the alternative type.

* Validate that the attributes are present where required.
* Tighten validation of `modifiers` attribute - it cannot be empty or
  missing for hardware; "" != "none".
* Hint if the attribute is present when it probably shouldn't be (to be
  potentially raised to warning or error after spec clarified).
* Fixup all keyboard3 xml files to conform to spec and eliminate hints.
* Add unit tests.
* Removed threshold warning for coverage as kmc-ldml is already > 90%.

Fixes: #12423
2026-08-28 13:21:12 +02:00
..
json fix(core): cleanup include directories 2024-10-16 20:42:31 +02:00
kmnkbd fix(core): fix indenting in state_api_tests 2026-08-11 20:41:15 +10:00
kmx Update core/tests/unit/kmx/README.md 2026-01-15 12:05:25 +01:00
ldml fix(developer): validate id and modifiers attributes in Layr compiler 2026-08-28 13:21:12 +02:00
utftest chore: Merge remote-tracking branch 'origin/epic/web-core' into chore/merge-master-into-web-core 2024-12-05 15:04:11 +07:00
wasm Merge pull request #16048 from keymanapp/dependabot/npm_and_yarn/core/tests/unit/wasm/picomatch-2.3.2 2026-06-09 01:09:06 +10:00
emscripten_filesystem.cpp fix(core): rename assert() to test_assert() in unit tests 2024-11-28 09:46:01 +07:00
emscripten_filesystem.h feat(core): use kmc to build kmx tests 2023-03-24 06:22:40 +07:00
km_core_keyboard_api.tests.cpp chore: Merge branch 'epic/web-core' into auto/A19S24-merge-master-into-web-core 2026-03-16 04:49:38 +01:00
km_core_process_event.tests.cpp chore(core): fixup test keyboard paths 2026-03-27 10:52:34 +01:00
load_kmx_file.cpp feat(core): implement loading KMX from blob 2024-11-27 15:30:05 +01:00
load_kmx_file.hpp feat(core): implement loading KMX from blob 2024-11-27 15:30:05 +01:00
meson.build Merge branch 'epic/web-core' into auto/A19S25-merge-master-into-web-core 2026-03-27 16:30:55 +11:00