spiegel-keyman/common/test/keyboards/baseline/k_0001___nul.js
Eberhard Beilharz 6de40e903b
test(common): better group baseline tests
This change groups similar tests together. Also update `build.sh` to
compile .js files.

Follow-up-of: #15341
Test-bot: skip
2025-12-15 18:12:01 +01:00

42 lines
873 B
JavaScript

KeymanWeb.KR(new Keyboard_k_0001___nul());
function Keyboard_k_0001___nul()
{
this._v=(typeof keyman!="undefined"&&typeof keyman.version=="string")?parseInt(keyman.version,10):9;
this.KI="Keyboard_k_0001___nul";
this.KN="0001 - nul";
this.KMINVER="6.0";
this.KV=null;
this.KDU=0;
this.KH='';
this.KM=0;
this.KBVER="1.0";
this.KMBM=0x0000;
this.KVS=[];
this.gs=function(t,e) {
return this.g_Main_0(t,e);
};
this.gs=function(t,e) {
return this.g_Main_0(t,e);
};
this.g_Main_0=function(t,e) {
var k=KeymanWeb,r=0,m=0;
if(k.KKM(e, 0x4000, 0x41)) {
if(k.KN(0,t)){
r=m=1; // Line 13
k.KO(0,t,"b");
}
else if(k.KCM(1,t,"b",1)){
r=m=1; // Line 14
k.KO(1,t,"c");
}
else if(1){
r=m=1; // Line 15
k.KO(0,t,"d");
}
}
return r;
};
}