Test.json 1.1 KB
Newer Older
F
fengzewu 已提交
1 2 3
{
    "description": "Configuration for Image Tests",
    "driver": {
J
jiyong_sd 已提交
4
        "type": "OHJSUnitTest",
F
fengzewu 已提交
5
        "test-timeout": "1200000",
J
jiyong_sd 已提交
6 7 8 9
        "shell-timeout": "120000",
        "testcase-timeout": 60000,
        "bundle-name": "ohos.acts.multimedia.image.Receiver",
        "package-name": "ohos.acts.multimedia.image.Receiver"
F
fengzewu 已提交
10 11 12 13
    },
    "kits": [
        {
            "type": "ShellKit",
J
jiyong_sd 已提交
14 15
            "run-command": [],
            "teardown-command": []
F
fengzewu 已提交
16
        },
J
jiyong_sd 已提交
17
        {
F
fengzewu 已提交
18
            "type": "PushKit",
J
jiyong_sd 已提交
19 20
            "pre-push": [],
            "push": []
F
fengzewu 已提交
21
        },
J
jiyong_sd 已提交
22
        {
F
fengzewu 已提交
23 24 25 26
            "type": "ShellKit",
            "run-command": [
                "hilog -Q pidoff",
                "hilog -b D",
J
jiyong_sd 已提交
27
                "killall com.ohos.medialibrary.MediaScannerAbilityA",
F
fengzewu 已提交
28 29
                "aa start  -a MediaScannerAbility -b com.ohos.medialibrary.MediaScannerAbilityA"
            ],
J
jiyong_sd 已提交
30
            "teardown-command": []
F
fengzewu 已提交
31 32 33 34 35 36 37 38 39 40
        },
        {
            "test-file-name": [
                "ActsImageReceiverJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        }
    ]
}