Test.json 1.6 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": "300000",
J
jiyong_sd 已提交
6 7 8
        "shell-timeout": "120000",
        "bundle-name": "ohos.acts.multimedia.image.ModifyProperty",
        "package-name": "ohos.acts.multimedia.image.ModifyProperty"
F
fengzewu 已提交
9 10
    },
    "kits": [
J
jiyong_sd 已提交
11
        {
F
fengzewu 已提交
12 13 14 15 16 17 18 19 20
            "test-file-name": [
                "ActsImageModifyPropertyJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
L
lwx1121892 已提交
21
                "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/",
C
caochuan 已提交
22
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/*"
L
lwx1121892 已提交
23 24 25
            ],
            "teardown-command":[

F
fengzewu 已提交
26 27
            ]
        },
J
jiyong_sd 已提交
28
        {
F
fengzewu 已提交
29
            "type": "PushKit",
J
jiyong_sd 已提交
30
            "pre-push": [],
F
fengzewu 已提交
31
            "push": [
L
lwx1121892 已提交
32
                "./resource/image/test_exif.jpg ->/data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files"
F
fengzewu 已提交
33 34
            ]
        },
J
jiyong_sd 已提交
35
        {
F
fengzewu 已提交
36 37 38 39
            "type": "ShellKit",
            "run-command": [
                "hilog -Q pidoff",
                "hilog -b D",
L
lwx1121892 已提交
40
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/test_exif.jpg"
F
fengzewu 已提交
41
            ],
J
jiyong_sd 已提交
42
            "teardown-command": [
1
modify  
18742514821 已提交
43 44
                "rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/*",
                "hilog -b X"
F
fengzewu 已提交
45 46 47 48
            ]
        }
    ]
}