Test.json 1.3 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 videoplayer Tests",
    "driver": {
        "type": "OHJSUnitTest",
        "test-timeout": "2000000",
        "shell-timeout": "2000000",
        "testcase-timeout": 60000,
        "bundle-name": "ohos.acts.multimedia.video.videoplayer",
        "package-name": "ohos.acts.multimedia.video.videoplayer"
    },
    "kits": [
        {
            "test-file-name": [
                "ActsVideoPlayerJsTest.hap"
            ],
            "type": "AppInstallKit",
            "cleanup-apps": true
        },
        {
            "type": "ShellKit",
            "run-command": [
22 23
                "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.video.videoplayer/haps/entry/files",
                "power-shell setmode 602"
J
jiyong_sd 已提交
24
            ],
25 26 27
            "teardown-command": [
                "power-shell setmode 600"
            ]
J
jiyong_sd 已提交
28 29 30 31 32 33 34 35 36 37 38
        },
        {
            "type": "PushKit",
            "pre-push": [],
            "push": [
                "./resource/audio/H264_AAC.mp4 ->/data/app/el2/100/base/ohos.acts.multimedia.video.videoplayer/haps/entry/files/",
                "./resource/audio/01.mp3 ->/data/app/el2/100/base/ohos.acts.multimedia.video.videoplayer/haps/entry/files/"
            ]
        }
    ]
}