spiegel-keyman/android/Tests/KeyboardHarness
Eberhard Beilharz 4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
..
app maint(common): use unique names for Keyman version variables 2025-05-07 18:46:51 +02:00
gradle/wrapper chore(android): update Gradle wrapper version 2024-05-14 13:55:52 +07:00
build.gradle chore(android): Update Android projects for Java 11 2023-03-29 09:46:27 +07:00
build.sh chore(android): Use builder_is_ci_build rather than --ci flag 2025-04-28 10:42:52 +07:00
gradle.properties fix(android): Update build dependencies for Sample and Test projects 2019-11-20 11:08:18 +07:00
gradlew fix(android/samples): Set gradlew executable for Tests 2021-05-31 08:51:08 +07:00
gradlew.bat Change chirality test app to keyboardHarness 2017-10-04 10:33:16 +07:00
readme.md chore(android): Clenaup keyboard harness package 2023-09-29 09:08:09 +07:00
settings.gradle Change chirality test app to keyboardHarness 2017-10-04 10:33:16 +07:00

KeyboardHarness Test App

This app is is based on Samples/KMSample1 and targets keyboard functionality and reproducing bugs with keyboards rather than integration functionality. Use as system keyboard is currently not supported.

keyboardharness package source

The path is ./app/src/main/assets/keyboardharness.kps

and consists of these engineering keyboards:

  • android/Tests/KeyboardHarness/app/src/main/assets/longpress.js
  • web/testing/chirality/chirality.js
  • web/testing/platform/platformtest.js

test9469.kmp is another engineering keyboard to show non-printing characters on the OSK.

Compiling From Command Line

  1. Launch a command prompt to the android/ folder
  2. Compile KMEA. This will build and copy keyman-engine.aar to the Samples and Test projects
    cd KMEA
    ./build.sh
    
  3. Compile KeyboardHarness
    cd ../Tests/KeyboardHarness
    ./build.sh
    

Version History

2017-09-26 1.0

  • Initial creation