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 "param set persist.usb.setting.gadget_conn_prompt false", 24 "reboot", 25 "power-shell wakeup", 26 "power-shell timeout -o 2147483647", 27 "uinput -T -m 300 720 300 360 200", 28 "uinput -T -m 650 2500 650 1380 200", 29 "uinput -T -m 650 2760 650 1380 200", 30 "power-shell setmode 602", 31 "power-shell wakeup", 32 "power-shell timeout -o 2147483647", 33 "uinput -T -d 1070 1070 -u 1070 1070", 34 "power-shell setmode 602" 35 ] 36 }, 37 { 38 "test-file-name": [ 39 "ActsInputMethodDrawnControlTest.hap" 40 ], 41 "type": "AppInstallKit", 42 "cleanup-apps": true 43 } 44 ] 45} 46