spiegel-keyman/core/tests
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
..
kmx_test_source fix(core): rename assert() to test_assert() in unit tests 2024-11-28 09:46:01 +07:00
standards chore(common): move common/core/desktop/ to core/ 2022-05-18 07:22:10 +10:00
unit fix(developer): validate id and modifiers attributes in Layr compiler 2026-08-28 13:21:12 +02:00
meson.build chore: Merge remote-tracking branch 'origin/epic/web-core' into chore/merge-master-into-web-core 2024-12-05 15:04:11 +07:00