Test.json 1.3 KB
Newer Older
G
gudehe 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
{
    "description": "Configuration for mediaLibrary Tests",
    "driver": {
        "type": "JSUnitTest",
        "test-timeout": "120000",
        "package": "ohos.acts.multimedia.mediaLibrary",
        "shell-timeout": "120000"
    },
    "kits": [
        {
            "type": "PushKit",
            "pre-push": [
            ],
            "push": [
G
gudehe 已提交
15 16
                "./resource/medialibrary/01.jpg ->/storage/media/100/local/files",
                "./resource/medialibrary/01.mp3 ->/storage/media/100/local/files",
Z
zhang-daiyue 已提交
17 18
                "./resource/medialibrary/01.mp4 ->/storage/media/100/local/files",
                "./resource/medialibrary/copy_files.sh ->/data/local/tmp"
G
gudehe 已提交
19 20 21 22 23
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
Z
zhang-daiyue 已提交
24
                "sh /data/local/tmp/copy_files.sh",
G
gudehe 已提交
25
                "chmod -R 777 /storage/media/100/local/files/*",
Z
zhang-daiyue 已提交
26
                "chmod -R 777 /data/service/el2/100/hmdfs/account/files/*"
G
gudehe 已提交
27 28
            ],
            "teardown-command":[
G
gudehe 已提交
29
                "rm -rf /storage/media/100/local/files/*"
G
gudehe 已提交
30 31 32 33
            ]
        },
        {
            "test-file-name": [
T
tongtongdad 已提交
34
                "ActsMediaLibraryJsTest.hap"
G
gudehe 已提交
35 36 37 38 39
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        }
    ]
G
gudehe 已提交
40
}