spiegel-keyman/common/test/keyboards/baseline/k_032___caps_control.kmn
Marc Durdin c18ef54029 refactor(common): move core baseline tests into common
Decided to use the name `baseline` for this set of tests. They can be
used by any project in the repo now. Tests will be treated as shared,
and not modified (except in the case of a buggy test).

* Moves .kmn files, add `&NAME` line (don't use meson templating for
  these files)
* Generates reference .kmx files using kmcomp for use as a baseline with
  kmcmplib (kmc) tests, and for linux tests
* Updates references in core, kmcmplib, and linux builds
* Renames all the .kmn / .kmx to use a standardized, clean name format
  (this was needed for building packages in the core tests)
2023-03-28 05:20:45 +07:00

38 lines
876 B
Text

store(&NAME) '032 - caps control'
c Description: Tests Caps Lock env set
c keys: [K_1][K_CAPS][K_2][SHIFT K_3][K_4][K_CAPS][K_5][K_CAPS][K_6][K_SHIFT][K_7]
c expected: pass.pass.pass.pass.pass.pass.pass.
c capsLock: 0
c context:
store(&version) '10.0'
store(&shiftfreescaps) '1'
store(&capsononly) '1'
begin Unicode > use(Main)
group(Main) using keys
+ [CAPS K_1] > 'fail.'
+ [NCAPS K_1] > 'pass.'
+ [NCAPS K_2] > 'fail.'
+ [CAPS K_2] > 'pass.'
c Shift will free caps lock when it is released, so this test should still have Caps Lock on.
+ [NCAPS SHIFT K_3] > 'fail.'
+ [CAPS SHIFT K_3] > 'pass.'
+ [CAPS K_4] > 'fail.'
+ [NCAPS K_4] > 'pass.'
+ [NCAPS K_5] > 'fail.'
+ [CAPS K_5] > 'pass.'
+ [NCAPS K_6] > 'fail.'
+ [CAPS K_6] > 'pass.'
c Shift was pressed and released ([K_SHIFT]) so Caps should be off before this
+ [CAPS K_7] > 'fail.'
+ [NCAPS K_7] > 'pass.'