• 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.example.staticinformationmultihap",
7        "module-name": "phone",
8        "shell-timeout": "600000",
9        "testcase-timeout": 70000
10    },
11    "kits": [
12        {
13            "test-file-name": [
14                "ActsAmsStaticInformationMultiTest.hap",
15                "ActsAmsStaticARelyHap.hap",
16                "ActsAmsStaticBRelyHap.hap"
17            ],
18            "type": "AppInstallKit",
19            "cleanup-apps": true
20        },
21        {
22            "type": "ShellKit",
23            "run-command": [
24                "remount",
25                "mkdir /data/test"
26            ]
27        },
28        {
29            "type": "PushKit",
30            "push": [
31                "ActsAmsStaticInformationMultiTest.hap->/data/ActsAmsStaticInformationMultiTest.hap",
32                "ActsAmsStaticARelyHap.hap->/data/ActsAmsStaticARelyHap.hap",
33                "ActsAmsStaticBRelyHap.hap->/data/ActsAmsStaticBRelyHap.hap"
34            ]
35        },
36        {
37            "type": "ShellKit",
38            "run-command": [
39                "chmod 644 /data/test/*.hap",
40                "power-shell wakeup",
41                "power-shell setmode 602",
42                "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
43            ]
44        }
45    ]
46}