1{ 2 "description": "Configuration for hjunit demo Tests", 3 "driver": { 4 "type": "OHJSUnitTest", 5 "test-timeout": "180000", 6 "bundle-name": "com.acts.inputmethoddrawncontrol.test", 7 "module-name": "phone", 8 "shell-timeout": "600000", 9 "testcase-timeout": "60000" 10 }, 11 "kits": [ 12 { 13 "type": "ShellKit", 14 "run-command": [ 15 "mount -o rw,remount /", 16 "target mount", 17 "sed -i 's/enableInputMethodFeature\": true/enableInputMethodFeature\": false/' /system/variant/phone/base/etc/inputmethod/inputmethod_framework_config.json", 18 "sed -i 's/enableFullExperienceFeature\": true/enableFullExperienceFeature\": false/' /system/variant/phone/base/etc/inputmethod/inputmethod_framework_config.json", 19 "sed -i 's/enableInputMethodFeature\": true/enableInputMethodFeature\": false/' /system/variant/tablet/base/etc/inputmethod/inputmethod_framework_config.json", 20 "sed -i 's/enableFullExperienceFeature\": true/enableFullExperienceFeature\": false/' /system/variant/tablet/base/etc/inputmethod/inputmethod_framework_config.json", 21 "sed -i 's/enableInputMethodFeature\": true/enableInputMethodFeature\": false/' /system/variant/pc/base/etc/inputmethod/inputmethod_framework_config.json", 22 "sed -i 's/enableFullExperienceFeature\": true/enableFullExperienceFeature\": false/' /system/variant/pc/base/etc/inputmethod/inputmethod_framework_config.json", 23 "reboot", 24 "power-shell wakeup", 25 "power-shell timeout -o 2147483647", 26 "uinput -T -m 300 720 300 360 200", 27 "uinput -T -m 650 2500 650 1380 200", 28 "uinput -T -m 650 2760 650 1380 200", 29 "power-shell setmode 602", 30 "power-shell wakeup", 31 "power-shell timeout -o 2147483647", 32 "uinput -T -d 1070 1070 -u 1070 1070", 33 "power-shell setmode 602" 34 ] 35 }, 36 { 37 "test-file-name": [ 38 "ActsInputMethodDrawnControlTest.hap" 39 ], 40 "type": "AppInstallKit", 41 "cleanup-apps": true 42 } 43 ] 44} 45