Test.json 1.3 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": "1500000",
J
jiyong_sd 已提交
6 7 8 9
        "shell-timeout": "1500000",
        "bundle-name": "ohos.acts.multimedia.image.Packing",
        "package-name": "ohos.acts.multimedia.image.Packing",
        "testcase-timeout": 60000
F
fengzewu 已提交
10 11
    },
    "kits": [
J
jiyong_sd 已提交
12
        {
L
lwx1121892 已提交
13 14 15 16 17
            "test-file-name": [
                "ActsImagePackingJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
F
fengzewu 已提交
18
        },
J
jiyong_sd 已提交
19
        {
F
fengzewu 已提交
20 21
            "type": "ShellKit",
            "run-command": [
L
lwx1121892 已提交
22 23
                "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.image.Packing/haps/entry/files/",
                "chmod -R 666 /data/app/el2/100/base/ohos.acts.multimedia.image.Packing/haps/entry/files/*"
F
fengzewu 已提交
24
            ],
J
jiyong_sd 已提交
25
            "teardown-command": []
F
fengzewu 已提交
26 27
        },
        {
L
lwx1121892 已提交
28 29 30 31 32 33 34 35 36
            "type": "PushKit",
            "pre-push": [],
            "push": [
                "./resource/image/test.png ->/data/app/el2/100/base/ohos.acts.multimedia.image.Packing/haps/entry/files"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
37
                "hilog -Q pidoff" 
1
modify  
18742514821 已提交
38
            ]
F
fengzewu 已提交
39 40 41
        }
    ]
}