• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "description": "Configuration for hjunit demo Tests",
3    "driver": {
4        "type": "OHJSUnitTest",
5        "test-timeout": "1200000",
6	    "bundle-name": "com.example.securitycomponent",
7	    "module-name": "entry",
8	    "shell-timeout": "1200000",
9	    "testcase-timeout": "180000"
10    },
11    "kits": [
12        {
13            "test-file-name": [
14                "ActsSecSaveButtonTest.hap"
15            ],
16            "type": "AppInstallKit",
17            "cleanup-apps": true
18        },
19        {
20            "type": "ShellKit",
21            "run-command": [
22                "param set persist.ace.testmode.enabled 1",
23                "param set persist.sys.suspend_manager_enbled 0",
24                "param set persist.usb.setting.gadget_conn_prompt false",
25                "reboot",
26                "wait 5",
27                "power-shell wakeup",
28                "uinput -T -m 540 1752 540 751 100",
29                "uinput -K -d 2054 -u 2054",
30                "wait 5",
31                "uinput -T -m 540 1752 540 751 100",
32                "power-shell setmode 602"
33            ],
34            "teardown-command": [
35                "power-shell setmode 601"
36            ]
37        }
38    ]
39}
40