Test.json 1.6 KB
Newer Older
C
caochuan 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
{
    "description": "Configuration for Image Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "300000",
        "shell-timeout": "120000",
        "bundle-name": "ohos.acts.multimedia.image.GetImageProperty",
        "package-name": "ohos.acts.multimedia.image.GetImageProperty"
    },
    "kits": [
        {
            "test-file-name": [
                "ActsImageGetImagePropertyJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.image.GetImageProperty/haps/entry/files/",
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.GetImageProperty/haps/entry/files/*"
            ],
            "teardown-command":[

            ]
        },
        {
            "type": "PushKit",
            "pre-push": [],
            "push": [
                "./resource/image/test_exif1.jpg ->/data/app/el2/100/base/ohos.acts.multimedia.image.GetImageProperty/haps/entry/files"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "hilog -Q pidoff",
                "hilog -b D",
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.GetImageProperty/haps/entry/files/test_exif.jpg"
            ],
            "teardown-command": [
L
lwx1121892 已提交
43 44
                "rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.GetImageProperty/haps/entry/files/*",
                "hilog -b X"
C
caochuan 已提交
45 46 47 48
            ]
        }
    ]
}