spiegel-keyman/common/test/keyboards/baseline
Eberhard Beilharz b339a9772c
docs(common): improve documentation for .kmn test files
Build-bot: skip
Test-bot: skip
2026-01-14 18:16:57 +01:00
..
.gitignore chore(core): add unit tests to validate nul with index and context 2025-02-21 13:06:29 +07:00
baseline.kpj test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
build.sh test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0000___null_keyboard.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0000___null_keyboard.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0000___null_keyboard.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0001___nul.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0001___nul.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0001___nul.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0002___nul_with_initial_context.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0002___nul_with_initial_context.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0002___nul_with_initial_context.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0003___nul_testing.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0003___nul_testing.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0003___nul_testing.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0004___space_mnemonic_kbd.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0004___space_mnemonic_kbd.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0004___space_mnemonic_kbd.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0005___beep.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0005___beep.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0005___beep.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0100___basic_input_unicodei.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0100___basic_input_unicodei.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0100___basic_input_unicodei.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0101___basic_input_unicode.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0101___basic_input_unicode.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0101___basic_input_unicode.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0102___basic_input__shift_2_.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0102___basic_input__shift_2_.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0102___basic_input__shift_2_.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0103___vkey_input__shift_ctrl_.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0103___vkey_input__shift_ctrl_.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0103___vkey_input__shift_ctrl_.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0104___vkey_input__ctrl_alt_.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0104___vkey_input__ctrl_alt_.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0104___vkey_input__ctrl_alt_.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0105___vkey_input__ctrl_alt_2_.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0105___vkey_input__ctrl_alt_2_.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0105___vkey_input__ctrl_alt_2_.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0106___smp.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0106___smp.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0106___smp.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0107___punctkeys.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0107___punctkeys.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0107___punctkeys.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0200___ralt.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0200___ralt.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0200___ralt.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0201___ralt_2.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0201___ralt_2.kmn test(common): add new baseline test k_0202___alt.kmn 2025-12-16 16:52:13 +01:00
k_0201___ralt_2.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0202___alt.js test(common): add new baseline test k_0202___alt.kmn 2025-12-16 16:52:13 +01:00
k_0202___alt.kmn test(common): add new baseline test k_0202___alt.kmn 2025-12-16 16:52:13 +01:00
k_0202___alt.kmx test(common): add new baseline test k_0202___alt.kmn 2025-12-16 16:52:13 +01:00
k_0203___generic_ctrlalt.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0203___generic_ctrlalt.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0203___generic_ctrlalt.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0300___deadkeys.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0300___deadkeys.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0300___deadkeys.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0301___multiple_deadkeys.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0301___multiple_deadkeys.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0301___multiple_deadkeys.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0302___deadkeys_and_backspace.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0302___deadkeys_and_backspace.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0302___deadkeys_and_backspace.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0400___groups_and_virtual_keys.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0400___groups_and_virtual_keys.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0400___groups_and_virtual_keys.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0401___multiple_groups.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0401___multiple_groups.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0401___multiple_groups.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0402___output_and_keystroke.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0402___output_and_keystroke.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0402___output_and_keystroke.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0500___options.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0500___options.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0500___options.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0501___options_with_preset.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0501___options_with_preset.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0501___options_with_preset.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0502___options_with_save.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0502___options_with_save.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0502___options_with_save.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0503___options_with_save_and_preset.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0503___options_with_save_and_preset.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0503___options_with_save_and_preset.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0504___options_with_reset.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0504___options_with_reset.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0504___options_with_reset.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0505___options_double_set_reset.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0505___options_double_set_reset.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0505___options_double_set_reset.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0506___options_double_set_staged.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0506___options_double_set_staged.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0506___options_double_set_staged.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0507___options___double_reset_staged.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0507___options___double_reset_staged.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0507___options___double_reset_staged.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0508___options___double_reset.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0508___options___double_reset.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0508___options___double_reset.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0600___system_stores.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0600___system_stores.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0600___system_stores.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0601___system_stores_2.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0601___system_stores_2.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0601___system_stores_2.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0700___caps_lock.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0700___caps_lock.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0700___caps_lock.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0701___caps_control.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0701___caps_control.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0701___caps_control.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0702___caps_always_off.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0702___caps_always_off.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0702___caps_always_off.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0703___caps_always_off_initially_on.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0703___caps_always_off_initially_on.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0703___caps_always_off_initially_on.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0800___long_context.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0800___long_context.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0800___long_context.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0801___long_context_and_deadkeys.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0801___long_context_and_deadkeys.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0801___long_context_and_deadkeys.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0802___long_context_and_split_deadkeys.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0802___long_context_and_split_deadkeys.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0802___long_context_and_split_deadkeys.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0803___if_and_context.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0803___if_and_context.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0803___if_and_context.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0804___deadkey_and_context.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0804___deadkey_and_context.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0804___deadkey_and_context.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0805___deadkey_and_contextex.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0805___deadkey_and_contextex.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0805___deadkey_and_contextex.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0806___modifier_keys_keep_context.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0806___modifier_keys_keep_context.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0806___modifier_keys_keep_context.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0807___enter_invalidates_context.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0807___enter_invalidates_context.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0807___enter_invalidates_context.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0808___nul_and_context.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0808___nul_and_context.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0808___nul_and_context.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0809___if_and_context.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0809___if_and_context.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0809___if_and_context.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0810___nul_and_index.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0810___nul_and_index.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0810___nul_and_index.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0811___if_and_index.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0811___if_and_index.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0811___if_and_index.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0812___nul_and_contextex.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0812___nul_and_contextex.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0813___deadkey_cancelled_by_arrow.js test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0813___deadkey_cancelled_by_arrow.kmn test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
k_0813___deadkey_cancelled_by_arrow.kmx test(common): better group baseline tests 2025-12-15 18:12:01 +01:00
kmcomp-16.0.138.zip chore(core): add unit tests to validate nul with index and context 2025-02-21 13:06:29 +07:00
README.md docs(common): improve documentation for .kmn test files 2026-01-14 18:16:57 +01:00

Keyboard baseline fixtures

This folder contains a set of keyboards that are used by multiple projects to verify behaviour, both for compilation, and for runtime tests.

The following projects are known to use these keyboards:

  • core -- .kmn files only, compiled with kmc during tests
  • developer/kmcmplib -- .kmn files, compiled for tests, and .kmx as reference
  • linux -- .kmn files for test steps only, .kmx files
  • web -- .kmn files for test steps, .kmx and .js files

The .kmx and .js files were built with kmcomp, not kmc, in order to ensure that developer/kmcmplib gets a valid baseline reference.

Once kmc is stable, it is possible that we will be able to use the kmc npm module to build .kmx for all projects that need them.

Build parameters

The keyboards can be built with:

./build.sh build

This builds the keyboards with debug information and no compiler version embedded.

Grouping of the test fixtures

Fixtures that test similar functionality are roughly grouped together. There is some overlap between different groups, so this was done mainly by test name.

Name Test group
k_00xx_* Tests that didn't fit in any other group
k_01xx_* Basic rules
k_02xx_* RALT
k_03xx_* deadkeys
k_04xx_* Using multiple groups
k_05xx_* Options
k_06xx_* System stores
k_07xx_* Caps related tests
k_08xx_* Context related

Description of file format

See README.md in core for a description of the file format.