1
2
3{
4    "description": "Configuration for camerapicker Tests",
5    "driver": {
6        "type": "OHJSUnitTest",
7        "test-timeout": "3000000",
8        "shell-timeout": "600000",
9        "bundle-name": "com.example.camerapicker",
10        "module-name": "entry_test",
11        "testcase-timeout": 100000
12    },
13    "kits": [
14        {
15            "test-file-name": [
16                "ActsCameraPickerETSTest.hap"
17            ],
18            "run-command": [
19                "hilog -Q pidoff",
20                "rm -rf /storage/media/100/local/files/Videos/*",
21                "power-shell wakeup",
22                "uinput -T -m 300 2700 280 200",
23                "power-shell setmode 602"
24            ],
25            "teardown-command":[
26                "power-shell setmode 600",
27                "rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*",
28                "kill -9 `pidof com.example.camerapicker`",
29                "scanner",
30                "sleep 5"
31            ],
32            "type": "AppInstallKit",
33            "cleanup-apps": true
34        }
35    ]
36}