1{ 2 "description": "Configuration for hjunit demo Tests", 3 "driver": { 4 "type": "OHJSUnitTest", 5 "test-timeout": "300000", 6 "bundle-name": "com.example.actsabilitypermissiontest", 7 "module-name": "com.example.actsabilitypermissiontest", 8 "shell-timeout": "600000", 9 "testcase-timeout": 70000 10 }, 11 "kits": [ 12 { 13 "test-file-name": [ 14 "ActsSystemAppATest.hap" 15 ], 16 "type": "AppInstallKit", 17 "cleanup-apps": true 18 }, 19 { 20 "type": "ShellKit", 21 "run-command": [ 22 "remount" 23 ] 24 }, 25 { 26 "type": "PushKit", 27 "push": [ 28 "ActsSystemAppATest.hap->/system/app/ActsSystemAppATest.hap" 29 ] 30 }, 31 { 32 "type": "ShellKit", 33 "run-command": [ 34 "acm create -n 101 -t normal", 35 "acm switch -i 101" 36 ] 37 }, 38 { 39 "type": "PushKit", 40 "push": [ 41 "ActsSystemAppOneRelyHap.hap->/system/app/ActsSystemAppOneRelyHap.hap" 42 ] 43 }, 44 { 45 "test-file-name": [ 46 "ActsSystemAppOneRelyHap.hap" 47 ], 48 "type": "AppInstallKit", 49 "cleanup-apps": true 50 }, 51 { 52 "type": "ShellKit", 53 "run-command": [ 54 "acm switch -i 100" 55 ] 56 }, 57 { 58 "type": "ShellKit", 59 "run-command": [ 60 "chmod 644 /data/*.hap" 61 ] 62 } 63 ] 64}