spiegel-keyman/core/tests/unit/api/kmx_imsample.kmn
Marc Durdin d61e5bbb18 refactor(core): clean up unit tests
Consolidate test frameworks and cleanup, including:
* all tests use Google Test
* reorganize folders, esp. kmnkbd -> api
* move all api tests into api folder
* replace references to test_assert or test_color with gtest equivalents
* leverage gtest patterns to remove boilerplate code
* dramatically simplify meson.build files and localize variables
* move shared helper code into helpers/ folder
* make test names unique and add gtest protocol for reporting back to
  teamcity

Fixes:
* CLDR test keyboards had invalid unicodeset escapes (needs to be raised
  upstream also) - was not failing tests because files were not loading
  but returning success

Test-bot: skip
2026-04-28 12:17:44 +02:00

21 lines
430 B
Text

store(&version) '6.0'
store(DLLFunction) "imsample.dll:DF"
store(DLLFunction2) "imsample.dll:func2"
store(DLLFunction3) "another.dll:func3"
store(DLLFunction4) "another.dll:func4"
begin Unicode > use(main)
group(main) using keys
+ [K_BKSP] > call(DLLFunction)
+ [K_ESC] > call(DLLFunction2)
+ [K_1] > call(DLLFunction3)
+ [K_2] > call(DLLFunction4)
+ 'A' > U+0E01
+ 'B' > U+0E02
+ 'C' > U+0E03
c nomatch > call(DLLFunction)