• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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": "entry_test",
8        "shell-timeout": "600000",
9        "testcase-timeout": "60000"
10    },
11    "kits": [
12        {
13            "type": "PushKit",
14            "pre-push": [
15                "mount -o rw,remount /"
16            ],
17            "push": [
18                "./resource/inputMethod/input_method_choose_dialog.hap ->/data/local/tmp"
19            ]
20        },
21        {
22            "test-file-name": [
23                "ActsInputMethodWindManageTest.hap"
24            ],
25            "type": "AppInstallKit",
26            "cleanup-apps": true
27        },
28        {
29            "type": "ShellKit",
30            "run-command": [
31                "mount -o rw,remount /",
32                "target mount",
33                "sed -i 's/enableInputMethodFeature\": true/enableInputMethodFeature\": false/' /system/variant/phone/base/etc/inputmethod/inputmethod_framework_config.json",
34                "sed -i 's/enableFullExperienceFeature\": true/enableFullExperienceFeature\": false/' /system/variant/phone/base/etc/inputmethod/inputmethod_framework_config.json",
35                "sed -i 's/enableInputMethodFeature\": true/enableInputMethodFeature\": false/' /system/variant/tablet/base/etc/inputmethod/inputmethod_framework_config.json",
36                "sed -i 's/enableFullExperienceFeature\": true/enableFullExperienceFeature\": false/' /system/variant/tablet/base/etc/inputmethod/inputmethod_framework_config.json",
37                "sed -i 's/enableInputMethodFeature\": true/enableInputMethodFeature\": false/' /system/variant/pc/base/etc/inputmethod/inputmethod_framework_config.json",
38                "sed -i 's/enableFullExperienceFeature\": true/enableFullExperienceFeature\": false/' /system/variant/pc/base/etc/inputmethod/inputmethod_framework_config.json",
39                "sed -i 's/enableInputMethodFeature\": true/enableInputMethodFeature\": false/' /system/variant/car/base/etc/inputmethod/inputmethod_framework_config.json",
40                "sed -i 's/enableFullExperienceFeature\": true/enableFullExperienceFeature\": false/' /system/variant/car/base/etc/inputmethod/inputmethod_framework_config.json",
41                "param set persist.usb.setting.gadget_conn_prompt false",
42                "param set persist.skip_scb_charging 1",
43                "bm install -p /data/local/tmp/input_method_choose_dialog.hap",
44                "reboot",
45                "power-shell wakeup",
46                "param set persist.sys.abilityms.support.ecologicalrulemgrservice false",
47                "param set skip_scb_charging 1",
48                "power-shell timeout -o 2147483647",
49                "uinput -T -m 300 720 300 360 200",
50                "uinput -T -m 650 2500 650 1380 200",
51                "uinput -T -m 650 2760 650 1380 200",
52                "power-shell setmode 602",
53                "power-shell wakeup",
54                "power-shell timeout -o 2147483647",
55                "uinput -T -d 1070 1070 -u 1070 1070",
56                "power-shell setmode 602"
57            ]
58        }
59    ]
60
61}
62