Test.json 2.2 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 43 44 45 46 47 48
{
    "description": "Configuration for Image Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "300000",
        "shell-timeout": "120000",
        "bundle-name": "ohos.acts.multimedia.image.Raw",
        "package-name": "ohos.acts.multimedia.image.Raw"
    },
    "kits": [
        {
            "test-file-name": [
                "ActsImageRawJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
                "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files/",
                "chmod -R 666 /data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files/*"
            ],
            "teardown-command":[

            ]
        },
        {
            "type": "PushKit",
            "pre-push": [],
            "push": [
               
                "./resource/image/test.nrw ->/data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files",
                "./resource/image/test.cr2 ->/data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files",
                "./resource/image/test_dng.dng ->/data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files",
                "./resource/image/test.cr3 ->/data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files",
                "./resource/image/test.arw ->/data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files",
                "./resource/image/test.pef ->/data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files",
                "./resource/image/test.raf ->/data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files",
                "./resource/image/test.rw2 ->/data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.Raw/haps/entry/files/*"
            ],
            "teardown-command": [
49
                "rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.Raw/*"
C
caochuan 已提交
50 51 52 53
            ]
        }
    ]
}