Test.json 1.5 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 21 22 23 24
            "test-file-name": [
                "ActsImageModifyPropertyJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "mkdir   /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/files",
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/files"
            ]
        },
J
jiyong_sd 已提交
25
        {
F
fengzewu 已提交
26
            "type": "PushKit",
J
jiyong_sd 已提交
27
            "pre-push": [],
F
fengzewu 已提交
28
            "push": [
J
jiyong_sd 已提交
29
                "./resource/image/test_exif.jpg ->/data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/files"
F
fengzewu 已提交
30 31
            ]
        },
J
jiyong_sd 已提交
32
        {
F
fengzewu 已提交
33 34 35 36 37 38
            "type": "ShellKit",
            "run-command": [
                "hilog -Q pidoff",
                "hilog -b D",
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/files/test_exif.jpg"
            ],
J
jiyong_sd 已提交
39
            "teardown-command": [
F
fengzewu 已提交
40 41 42 43 44
                "rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/*"
            ]
        }
    ]
}