• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "description": "Configuration for aceceshi Tests",
3    "driver": {
4        "type": "OHJSUnitTest",
5        "test-timeout": "600000",
6        "bundle-name": "com.example.startabilityinnewprocesstest",
7        "module-name": "entry_test",
8        "shell-timeout": "600000",
9        "testcase-timeout": 20000
10    },
11    "kits": [
12		{
13            "test-file-name": [
14                "ActsStartAbilityInNewProcessTest.hap",
15                "ActsStartAbilityInNewProcessRely.hap"
16            ],
17            "type": "AppInstallKit",
18            "cleanup-apps": true
19        },
20        {
21            "type": "ShellKit",
22            "run-command": [
23                "mount -o rw,remount /",
24                "target mount",
25                "sed -i 's/enforcing/permissive/g' /system/etc/selinux/config",
26                "param set persist.sys.abilityms.support.start_other_app true",
27                "reboot",
28                "power-shell wakeup",
29                "uinput -T -m 300 1279 280 200",
30                "uinput -T -d 1070 1070 -u 1070 1070",
31                "power-shell setmode 602",
32                "power-shell timeout -o 2147483647"
33            ],
34            "teardown-command": [
35                "mount -o rw,remount /",
36                "target mount",
37                "sed -i 's/permissive/enforcing/g' /system/etc/selinux/config",
38                "param set persist.sys.abilityms.support.start_other_app true",
39                "reboot",
40                "power-shell wakeup",
41                "uinput -T -m 300 1279 280 200",
42                "uinput -T -d 1070 1070 -u 1070 1070",
43                "power-shell setmode 602",
44                "power-shell timeout -o 2147483647"
45            ]
46        }
47    ]
48}