• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "description": "Configuration for hjunit demo Tests",
3    "driver": {
4        "type": "OHJSUnitTest",
5        "test-timeout": "180000",
6        "shell-timeout": "600000",
7        "bundle-name": "com.example.myapplication",
8        "module-name": "entry_test",
9        "testcase-timeout": "30000"
10    },
11    "kits": [
12        {
13            "type": "ShellKit",
14            "run-command": [
15                "remount",
16                "mkdir -p /data/app/el2/100/base/com.example.myapplication/haps/entry",
17                "mkdir -p /data/app/el2/100/base/com.example.myapplication/haps/entry/testinstall",
18                "param set const.product.developmentmode 1",
19                "param set const.bms.allowenterprisebundle true"
20            ]
21        },
22        {
23            "type": "PushKit",
24            "push":[
25                "ExtensionZeroTest.hap->/data/app/el2/100/base/com.example.myapplication/haps/entry/testinstall/ExtensionZeroTest.hap"
26            ]
27        },
28        {
29            "test-file-name": [
30                "ActsEdmNoPermissionTest.hap",
31                "ExtensionZeroTest.hap"
32            ],
33            "type": "AppInstallKit",
34            "cleanup-apps": true
35        },{
36            "type": "ShellKit",
37            "run-command": [
38                "power-shell wakeup",
39                "power-shell setmode 602"
40            ]
41        }
42    ]
43}