Test.json 1.9 KB
Newer Older
J
jiyong_sd 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{
    "description": "Configuration for Image Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "1200000",
        "shell-timeout": "1200000",
        "bundle-name": "ohos.acts.multimedia.image.DecodeOptions",
        "package-name": "ohos.acts.multimedia.image.DecodeOptions",
        "testcase-timeout": 60000
    },
    "kits": [
        {
            "test-file-name": [
                "ActsImageDecodeOptionsJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
L
lwx1121892 已提交
22 23 24 25 26
                "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.image.DecodeOptions/haps/entry/files/",
                "chmod -R 666 /data/app/el2/100/base/ohos.acts.multimedia.image.DecodeOptions/haps/entry/files/*"
            ],
            "teardown-command":[

J
jiyong_sd 已提交
27 28 29 30 31 32
            ]
        },
        {
            "type": "PushKit",
            "pre-push": [],
            "push": [
L
lwx1121892 已提交
33 34 35 36 37
                "./resource/image/test.bmp ->/data/app/el2/100/base/ohos.acts.multimedia.image.DecodeOptions/haps/entry/files",
                "./resource/image/test.png ->/data/app/el2/100/base/ohos.acts.multimedia.image.DecodeOptions/haps/entry/files",
                "./resource/image/test.tiff ->/data/app/el2/100/base/ohos.acts.multimedia.image.DecodeOptions/haps/entry/files",
                "./resource/image/test.jpg ->/data/app/el2/100/base/ohos.acts.multimedia.image.DecodeOptions/haps/entry/files",
                "./resource/image/moving_test.gif ->/data/app/el2/100/base/ohos.acts.multimedia.image.DecodeOptions/haps/entry/files"
J
jiyong_sd 已提交
38
            ]
L
lwx1121892 已提交
39 40 41 42 43 44 45
        },
        {
            "type": "ShellKit",
            "run-command": [
                "hilog -Q pidoff",
                "hilog -b D"
            ],
L
lwx1121892 已提交
46 47 48
            "teardown-command":[
                "hilog -b X"
            ]
J
jiyong_sd 已提交
49 50 51
        }
    ]
}