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